mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-20 08:55:34 +01:00
Adding capability net_admin (#130)
capability net_admin is needed to prevent breaking the boot process on Arch Linux with KDE.
This commit is contained in:
parent
3619065c5a
commit
4bcfcb25c6
1 changed files with 5 additions and 2 deletions
|
@ -52,11 +52,13 @@ profile sddm @{exec_path} {
|
|||
|
||||
# To read the /var/lib/sddm/state.conf file
|
||||
capability dac_read_search,
|
||||
|
||||
# To prevent breaking the boot process
|
||||
capability net_admin,
|
||||
|
||||
# Needed?
|
||||
#capability sys_tty_config,
|
||||
deny capability net_admin,
|
||||
|
||||
|
||||
ptrace (trace) peer=@{profile_name},
|
||||
|
||||
signal (send) set=(kill, term) peer=xorg,
|
||||
|
@ -144,6 +146,7 @@ profile sddm @{exec_path} {
|
|||
owner @{HOME}/.Xauthority rw,
|
||||
|
||||
/etc/default/locale r,
|
||||
/etc/locale.conf
|
||||
@{etc_ro}/environment r,
|
||||
|
||||
owner @{PROC}/@{pid}/loginuid rw,
|
||||
|
|
Loading…
Add table
Reference in a new issue