mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
profiles/a/frr: clean up rules only needed by topotests
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
capability dac_override,
|
||||
capability dac_read_search,
|
||||
|
||||
/ r,
|
||||
@{run}/frr/ r,
|
||||
@{run}/frr/zserv.api rw,
|
||||
@{run}/frr/@{profile_name}.pid rwk,
|
||||
@@ -39,7 +40,7 @@
|
||||
|
||||
# Daemon config
|
||||
/etc/frr/ r,
|
||||
/etc/frr/@{profile_name}.conf{,.*} rwl,
|
||||
/etc/frr/@{profile_name}.conf rw,
|
||||
|
||||
# Log file
|
||||
/var/log/frr/ w,
|
||||
@@ -51,13 +52,4 @@
|
||||
owner /var/tmp/frr/@{profile_name}.@{pid}/crashlog w,
|
||||
owner /var/tmp/frr/@{profile_name}.@{pid}/logbuf.@{tid} rw,
|
||||
|
||||
# Program output (working directory)
|
||||
owner / r,
|
||||
owner /tmp/ r,
|
||||
owner /tmp/topotests/ r,
|
||||
owner /tmp/topotests/** rw,
|
||||
|
||||
# Tests for staticd, bgpd, ospfd
|
||||
owner /tmp/*.log w,
|
||||
|
||||
include if exists <abstractions/frr.d>
|
||||
|
Reference in New Issue
Block a user