mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
293217aee2
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
28 lines
653 B
Text
28 lines
653 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}/badblocks
|
|
profile badblocks @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/disks-write>
|
|
include <abstractions/user-download-strict>
|
|
|
|
@{exec_path} r,
|
|
|
|
owner @{PROC}/@{pid}/mounts r,
|
|
@{PROC}/swaps r,
|
|
|
|
# A place for a list of already existing known bad blocks
|
|
@{HOME}/* rwk,
|
|
@{MOUNTS}/** rwk,
|
|
|
|
include if exists <local/badblocks>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|