mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
![REmerald](/assets/img/avatar_default.png)
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
41 lines
841 B
Text
41 lines
841 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2019-2021 Mikhail Morfikov
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/fatresize
|
|
profile fatresize @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/disks-write>
|
|
|
|
capability sys_admin,
|
|
capability sys_rawio,
|
|
|
|
ptrace read,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sh_path} rix,
|
|
|
|
@{bin}/dmidecode rPx,
|
|
@{bin}/udevadm rCx -> udevadm,
|
|
|
|
@{PROC}/swaps r,
|
|
owner @{PROC}/@{pid}/mounts r,
|
|
|
|
profile udevadm {
|
|
include <abstractions/base>
|
|
include <abstractions/app/udevadm>
|
|
include <abstractions/disks-write>
|
|
|
|
include if exists <local/fatresize_udevadm>
|
|
}
|
|
|
|
include if exists <local/fatresize>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|