Add Set and Get Priority

This commit is contained in:
Akshit Gaur
2026-03-22 16:51:51 +05:30
parent 094dc72d36
commit 1b859147f5
+5
View File
@@ -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,
})
}