add search tools

This commit is contained in:
valoq 2025-09-10 12:23:41 +02:00
parent d9ecbdbe4b
commit 13b8c8d232
No known key found for this signature in database
GPG key ID: 19F09A0FB865CBD8
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>
## Allow reading the entire filesystem to search for filenames
/{,**} r,
@{exec_path} mr,
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>
## Allow reading the entire filesystem to search for strings
/{,**} r,
@{exec_path} mr,
include if exists <local/rg>
}
# vim:syntax=apparmor