mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00

Moving apply_and_clear_deny() before the first minimization pass, which was necessary to propperly support building accept information for older none extended permission dfas, allows us to also get rid of doing a second minimization pass if we want to force clearing explicit deny info from extended permission tables. Signed-off-by: John Johansen <john.johansen@canonical.com>
117 lines
2.4 KiB
Text
117 lines
2.4 KiB
Text
capability {0xffffff
|
|
}
|
|
caps {extended {yes
|
|
}
|
|
mask {chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm block_suspend audit_read perfmon bpf checkpoint_restore
|
|
}
|
|
}
|
|
dbus {mask {acquire send receive
|
|
}
|
|
}
|
|
domain {attach_conditions {xattr {yes
|
|
}
|
|
}
|
|
change_hat {yes
|
|
}
|
|
change_hatv {yes
|
|
}
|
|
change_onexec {yes
|
|
}
|
|
change_profile {yes
|
|
}
|
|
computed_longest_left {yes
|
|
}
|
|
disconnected.path {yes
|
|
}
|
|
fix_binfmt_elf_mmap {yes
|
|
}
|
|
interruptible {yes
|
|
}
|
|
kill.signal {yes
|
|
}
|
|
post_nnp_subset {yes
|
|
}
|
|
stack {yes
|
|
}
|
|
unconfined_allowed_children {yes
|
|
}
|
|
version {1.2
|
|
}
|
|
}
|
|
file {mask {create read write exec append mmap_exec link lock
|
|
}
|
|
}
|
|
io_uring {mask {sqpoll override_creds
|
|
}
|
|
}
|
|
ipc {posix_mqueue {create read write open delete setattr getattr
|
|
}
|
|
}
|
|
mount {mask {mount umount pivot_root
|
|
}
|
|
move_mount {detached
|
|
}
|
|
}
|
|
namespaces {mask {userns_create
|
|
}
|
|
pivot_root {no
|
|
}
|
|
profile {yes
|
|
}
|
|
userns_create {pciu&
|
|
}
|
|
}
|
|
network {af_mask {unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp
|
|
}
|
|
af_unix {yes
|
|
}
|
|
}
|
|
network_v8 {af_inet {yes
|
|
}
|
|
af_mask {unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp
|
|
}
|
|
}
|
|
policy {outofband {0x000001
|
|
}
|
|
permstable32 {allow deny subtree cond kill complain prompt audit quiet hide xindex tag label
|
|
}
|
|
permstable32_version {0x000003
|
|
}
|
|
set_load {yes
|
|
}
|
|
unconfined_restrictions {change_profile {yes
|
|
}
|
|
io_uring {0
|
|
}
|
|
userns {0
|
|
}
|
|
}
|
|
versions {v5 {yes
|
|
}
|
|
v6 {yes
|
|
}
|
|
v7 {yes
|
|
}
|
|
v8 {yes
|
|
}
|
|
v9 {yes
|
|
}
|
|
}
|
|
}
|
|
ptrace {mask {read trace
|
|
}
|
|
}
|
|
query {label {data {yes
|
|
}
|
|
multi_transaction {yes
|
|
}
|
|
perms {allow deny audit quiet
|
|
}
|
|
}
|
|
}
|
|
rlimit {mask {cpu fsize data stack core rss nproc nofile memlock as locks sigpending msgqueue nice rtprio rttime
|
|
}
|
|
}
|
|
signal {mask {hup int quit ill trap abrt bus fpe kill usr1 segv usr2 pipe alrm term stkflt chld cont stop stp ttin ttou urg xcpu xfsz vtalrm prof winch io pwr sys emt lost
|
|
}
|
|
}
|