mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 00:13:48 +01:00
29 lines
629 B
Plaintext
29 lines
629 B
Plaintext
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# Copyright (C) 2022 Jeroen Rijken
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/newgidmap
|
|
profile newgidmap @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
|
|
capability dac_override,
|
|
capability setgid,
|
|
capability sys_admin,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/etc/subgid r,
|
|
|
|
@{PROC}/@{pids}/ r,
|
|
@{PROC}/@{pids}/logingid r,
|
|
@{PROC}/@{pids}/loginuid r,
|
|
@{PROC}/@{pids}/gid_map w,
|
|
|
|
include if exists <local/newgidmap>
|
|
} |