apparmor.d/apparmor.d/groups/children/user_confined
REmerald 4d707633a1 feat(groups/{c,d,f,s}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #392 to keep the diff list relatively short.
2024-06-16 17:30:44 +01:00

31 lines
711 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# Allow confined users to read, write, lock and link to their own files
# anywhere, and execute from some places.
abi <abi/3.0>,
include <tunables/global>
profile user_confined flags=(complain) {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
include <abstractions/shells>
deny capability sys_ptrace,
@{bin}/** Pixmr,
owner /** rwkl,
owner @{HOMEDIRS}/bin/** ixmr,
owner @{user_bin_dirs}/** ixmr,
@{PROC}/** r,
include if exists <local/user_confined>
}
# vim:syntax=apparmor