diff --git a/apparmor.d/profiles-g-l/iceauth b/apparmor.d/profiles-g-l/iceauth new file mode 100644 index 00000000..bd8df0f2 --- /dev/null +++ b/apparmor.d/profiles-g-l/iceauth @@ -0,0 +1,25 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/iceauth +profile iceauth @{exec_path} { + include + include + + @{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 +} \ No newline at end of file