mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(systemd): add systemd-sulogin-shell
This commit is contained in:
parent
eca22caf8a
commit
45ca052063
1 changed files with 22 additions and 0 deletions
22
apparmor.d/groups/systemd/systemd-sulogin-shell
Normal file
22
apparmor.d/groups/systemd/systemd-sulogin-shell
Normal file
|
@ -0,0 +1,22 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/systemd/systemd-sulogin-shell
|
||||
profile systemd-sulogin-shell @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/systemd-common>
|
||||
|
||||
capability net_admin,
|
||||
capability sys_resource,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}{s,}bin/sulogin rPx,
|
||||
|
||||
include if exists <local/systemd-sulogin-shell>
|
||||
}
|
Loading…
Reference in a new issue