about summary refs log tree commit diff
path: root/src/misc/setrlimit.c
Commit message (Collapse)AuthorAgeFilesLines
* use prlimit syscall for getrlimit/setrlimitRich Felker2012-01-201-1/+7
| | | | | | this allows the full range of 64-bit limit arguments even on 32-bit systems. fallback to the old syscalls on old kernels that don't support prlimit.
* fix some bugs in setxid and update setrlimit to use __synccallRich Felker2011-07-301-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.
* global cleanup to use the new syscall interfaceRich Felker2011-03-201-1/+1
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+11