su: pass all unknown options

This commit is contained in:
vvb2060
2026-10-05 20:03:11 -07:00
committed by John Wu
parent 8f0cc199e7
commit 160fb3e40b
5 changed files with 57 additions and 69 deletions
+1 -3
View File
@@ -134,11 +134,9 @@ pub mod ffi {
struct SuRequest {
target_uid: i32,
target_pid: i32,
login: bool,
keep_env: bool,
drop_cap: bool,
shell: String,
command: String,
command: Vec<String>,
context: String,
gids: Vec<u32>,
}