diff --git a/apparmor.d/profiles-g-l/gping b/apparmor.d/profiles-g-l/gping new file mode 100644 index 00000000..2d7acc2a --- /dev/null +++ b/apparmor.d/profiles-g-l/gping @@ -0,0 +1,19 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/gping +profile gping @{exec_path} { + include + include + + @{exec_path} mr, + + /{usr/,}bin/ping rPx, + + include if exists +} \ No newline at end of file diff --git a/apparmor.d/profiles-m-r/onefetch b/apparmor.d/profiles-m-r/onefetch new file mode 100644 index 00000000..5629b090 --- /dev/null +++ b/apparmor.d/profiles-m-r/onefetch @@ -0,0 +1,26 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/onefetch +profile onefetch @{exec_path} { + include + include + include + + @{exec_path} mr, + + /{usr/,}bin/git rPx, + + owner @{user_config_dirs}/git/{,**} r, + owner @{user_projects_dirs}/{,**} r, + + owner @{PROC}/@{pid}/cgroup r, + owner @{PROC}/@{pid}/stat r, + + include if exists +} \ No newline at end of file