Skip to content

Implement part of FreeBSD sysctl sycall to support std::env::current_exe - #5518

Open
LorrensP-2158466 wants to merge 1 commit into
rust-lang:masterfrom
LorrensP-2158466:freebsd-current_exe
Open

LorrensP-2158466 wants to merge 1 commit into
rust-lang:masterfrom
LorrensP-2158466:freebsd-current_exe

Conversation

@LorrensP-2158466

@LorrensP-2158466 LorrensP-2158466 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #5375

Implements the shim for the FreeBSD sysctl syscall, but only the codepaths to support std::env::curent_exe. This means that it only allows getting (setting is possible) the path of the process calling the syscall.

@rustbot rustbot added the S-waiting-on-review Status: Waiting for a review to complete label Oct 29, 2026
@LorrensP-2158466

LorrensP-2158466 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor Author

I am very sorry for being so late, i started working on this right before i went on a holiday, then I was swamped with obtaining my first job then i got my first job and I completely forgot about this...

(I am letting CI take a stab at it before installing a VM with freebsd and miri to test locally.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Waiting for a review to complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing FreeBSD shim for current_exe

2 participants