mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Add assimilate.com command for APE binaries
This commit is contained in:
parent
0cea6c560f
commit
60164a7266
23 changed files with 652 additions and 50 deletions
|
@ -21,6 +21,10 @@
|
|||
|
||||
/**
|
||||
* Sets effective group ID.
|
||||
*
|
||||
* @return 0 on success, or -1 w/ errno
|
||||
* @raise EINVAL if euid not in legal range
|
||||
* @raise EPERM if lack privileges
|
||||
*/
|
||||
int setegid(uint32_t egid) {
|
||||
return setregid(-1, egid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue