From 1b859147f5c2777e448c4261dc6639d1cfe8697b Mon Sep 17 00:00:00 2001 From: Akshit Gaur Date: Sun, 22 Mar 2026 16:51:51 +0530 Subject: [PATCH] Add Set and Get Priority --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) 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, }) }