mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
add preview tools
This commit is contained in:
parent
327c1dec33
commit
cc9e7fdde1
6 changed files with 110 additions and 0 deletions
21
apparmor.d/profiles-a-f/elinks
Normal file
21
apparmor.d/profiles-a-f/elinks
Normal file
|
@ -0,0 +1,21 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/elinks
|
||||
profile elinks @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/ssl_certs>
|
||||
include <abstractions/user-read>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{user_config_dirs}/elinks/{,**} rw,
|
||||
|
||||
include if exists <local/elinks>
|
||||
}
|
17
apparmor.d/profiles-a-f/ffmpegthumbnailer
Normal file
17
apparmor.d/profiles-a-f/ffmpegthumbnailer
Normal file
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/ffmpegthumbnailer
|
||||
profile ffmpegthumbnailer @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/user-write>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/ffmpegthumbnailer>
|
||||
}
|
17
apparmor.d/profiles-g-l/img2txt
Normal file
17
apparmor.d/profiles-g-l/img2txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/img2txt
|
||||
profile img2txt @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/user-read>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/img2txt>
|
||||
}
|
17
apparmor.d/profiles-m-r/odt2txt
Normal file
17
apparmor.d/profiles-m-r/odt2txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/odt2txt
|
||||
profile odt2txt @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/user-write>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/odt2txt>
|
||||
}
|
19
apparmor.d/profiles-m-r/pdftotext
Normal file
19
apparmor.d/profiles-m-r/pdftotext
Normal file
|
@ -0,0 +1,19 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/pdftotext
|
||||
profile pdftotext @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/user-write>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/poppler/{,**} r,
|
||||
|
||||
include if exists <local/pdftotext>
|
||||
}
|
19
apparmor.d/profiles-s-z/w3m
Normal file
19
apparmor.d/profiles-s-z/w3m
Normal file
|
@ -0,0 +1,19 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/w3m
|
||||
profile w3m @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/user-read>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/terminfo/{,**} r,
|
||||
|
||||
include if exists <local/w3m>
|
||||
}
|
Loading…
Reference in a new issue