mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +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
|
@ -22,7 +22,12 @@
|
|||
|
||||
/**
|
||||
* Sets user id of current process.
|
||||
* @return 0 on success or -1 w/ errno
|
||||
*
|
||||
* @return 0 on success, or -1 w/ errno
|
||||
* @raise EINVAL if uid not in legal range
|
||||
* @raise EAGAIN on temporary failure
|
||||
* @raise EAGAIN change would cause `RLIMIT_NPROC` to be exceeded
|
||||
* @raise EPERM if lack privileges
|
||||
*/
|
||||
int setuid(int uid) {
|
||||
int rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue