get/set resource limits NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library ( libc , -lc ) S...get/set resource limits NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library ( libc , -lc ) S...get/set resource limits NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library ( libc , -lc ) S...get/set resource limits NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library ( libc , -lc ) S...get/set resource limits NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library ( libc , -lc ) S......unprivileged process can decrease the nice value of a target process that has a suitable RLIMIT_NICE soft limit; see getrlimit (2) for details. RETURN VALUE On success, the new …...unlocked mapping in the middle.) ENOMEM (Linux 2.6.9 and later) the caller had a nonzero RLIMIT_MEMLOCK soft resource limit, but tried to lock more memory than the limit permitt…...unlocked mapping in the middle.) ENOMEM (Linux 2.6.9 and later) the caller had a nonzero RLIMIT_MEMLOCK soft resource limit, but tried to lock more memory than the limit permitt…...unlocked mapping in the middle.) ENOMEM (Linux 2.6.9 and later) the caller had a nonzero RLIMIT_MEMLOCK soft resource limit, but tried to lock more memory than the limit permitt…...unlocked mapping in the middle.) ENOMEM (Linux 2.6.9 and later) the caller had a nonzero RLIMIT_MEMLOCK soft resource limit, but tried to lock more memory than the limit permitt…...unlocked mapping in the middle.) ENOMEM (Linux 2.6.9 and later) the caller had a nonzero RLIMIT_MEMLOCK soft resource limit, but tried to lock more memory than the limit permitt…...On Linux 2.6.23 and later, most architectures support a size limit derived from the soft RLIMIT_STACK resource limit (see getrlimit (2)) that is in force at the time of the exec…...ptor. EBADF newfd is out of the allowed range for file descriptors (see the discussion of RLIMIT_NOFILE in getrlimit (2)). EBUSY (Linux only) This may be returned by dup2 () or …...ptor. EBADF newfd is out of the allowed range for file descriptors (see the discussion of RLIMIT_NOFILE in getrlimit (2)). EBUSY (Linux only) This may be returned by dup2 () or …...ptor. EBADF newfd is out of the allowed range for file descriptors (see the discussion of RLIMIT_NOFILE in getrlimit (2)). EBUSY (Linux only) This may be returned by dup2 () or …...ID of the segment, and (for SHM_LOCK ) the amount of memory to be locked falls within the RLIMIT_MEMLOCK resource limit (see setrlimit (2)). RETURN VALUE A successful IPC_INFO o…...rned. On error, -1 is returned, and errno is set to indicate the error. ERRORS EAGAIN The RLIMIT_SIGPENDING resource limit was reached and sig is a real-time signal. EAGAIN Insu…...rned. On error, -1 is returned, and errno is set to indicate the error. ERRORS EAGAIN The RLIMIT_SIGPENDING resource limit was reached and sig is a real-time signal. EAGAIN Insu…...ess limit on the number of open file descriptors has been reached (see the description of RLIMIT_NOFILE in getrlimit (2)). ENFILE The system-wide limit on the total number of op…...l would bring the number of processes belonging to the real user ID uid over the caller's RLIMIT_NPROC resource limit. Since Linux 3.1, this error case no longer occurs (but rob…