wireshark: specify capabilities via sandbox.capabilities config
This commit is contained in:
@@ -9,10 +9,7 @@ in
|
|||||||
"/proc/net" #< only needed if using landlock
|
"/proc/net" #< only needed if using landlock
|
||||||
];
|
];
|
||||||
fs.".config/wireshark".dir = {};
|
fs.".config/wireshark".dir = {};
|
||||||
sandbox.extraConfig = [
|
sandbox.capabilities = [ "net_admin" "net_raw" ];
|
||||||
"--sane-sandbox-cap" "net_admin"
|
|
||||||
"--sane-sandbox-cap" "net_raw"
|
|
||||||
];
|
|
||||||
slowToBuild = true;
|
slowToBuild = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user