2021-04-01 16:17:47 +01:00
|
|
|
# apparmor.d - Full set of apparmor profiles
|
|
|
|
# Copyright (C) 2017-2021 Mikhail Morfikov
|
2024-02-07 00:16:21 +01:00
|
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
2021-04-01 16:17:47 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
abi <abi/3.0>,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
include <tunables/global>
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2023-07-09 14:34:42 +01:00
|
|
|
@{exec_path} = @{bin}/groups
|
2020-09-12 17:19:23 +02:00
|
|
|
profile groups @{exec_path} {
|
2020-12-10 22:33:39 +01:00
|
|
|
include <abstractions/base>
|
2022-06-01 17:50:05 +00:00
|
|
|
include <abstractions/consoles>
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
@{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,
|
|
|
|
|
2023-08-18 17:09:53 +01:00
|
|
|
/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>
|
2020-09-12 17:19:23 +02:00
|
|
|
}
|