aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/setxid.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fix some bugs in setxid and update setrlimit to use __synccall•••setrlimit is supposed to be per-process, not per-thread, but again linux gets it wrong. work around this in userspace. not only is it needed for correctness; setxid also depends on the resource limits for all threads being the same to avoid situations where temporarily unlimiting the limit succeeds in some threads but fails in others. Rich Felker2011-07-301-8/+6
* add setxid.c for new set*id() framework. missed in last commit.Rich Felker2011-07-291-0/+49