feat(profiles): add ubuntu specific profiles.
This commit is contained in:
parent
4c7ebb3a39
commit
59ba69a167
9 changed files with 287 additions and 0 deletions
25
apparmor.d/groups/ubuntu/ubuntu-report
Normal file
25
apparmor.d/groups/ubuntu/ubuntu-report
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# 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/ubuntu-report
|
||||
profile ubuntu-report @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/dpkg rPx,
|
||||
|
||||
owner @{user_cache_dirs}/ubuntu-report/{,*} r,
|
||||
|
||||
@{run}/systemd/resolve/stub-resolv.conf r,
|
||||
|
||||
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
|
||||
|
||||
include if exists <local/ubuntu-report>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue