2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00
Files

45 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

# vim:ft=apparmor
2024-10-16 17:36:24 +02:00
# ------------------------------------------------------------------
#
# Copyright (C) 2024 Canonical Ltd.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
abi <abi/4.0>,
include <tunables/global>
profile ospfd /usr/lib/frr/ospfd flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/frr>
include <abstractions/frr-snmp>
capability net_raw,
capability sys_admin,
@{exec_path} mr,
2024-10-16 17:36:24 +02:00
@{run}/netns/* r,
@{run}/frr/ospfd-gr.json w,
/var/lib/frr/ r,
/var/lib/frr/ospfd.json{,.sav} rw,
# For OSPFv3
owner /var/tmp/frr/ospfd-3.@{pid}/ w,
owner /var/tmp/frr/ospfd-3.@{pid}/crashlog w,
owner /var/tmp/frr/ospfd-3.@{pid}/logbuf.@{tid} rw,
2024-10-16 17:36:24 +02:00
@{run}/frr/ospfd-3.pid rwk,
@{run}/frr/ospfd-3.vty rw,
@{run}/frr/ospfd-3.json{,.sav} rw,
2024-10-16 17:36:24 +02:00
# Site-specific additions and overrides. See local/README for details.
2024-11-07 11:47:42 +01:00
include if exists <local/ospfd>
2024-10-16 17:36:24 +02:00
}