{Get/Set}ProcPriority

This commit is contained in:
Akshit Gaur
2026-03-23 21:18:13 +05:30
parent 0076e6e034
commit 33192ebab7
+4 -4
View File
@@ -829,8 +829,8 @@ pub mod protocol {
// Temporary calls for getting process credentials
GetProcCredentials = 15,
SetPriority = 16,
GetPriority = 17,
SetProcPriority = 16,
GetProcPriority = 17,
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(usize)]
@@ -883,8 +883,8 @@ pub mod protocol {
13 => Self::Rename,
14 => Self::DisableSetpgid,
15 => Self::GetProcCredentials,
16 => Self::SetPriority,
17 => Self::GetPriority,
16 => Self::SetProcPriority,
17 => Self::GetProcPriority,
_ => return None,
})
}