apparmor.d/apparmor.d/profiles-g-l/groups

28 lines
547 B
Text
Raw Normal View History

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2017-2021 Mikhail Morfikov
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
2020-12-10 22:33:39 +01:00
abi <abi/3.0>,
2020-12-10 22:33:39 +01:00
include <tunables/global>
@{exec_path} = @{bin}/groups
profile groups @{exec_path} {
2020-12-10 22:33:39 +01:00
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} mr,
2023-03-31 16:52:35 +01:00
/etc/group r,
/etc/nsswitch.conf r,
2023-09-12 22:59:07 +01:00
@{run}/systemd/userdb r,
@{PROC}/sys/kernel/random/boot_id r,
/dev/tty@{int} rw,
2023-03-31 16:52:35 +01:00
2020-12-10 22:33:39 +01:00
include if exists <local/groups>
}