cleanup
This commit is contained in:
parent
492ee703af
commit
67bed8fdd6
7 changed files with 16 additions and 22 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2019-2021 Mikhail Morfikov
|
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||||
# Copyright (C) 2023-2024 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>,
|
||||||
|
|
@ -8,9 +7,10 @@ abi <abi/3.0>,
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/atool
|
@{exec_path} = @{bin}/atool
|
||||||
profile atool /{,usr/}{,s}bin/atool {
|
profile atool @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/user-write>
|
include <abstractions/perl>
|
||||||
|
include <abstractions/user-write-strict>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
|
@ -46,7 +46,5 @@ profile atool /{,usr/}{,s}bin/atool {
|
||||||
@{bin}/xz rix,
|
@{bin}/xz rix,
|
||||||
@{bin}/zip rix,
|
@{bin}/zip rix,
|
||||||
|
|
||||||
/usr/share/perl5/{,**} r,
|
|
||||||
|
|
||||||
include if exists <local/atool>
|
include if exists <local/atool>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2019-2021 Mikhail Morfikov
|
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||||
# Copyright (C) 2023-2024 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>,
|
||||||
|
|
@ -10,11 +9,9 @@ include <tunables/global>
|
||||||
@{exec_path} = @{bin}/vendor_perl/exiftool
|
@{exec_path} = @{bin}/vendor_perl/exiftool
|
||||||
profile exiftool @{exec_path} {
|
profile exiftool @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/user-read>
|
include <abstractions/user-read-strict>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
/usr/share/perl5/{,**} r,
|
|
||||||
|
|
||||||
include if exists <local/exiftool>
|
include if exists <local/exiftool>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,22 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2019-2021 Mikhail Morfikov
|
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||||
# Copyright (C) 2023-2024 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>,
|
||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/
|
@{exec_path} = @{bin}/highlight
|
||||||
profile highlight /{,usr/}{,s}bin/highlight {
|
profile highlight @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/user-read>
|
include <abstractions/user-read-strict>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
/etc/machine-id r,
|
/etc/machine-id r,
|
||||||
/etc/highlight/{,**} r,
|
/etc/highlight/{,**} r,
|
||||||
/usr/share/highlight/{,**} r,
|
/usr/share/highlight/{,**} r,
|
||||||
|
|
||||||
@{exec_path} mr,
|
|
||||||
|
|
||||||
include if exists <local/highlight>
|
include if exists <local/highlight>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
|
@ -10,7 +10,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{bin}/mediainfo
|
@{exec_path} = @{bin}/mediainfo
|
||||||
profile mediainfo @{exec_path} {
|
profile mediainfo @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/user-read>
|
include <abstractions/user-read-strict>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ profile mediainfo-gui @{exec_path} {
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
include <abstractions/gtk>
|
include <abstractions/gtk>
|
||||||
include <abstractions/user-read>
|
include <abstractions/user-read-strict>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
Loading…
Add table
Add a link
Reference in a new issue