mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
293217aee2
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
37 lines
782 B
Text
37 lines
782 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/aa-enforce @{bin}/aa-complain
|
|
profile aa-enforce @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
include <abstractions/python>
|
|
|
|
capability dac_read_search,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/ r,
|
|
@{bin}/apparmor_parser rPx,
|
|
|
|
/usr/share/terminfo/** r,
|
|
|
|
/etc/apparmor/logprof.conf r,
|
|
/etc/apparmor.d/{,**} rw,
|
|
|
|
@{etc_ro}/inputrc r,
|
|
|
|
owner /snap/core@{int}/@{int}/etc/apparmor.d/{,**} rw,
|
|
owner /var/lib/snapd/apparmor/{,**} rw,
|
|
|
|
owner @{PROC}/@{pid}/fd r,
|
|
|
|
include if exists <local/aa-enforce>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|