ulimit: add back RLIMIT_NICE on linux

This commit is contained in:
Johannes Altmanninger
2025-10-07 14:04:04 +02:00
parent 3fec9c8145
commit 5f18b173dd

View File

@@ -37,7 +37,7 @@ pub mod linux {
pub const RSS: libc::c_int = libc::RLIMIT_RSS as _;
pub const SBSIZE: libc::c_int = -1;
pub const NICE: libc::c_int = -1;
pub const NICE: libc::c_int = libc::RLIMIT_NICE as _;
pub const SWAP: libc::c_int = -1;
pub const KQUEUES: libc::c_int = -1;
pub const NPTS: libc::c_int = -1;