Skip to content

Fix GetProgramExecutableName() on NetBSD - #1529

Merged
G4Vi merged 1 commit into
jart:masterfrom
G4Vi:netbsd-getprogramexecutablename
Oct 20, 2026
Merged

G4Vi merged 1 commit into
jart:masterfrom
G4Vi:netbsd-getprogramexecutablename

Conversation

@G4Vi

@G4Vi G4Vi commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

The sysctl parameters for querying KERN_PROC_PATHNAME are different from FreeBSD.

@G4Vi
G4Vi requested a review from jart October 18, 2026 05:22
@github-actions github-actions Bot added the libc label Oct 18, 2026
@G4Vi
G4Vi marked this pull request as draft October 18, 2026 07:34
The sysctl parameters for querying KERN_PROC_PATHNAME are different from
FreeBSD. The tests now check the GPEN path using stat instead of strcmp.
@G4Vi
G4Vi force-pushed the netbsd-getprogramexecutablename branch from 33ca626 to 731e328 Compare October 20, 2026 03:41
@G4Vi
G4Vi marked this pull request as ready for review October 20, 2026 03:51

@jart jart left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@G4Vi
G4Vi merged commit b0cebef into jart:master Oct 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants