Changeset 342 for asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd
- Timestamp:
- Apr 27, 2018, 2:26:14 PM (6 years ago)
- Location:
- asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setegid.c
r337 r342 5 5 int setegid(gid_t egid) 6 6 { 7 return __setxid( SYS_setresgid, -1, egid, -1);7 return __setxid(__NR_setresgid, -1, egid, -1); 8 8 } -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/seteuid.c
r337 r342 5 5 int seteuid(uid_t euid) 6 6 { 7 return __setxid( SYS_setresuid, -1, euid, -1);7 return __setxid(__NR_setresuid, -1, euid, -1); 8 8 } -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setgid.c
r337 r342 5 5 int setgid(gid_t gid) 6 6 { 7 return __setxid( SYS_setgid, gid, 0, 0);7 return __setxid(__NR_setgid, gid, 0, 0); 8 8 } -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setregid.c
r337 r342 5 5 int setregid(gid_t rgid, gid_t egid) 6 6 { 7 return __setxid( SYS_setregid, rgid, egid, 0);7 return __setxid(__NR_setregid, rgid, egid, 0); 8 8 } -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setresgid.c
r337 r342 6 6 int setresgid(gid_t rgid, gid_t egid, gid_t sgid) 7 7 { 8 return __setxid( SYS_setresgid, rgid, egid, sgid);8 return __setxid(__NR_setresgid, rgid, egid, sgid); 9 9 } -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setresuid.c
r337 r342 6 6 int setresuid(uid_t ruid, uid_t euid, uid_t suid) 7 7 { 8 return __setxid( SYS_setresuid, ruid, euid, suid);8 return __setxid(__NR_setresuid, ruid, euid, suid); 9 9 } -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setreuid.c
r337 r342 5 5 int setreuid(uid_t ruid, uid_t euid) 6 6 { 7 return __setxid( SYS_setreuid, ruid, euid, 0);7 return __setxid(__NR_setreuid, ruid, euid, 0); 8 8 } -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setuid.c
r337 r342 5 5 int setuid(uid_t uid) 6 6 { 7 return __setxid( SYS_setuid, uid, 0, 0);7 return __setxid(__NR_setuid, uid, 0, 0); 8 8 } -
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setxid.c
r337 r342 14 14 struct ctx *c = p; 15 15 if (c->err>0) return; 16 int ret = -__syscall (c->nr, c->id, c->eid, c->sid);16 int ret = -__syscall_nr(c->nr, c->id, c->eid, c->sid); 17 17 if (ret && !c->err) { 18 18 /* If one thread fails to set ids after another has already
Note:
See TracChangeset
for help on using the changeset viewer.