apparmor.d/apparmor.d/profiles-s-z/sysctl
REmerald 102be49c8a feat(profiles-s-z): vim syntax support
Add vim modeline instructing the editor to use the syntax plugin provided by apparmor.

Continuation of #379, #380, #381, #390 to keep the diff list relatively short.
2024-06-15 17:36:23 +03:00

36 lines
740 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
# TODO: Rethink this profile. Should not be called by another profile.
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/sysctl
profile sysctl @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
capability net_admin,
capability sys_admin,
capability sys_resource,
@{exec_path} mr,
/etc/sysctl.conf r,
/etc/sysctl.d/{,**} r,
/usr/lib/sysctl.d/{,**} r,
@{PROC}/sys/ r,
@{PROC}/sys/** rw,
# Inherit Silencer
deny network inet6 stream,
deny network inet stream,
include if exists <local/sysctl>
}
# vim:syntax=apparmor