mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(profiles): add install-catalog.
This commit is contained in:
parent
aa9a673fb6
commit
9ad819a196
29
apparmor.d/profiles-g-l/install-catalog
Normal file
29
apparmor.d/profiles-g-l/install-catalog
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# 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} = /{usr/,}bin/install-catalog
|
||||||
|
profile install-catalog @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
capability dac_read_search,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}bin/{,ba}sh rix,
|
||||||
|
/{usr/,}bin/basename rix,
|
||||||
|
/{usr/,}bin/grep rix,
|
||||||
|
/{usr/,}bin/mv rix,
|
||||||
|
/{usr/,}bin/rm rix,
|
||||||
|
/{usr/,}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>
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user