mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
feat(profile): add iceauth
This commit is contained in:
parent
8f102dea0a
commit
00fd9ddec1
25
apparmor.d/profiles-g-l/iceauth
Normal file
25
apparmor.d/profiles-g-l/iceauth
Normal file
@ -0,0 +1,25 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/iceauth
|
||||
profile iceauth @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/X-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{tmp}/.xfsm-ICE-@{rand6} r,
|
||||
owner @{tmp}/user/@{uid}/.xfsm-ICE-@{rand6} r,
|
||||
|
||||
owner @{run}/user/@{uid}/ICEauthority rl -> @{run}/user/@{uid}/ICEauthority-n,
|
||||
owner @{run}/user/@{uid}/ICEauthority-c w,
|
||||
owner @{run}/user/@{uid}/ICEauthority-l wl -> @{run}/user/@{uid}/ICEauthority-c,
|
||||
owner @{run}/user/@{uid}/ICEauthority-n rw,
|
||||
|
||||
include if exists <local/iceauth>
|
||||
}
|
Loading…
Reference in New Issue
Block a user