mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
29 lines
No EOL
644 B
Text
29 lines
No EOL
644 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/install-catalog
|
|
profile install-catalog @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
capability dac_read_search,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/{,ba}sh rix,
|
|
@{bin}/basename rix,
|
|
@{bin}/grep rix,
|
|
@{bin}/mv rix,
|
|
@{bin}/rm rix,
|
|
@{bin}/sed rix,
|
|
|
|
/etc/sgml/catalog{,.new} rw,
|
|
/etc/sgml/sgml-docbook.cat{,.new} rw,
|
|
/etc/sgml/sgml-ent.cat{,.new} rw,
|
|
|
|
include if exists <local/install-catalog>
|
|
} |