summaryrefslogtreecommitdiff
path: root/src/misc/setrlimit.c
AgeCommit message (Collapse)AuthorLines
2011-07-30fix some bugs in setxid and update setrlimit to use __synccallRich Felker-2/+27
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.
2011-03-20global cleanup to use the new syscall interfaceRich Felker-1/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+11