Add s3fs profile.
This commit is contained in:
parent
10fd4ed8dd
commit
7274f98fa6
2 changed files with 40 additions and 0 deletions
39
apparmor.d/profiles-s-z/s3fs
Normal file
39
apparmor.d/profiles-s-z/s3fs
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
# 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/s3fs
|
||||||
|
profile s3fs @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
include <abstractions/openssl>
|
||||||
|
include <abstractions/ssl_certs>
|
||||||
|
|
||||||
|
network inet dgram,
|
||||||
|
network inet6 dgram,
|
||||||
|
network inet stream,
|
||||||
|
network inet6 stream,
|
||||||
|
network netlink raw,
|
||||||
|
|
||||||
|
mount fstype=fuse.s3fs -> @{MOUNTS}/*/,
|
||||||
|
mount fstype=fuse.s3fs -> @{MOUNTS}/*/*/,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}bin/fusermount rPx,
|
||||||
|
|
||||||
|
/etc/passwd-s3fs r,
|
||||||
|
|
||||||
|
owner @{HOME}/.passwd-s3fs r,
|
||||||
|
owner /tmp/* rw,
|
||||||
|
|
||||||
|
@{PROC}/sys/kernel/random/boot_id r,
|
||||||
|
|
||||||
|
/dev/fuse rw,
|
||||||
|
|
||||||
|
include if exists <local/s3fs>
|
||||||
|
}
|
||||||
|
|
@ -104,6 +104,7 @@ pinentry-gtk-2 complain
|
||||||
podman attach_disconnected,complain
|
podman attach_disconnected,complain
|
||||||
run-parts complain
|
run-parts complain
|
||||||
runuser complain
|
runuser complain
|
||||||
|
s3fs complain
|
||||||
seahorse complain
|
seahorse complain
|
||||||
slirp4netns attach_disconnected,complain
|
slirp4netns attach_disconnected,complain
|
||||||
spice-client-glib-usb-acl-helper complain
|
spice-client-glib-usb-acl-helper complain
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue