mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 14:55:15 +01:00
feat(profiles): rethink the app launchers.
This commit is contained in:
parent
a5c9a58c3c
commit
0896343bbc
2 changed files with 16 additions and 10 deletions
|
@ -1,13 +1,16 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2020-2021 Mikhail Morfikov
|
# Copyright (C) 2020-2022 Mikhail Morfikov
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
|
||||||
# Root app location
|
# Root app location
|
||||||
/ r,
|
/ r,
|
||||||
/usr/ r,
|
/usr/ r,
|
||||||
/{usr/,}{s,}bin/ r,
|
/{usr/,}{s,}bin/ r,
|
||||||
/{usr/,}{s,}bin/[a-z0-9]* rPUx,
|
/{usr/,}{s,}bin/[a-z0-9]* rPUx,
|
||||||
|
/usr/local/{s,}bin/ r,
|
||||||
|
/usr/local/{s,}bin/[a-zA-Z0-9]* rPUx,
|
||||||
|
|
||||||
include if exists <abstractions/app-launcher-root.d>
|
include if exists <abstractions/app-launcher-root.d>
|
|
@ -1,14 +1,17 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2020-2021 Mikhail Morfikov
|
# Copyright (C) 2020-2022 Mikhail Morfikov
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
|
||||||
# User app location
|
# User app location
|
||||||
/ r,
|
/ r,
|
||||||
/usr/ r,
|
/usr/ r,
|
||||||
/{usr/,}bin/ r,
|
/{usr/,}bin/ r,
|
||||||
/{usr/,}bin/[a-zA-Z0-9]* rPUx,
|
/{usr/,}bin/[a-zA-Z0-9]* rPUx,
|
||||||
|
/usr/local/bin/ r,
|
||||||
|
/usr/local/bin/[a-zA-Z0-9]* rPUx,
|
||||||
|
|
||||||
# Firefox
|
# Firefox
|
||||||
/{usr/,}lib/ r,
|
/{usr/,}lib/ r,
|
||||||
|
|
Loading…
Reference in a new issue