feat(profile): general update.
This commit is contained in:
parent
5b15521255
commit
2f563fa818
10 changed files with 36 additions and 17 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2019-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
|
@ -11,20 +12,23 @@ profile gparted @{exec_path} {
|
|||
include <abstractions/base>
|
||||
|
||||
@{exec_path} r,
|
||||
|
||||
/{usr/,}{s,}bin/ r,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
|
||||
/{usr/,}{s,}bin/ r,
|
||||
/{usr/,}{s,}bin/gpartedbin rPx,
|
||||
@{libexec}/gpartedbin rPx,
|
||||
|
||||
/{usr/,}bin/ r,
|
||||
/{usr/,}bin/{,e}grep rix,
|
||||
/{usr/,}bin/{m,g,}awk rix,
|
||||
/{usr/,}bin/cut rix,
|
||||
/{usr/,}bin/id rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
/{usr/,}bin/ls rix,
|
||||
/{usr/,}bin/mkdir rix,
|
||||
/{usr/,}bin/pidof rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
/{usr/,}bin/{m,g,}awk rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
/{usr/,}bin/touch rix,
|
||||
|
||||
/{usr/,}{s,}bin/gpartedbin rPx,
|
||||
@{libexec}/gparted/gpartedbin rPx,
|
||||
@{libexec}/gpartedbin rPx,
|
||||
|
||||
/{usr/,}lib/udisks2/udisks2-inhibit rix,
|
||||
@{libexec}/udisks2/udisks2-inhibit rix,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2019-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
|
@ -8,6 +9,7 @@ include <tunables/global>
|
|||
|
||||
@{exec_path} = /{usr/,}{s,}bin/gpartedbin
|
||||
@{exec_path} += @{libexec}/gpartedbin
|
||||
@{exec_path} += @{libexec}/gparted/gpartedbin
|
||||
profile gpartedbin @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dconf-write>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue