mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 00:13:48 +01:00
f94faf697e
* Read-only root compatibility * remove complain Co-authored-by: nobodysu <nobodysu@users.noreply.github.com>
40 lines
936 B
Plaintext
40 lines
936 B
Plaintext
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}sbin/resolvconf
|
|
profile resolvconf @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
|
|
@{exec_path} mr,
|
|
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
/{usr/,}bin/cat rix,
|
|
/{usr/,}bin/flock rix,
|
|
/{usr/,}bin/mkdir rix,
|
|
/{usr/,}bin/mv rix,
|
|
/{usr/,}bin/readlink rix,
|
|
/{usr/,}bin/rm rix,
|
|
/{usr/,}bin/run-parts rix,
|
|
/{usr/,}bin/sed rix,
|
|
/{usr/,}lib/resolvconf/list-records rix,
|
|
|
|
/usr/lib/resolvconf/{,**} r,
|
|
|
|
@{etc_rw}/resolv.conf rw,
|
|
/etc/resolvconf/{,**} r,
|
|
/etc/resolvconf/update.d/libc rix,
|
|
|
|
owner @{run}/resolvconf/{,**} rw,
|
|
owner @{run}/resolvconf/run-lock wk,
|
|
|
|
/dev/tty rw,
|
|
|
|
include if exists <local/resolvconf>
|
|
}
|