feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-03-03 12:20:10 +00:00
parent 0b0d58ab03
commit 3ff8e3847d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
37 changed files with 95 additions and 61 deletions

View file

@ -23,13 +23,14 @@ profile netcap @{exec_path} {
@{exec_path} mr,
@{PROC}/ r,
@{PROC}/@{pids}/stat r,
@{PROC}/@{pids}/fd/ r,
@{PROC}/@{pid}/net/dev r,
@{PROC}/@{pid}/net/packet r,
@{PROC}/@{pid}/net/raw{,6} r,
@{PROC}/@{pid}/net/tcp{,6} r,
@{PROC}/@{pid}/net/udp{,6} r,
@{PROC}/@{pid}/net/raw{,6} r,
@{PROC}/@{pid}/net/packet r,
@{PROC}/@{pid}/net/dev r,
@{PROC}/@{pid}/net/udplite{,6} r,
@{PROC}/@{pids}/fd/ r,
@{PROC}/@{pids}/stat r,
include if exists <local/netcap>
}

View file

@ -42,7 +42,7 @@ profile netstat @{exec_path} {
@{PROC}/@{pids}/net/unix r,
@{PROC}/net r,
@{PROC}/net/* r,
@{PROC}/sys/net/ipv6/conf/all/disable_ipv6 r,
@{PROC}/sys/net/ipv{4,6}/conf/all/disable_ipv{4,6} r,
owner @{PROC}/@{pid}/attr/current r,
include if exists <local/netstat>

View file

@ -52,7 +52,7 @@ profile packagekitd @{exec_path} flags=(attach_disconnected) {
dbus send bus=system path=/org/freedesktop/NetworkManager
interface=org.freedesktop.DBus.Properties
member=GetAll
member={GetAll,PropertiesChanged}
peer=(name=:*, label=NetworkManager),
dbus receive bus=system path=/org/freedesktop/NetworkManager

View file

@ -131,7 +131,8 @@ profile run-parts @{exec_path} {
/{usr/,}bin/sort rix,
/{usr/,}bin/tr rix,
/{usr/,}bin/uname rix,
/{usr/,}bin/snap rPx,
/{usr/,}lib/ubuntu-release-upgrader/release-upgrade-motd rPx,
/{usr/,}lib/update-notifier/update-motd-fsck-at-reboot rPx,
/{usr/,}lib/update-notifier/update-motd-reboot-required rix,