mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(profiles): add os-prober.
This commit is contained in:
parent
d6cd1af9c8
commit
fabddee9d6
34
apparmor.d/profiles-m-r/os-prober
Normal file
34
apparmor.d/profiles-m-r/os-prober
Normal file
@ -0,0 +1,34 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/os-prober
|
||||
profile os-prober @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/{e,f,}grep rix,
|
||||
/{usr/,}bin/cut rix,
|
||||
/{usr/,}bin/head rix,
|
||||
/{usr/,}bin/logger rix,
|
||||
/{usr/,}bin/lsblk rPx,
|
||||
/{usr/,}bin/mktemp rix,
|
||||
/{usr/,}bin/readlink rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
/{usr/,}bin/uname rix,
|
||||
/{usr/,}lib/os-prober/* rix,
|
||||
/{usr/,}lib/os-probes/{,**} rix,
|
||||
|
||||
/usr/share/os-prober/common.sh r,
|
||||
|
||||
owner /tmp/os-prober.*/{,**} rw,
|
||||
|
||||
include if exists <local/os-prober>
|
||||
}
|
@ -122,6 +122,7 @@ nft complain
|
||||
nmap complain
|
||||
nmcli complain
|
||||
nullmailer-send complain
|
||||
os-prober complain
|
||||
packagekitd attach_disconnected,complain
|
||||
pass complain
|
||||
pass-import complain
|
||||
@ -139,10 +140,10 @@ repo complain
|
||||
resolvconf complain
|
||||
run-parts complain
|
||||
runuser complain
|
||||
setpriv complain
|
||||
s3fs complain
|
||||
sbctl complain
|
||||
scrcpy complain
|
||||
setpriv complain
|
||||
sftp-server complain
|
||||
slirp4netns attach_disconnected,complain
|
||||
snap complain
|
||||
|
Loading…
Reference in New Issue
Block a user