aboutsummaryrefslogtreecommitdiff
path: root/src/misc/setrlimit.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* use prlimit syscall for getrlimit/setrlimit•••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. Rich Felker2012-01-201-1/+7
* 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-2/+27
* global cleanup to use the new syscall interfaceRich Felker2011-03-201-1/+1
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+11