2022-06-03 21:22:07 +02:00
|
|
|
# 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>
|
|
|
|
|
2023-07-09 15:34:42 +02:00
|
|
|
@{exec_path} = @{bin}/install-catalog
|
2022-06-03 21:22:07 +02:00
|
|
|
profile install-catalog @{exec_path} {
|
|
|
|
include <abstractions/base>
|
|
|
|
|
|
|
|
capability dac_read_search,
|
|
|
|
|
|
|
|
@{exec_path} mr,
|
|
|
|
|
2023-07-09 15:34:42 +02:00
|
|
|
@{bin}/{,ba}sh rix,
|
|
|
|
@{bin}/basename rix,
|
|
|
|
@{bin}/grep rix,
|
|
|
|
@{bin}/mv rix,
|
|
|
|
@{bin}/rm rix,
|
|
|
|
@{bin}/sed rix,
|
2022-06-03 21:22:07 +02:00
|
|
|
|
|
|
|
/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>
|
|
|
|
}
|