-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable setresuid and setresgid for more platforms #717
Comments
Would you be will in to file a PR enabling them on those platforms? You'll need the check that they're all defined in libc beforehand so everything will pass CI. |
Yep definitely. Will aim to do it this week. |
@wezm Excellent, thanks for being willing to contribute! In the future, feel free to just file a PR instead of both an issue and a PR, unless you're uncertain if we'd accept the feature. It generates slightly less noise for us maintainers :-) |
Ok, no problem, will do. Turns out neither of these functions are in the libc crate (for FreeBSD and OpenBSD). So I'll have to do the dance of getting them added there first. |
@wezm Excellent, thanks. If you could add it for all supported platforms also, so we can offer pretty complete support here in |
What about OS X? |
unistd::setresuid
andunistd::setresgid
are currently wrapped in a module that only is only included on Linux and Android. The functions appear to be present on other systems as well:NetBSD and macOS don't appear to have them.
The text was updated successfully, but these errors were encountered: