forked from void-linux/runit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prot.c provides two functions: prot_gid and prot_uid. prot_gid is fully unused, and depends on {chk,try}shsgr, both of which must be run at build-time and require that the user has additional groups. They are not needed by anything else and their removal gets rid of cross-compilation jank. prot_uid is used (once) by chpst, but since it is a no-op wrapper around setuid(), its use can be replaced by a normal call to setuid(). Solves the big questions from void-linux#11
- Loading branch information
Showing
10 changed files
with
4 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.