2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 01:57:43 +00:00
John Johansen 6d0834da8e profiles: update set of profiles updated in MR:1637 to use @{exec_path}
This patch updates the set of profiles updated by MR:1637, this is split
off from the rest of the profile updates because that set is explicity
recently set apart.

Signed-off-by: John Johansen <john.johansen@canonical.com>
2025-05-09 03:53:05 -07:00

45 lines
1.1 KiB
Plaintext

# vim:ft=apparmor
# ------------------------------------------------------------------
#
# 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,
@{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,
@{run}/frr/ospfd-3.pid rwk,
@{run}/frr/ospfd-3.vty rw,
@{run}/frr/ospfd-3.json{,.sav} rw,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/ospfd>
}