update profiles for apparmor3
This commit is contained in:
parent
503cf496bf
commit
7067edcf70
776 changed files with 6867 additions and 5199 deletions
|
|
@ -9,16 +9,16 @@
|
|||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
#abi <abi/3.0>,
|
||||
abi <abi/3.0>,
|
||||
|
||||
#include <tunables/global>
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/udisks2/udisksd
|
||||
@{exec_path} += /usr/libexec/udisks2/udisksd
|
||||
profile udisksd @{exec_path} {
|
||||
#include <abstractions/base>
|
||||
#include <abstractions/nameservice-strict>
|
||||
#include <abstractions/disks-write>
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/disks-write>
|
||||
|
||||
# To remove the following errors:
|
||||
# udisksd[]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sda':
|
||||
|
|
@ -33,6 +33,8 @@ profile udisksd @{exec_path} {
|
|||
# Needed?
|
||||
deny capability sys_nice,
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
|
|
@ -131,7 +133,7 @@ profile udisksd @{exec_path} {
|
|||
|
||||
|
||||
profile systemd-escape {
|
||||
#include <abstractions/base>
|
||||
include <abstractions/base>
|
||||
|
||||
ptrace (read),
|
||||
|
||||
|
|
@ -149,5 +151,5 @@ profile udisksd @{exec_path} {
|
|||
|
||||
}
|
||||
|
||||
#include if exists <local/udisksd>
|
||||
include if exists <local/udisksd>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue