chore(profile): add abi and local include when missing.

This commit is contained in:
Alexandre Pujol 2024-10-06 15:57:47 +01:00
parent 105a9b4def
commit 7ccaab8234
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
61 changed files with 84 additions and 28 deletions

View file

@ -2,6 +2,8 @@
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/murmurd

View file

@ -48,6 +48,7 @@ profile obexfs @{exec_path} {
@{PROC}/@{pid}/mounts r,
include if exists <local/obexfs_fusermount>
}
include if exists <local/obexfs>

View file

@ -60,6 +60,7 @@ profile pam-auth-update @{exec_path} flags=(complain) {
/etc/shadow r,
include if exists <local/pam-auth-update_frontend>
}
include if exists <local/pam-auth-update>

View file

@ -55,7 +55,6 @@ profile reprepro @{exec_path} {
owner @{user_build_dirs}/pbuilder/result/*.deb r,
owner @{user_build_dirs}/pbuilder/result/*.tar.* r,
profile gpg {
include <abstractions/base>
@ -66,6 +65,7 @@ profile reprepro @{exec_path} {
owner @{HOME}/@{XDG_GPG_DIR}/ rw,
owner @{HOME}/@{XDG_GPG_DIR}/** rwkl -> @{HOME}/@{XDG_GPG_DIR}/**,
include if exists <local/reprepro_gpg>
}
include if exists <local/reprepro>

View file

@ -191,6 +191,8 @@ profile run-parts @{exec_path} {
@{PROC}/@{pids}/mounts r,
/dev/tty@{int} rw,
include if exists <local/run-parts_motd>
}
profile kernel {
@ -248,6 +250,7 @@ profile run-parts @{exec_path} {
@{PROC}/devices r,
@{PROC}/cmdline r,
include if exists <local/run-parts_kernel>
}
include if exists <local/run-parts>