feat: remove some useless or deprecated profiles
This commit is contained in:
parent
6b159fe918
commit
f008e9c6cf
3 changed files with 0 additions and 326 deletions
|
|
@ -1,79 +0,0 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2019-2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/uscan
|
||||
profile uscan @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/perl>
|
||||
include <abstractions/openssl>
|
||||
include <abstractions/ssl_certs>
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/perl r,
|
||||
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/pwd rix,
|
||||
@{bin}/find rix,
|
||||
@{bin}/file rix,
|
||||
@{bin}/getconf rix,
|
||||
|
||||
@{bin}/tar rix,
|
||||
@{bin}/gzip rix,
|
||||
@{bin}/bzip2 rix,
|
||||
@{bin}/gunzip rix,
|
||||
@{bin}/xz rix,
|
||||
|
||||
@{bin}/uupdate rPUx,
|
||||
|
||||
# To run custom maintainer scripts
|
||||
owner @{user_build_dirs}/**/debian/* rPUx,
|
||||
|
||||
/usr/share/*/debian/ r,
|
||||
/usr/share/*/debian/changelog r,
|
||||
|
||||
@{bin}/gpg{,2} rCx -> gpg,
|
||||
@{bin}/gpgv rCx -> gpg,
|
||||
|
||||
/etc/dpkg/origins/debian r,
|
||||
|
||||
/etc/devscripts.conf r,
|
||||
/etc/magic r,
|
||||
|
||||
# For package building
|
||||
owner @{user_build_dirs}/** rwkl -> @{user_build_dirs}/**,
|
||||
|
||||
# For GPG keys
|
||||
owner /tmp/*/ rw,
|
||||
owner /tmp/*/trustedkeys.gpg w,
|
||||
|
||||
profile gpg {
|
||||
include <abstractions/base>
|
||||
|
||||
@{bin}/gpg{,2} mr,
|
||||
@{bin}/gpgv mr,
|
||||
|
||||
owner @{HOME}/@{XDG_GPG_DIR}/gpg.conf r,
|
||||
owner @{HOME}/@{XDG_GPG_DIR}/pubring.{gpg,kbx} r,
|
||||
|
||||
owner /tmp/*/trustedkeys.gpg rw,
|
||||
|
||||
owner @{user_build_dirs}/**/debian/upstream/signing-key.asc r,
|
||||
owner @{user_build_dirs}/**/*.tar.* r,
|
||||
|
||||
}
|
||||
|
||||
include if exists <local/uscan>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue