This commit is contained in:
valoq 2025-09-16 18:58:00 +00:00 committed by GitHub
commit 942e6fd45a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 valoq <valoq@mailbox.ofd>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/fd
profile fd @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
## Allow reading the entire filesystem to search for filenames
/{,**} r,
include if exists <local/fd>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,21 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 valoq <valoq@mailbox.org>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/rg
profile rg @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
## Allow reading the entire filesystem to search for strings
/{,**} r,
include if exists <local/rg>
}
# vim:syntax=apparmor