userdomain.if: Marked usbguard user modify tunable as optional so usbguard may be excluded.
Thanks to Dominick Grift for helping me pin-point this. Signed-off-by: Jonathan Davies <jpds@protonmail.com>
This commit is contained in:
parent
72e221fd4d
commit
9d3321e4fe
@ -1216,8 +1216,10 @@ template(`userdom_unpriv_user_template', `
|
||||
')
|
||||
|
||||
# Allow controlling usbguard
|
||||
tunable_policy(`usbguard_user_modify_rule_files',`
|
||||
usbguard_stream_connect($1_t)
|
||||
optional_policy(`
|
||||
tunable_policy(`usbguard_user_modify_rule_files',`
|
||||
usbguard_stream_connect($1_t)
|
||||
')
|
||||
')
|
||||
')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user