Add full gnome shell confinement.
This commit is contained in:
parent
6bf2a7e826
commit
33296ae19e
7 changed files with 380 additions and 0 deletions
18
apparmor.d/groups/gnome/gnome-session-ctl
Normal file
18
apparmor.d/groups/gnome/gnome-session-ctl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gnome-session-ctl
|
||||
profile gnome-session-ctl @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{run}/user/[0-9]*/gnome-session-leader-fifo r,
|
||||
|
||||
include if exists <local/gnome-session-ctl>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue