feat(profiles): initial version of some ubuntu related profiles.

This commit is contained in:
Alexandre Pujol 2022-06-03 20:20:32 +01:00
parent b9552c3f66
commit 24cf14ff3a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 224 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# 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/hwe-support-status
profile hwe-support-status @{exec_path} {
include <abstractions/base>
include <abstractions/apt-common>
include <abstractions/python>
include <abstractions/openssl>
@{exec_path} mr,
/{usr/,}bin/dpkg rPx,
/{usr/,}bin/lsb_release rPx -> lsb_release,
/usr/share/distro-info/{,**} r,
owner @{PROC}/@{pid}/fd/ r,
include if exists <local/hwe-support-status>
}