about summary refs log tree commit diff
path: root/src/unistd/setxid.c
Commit message (Collapse)AuthorAgeFilesLines
* fix some bugs in setxid and update setrlimit to use __synccallRich Felker2011-07-301-8/+6
| | | | | | | | 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.
* add setxid.c for new set*id() framework. missed in last commit.Rich Felker2011-07-291-0/+49