...y any system call or library function. For some system calls and library functions (e.g., getpriority (2)), -1 is a valid return on success. In such cases, a successful return c…...In Linux 2.6.12, there was an off-by-one mismatch between the priority ranges returned by getpriority (2) and RLIMIT_NICE . This had the effect that the actual ceiling for the n…