mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
profiles: mbsync: make use of nameservice-strict abstraction
Signed-off-by: Eduardo Barretto <eduardo.barretto@canonical.com>
This commit is contained in:
parent
74ad177d07
commit
5f0fcfcae9
@ -15,6 +15,7 @@ include <tunables/global>
|
||||
|
||||
profile mbsync /usr/bin/mbsync {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/ssl_certs>
|
||||
|
||||
network inet dgram,
|
||||
@ -23,12 +24,7 @@ profile mbsync /usr/bin/mbsync {
|
||||
network inet6 stream,
|
||||
network netlink raw,
|
||||
|
||||
@{etc_ro}/gai.conf r,
|
||||
@{etc_ro}/host.conf r,
|
||||
@{etc_ro}/hosts r,
|
||||
@{etc_ro}/nsswitch.conf r,
|
||||
@{etc_ro}/ssl/openssl.cnf r,
|
||||
@{run}/systemd/resolve/stub-resolv.conf r,
|
||||
/usr/bin/mbsync r,
|
||||
owner @{HOME}/.mbsyncrc r,
|
||||
owner @{HOME}/Mail/**/ r,
|
||||
|
Loading…
x
Reference in New Issue
Block a user