diff --git a/src/lib.rs b/src/lib.rs index 9738c7ec29..406529af86 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -828,6 +828,9 @@ pub mod protocol { // Temporary calls for getting process credentials GetProcCredentials = 15, + + SetPriority = 16, + GetPriority = 17, } #[derive(Clone, Copy, Debug, Eq, PartialEq)] #[repr(usize)] @@ -880,6 +883,8 @@ pub mod protocol { 13 => Self::Rename, 14 => Self::DisableSetpgid, 15 => Self::GetProcCredentials, + 16 => Self::SetPriority, + 17 => Self::GetPriority, _ => return None, }) }