Reorganise the directories.
This commit is contained in:
parent
91b15fcc73
commit
091d20d086
715 changed files with 0 additions and 0 deletions
17
apparmor.d/groups/gvfs/gvfs-afc-volume-monitor
Normal file
17
apparmor.d/groups/gvfs/gvfs-afc-volume-monitor
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfs-afc-volume-monitor
|
||||
@{exec_path} += /usr/libexec/gvfs-afc-volume-monitor
|
||||
profile gvfs-afc-volume-monitor @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfs-afc-volume-monitor>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfs-goa-volume-monitor
Normal file
17
apparmor.d/groups/gvfs/gvfs-goa-volume-monitor
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfs-goa-volume-monitor
|
||||
@{exec_path} += /usr/libexec/gvfs-goa-volume-monitor
|
||||
profile gvfs-goa-volume-monitor @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfs-goa-volume-monitor>
|
||||
}
|
||||
28
apparmor.d/groups/gvfs/gvfs-gphoto2-volume-monitor
Normal file
28
apparmor.d/groups/gvfs/gvfs-gphoto2-volume-monitor
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfs-gphoto2-volume-monitor
|
||||
@{exec_path} += /usr/libexec/gvfs-gphoto2-volume-monitor
|
||||
profile gvfs-gphoto2-volume-monitor @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/disks-read>
|
||||
include <abstractions/devices-usb>
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{PROC}/@{pid}/mountinfo r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
|
||||
@{sys}/class/scsi_generic/ r,
|
||||
|
||||
/etc/fstab r,
|
||||
|
||||
include if exists <local/gvfs-gphoto2-volume-monitor>
|
||||
}
|
||||
20
apparmor.d/groups/gvfs/gvfs-mtp-volume-monitor
Normal file
20
apparmor.d/groups/gvfs/gvfs-mtp-volume-monitor
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfs-mtp-volume-monitor
|
||||
@{exec_path} += /usr/libexec/gvfs-mtp-volume-monitor
|
||||
profile gvfs-mtp-volume-monitor @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/devices-usb>
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfs-mtp-volume-monitor>
|
||||
}
|
||||
59
apparmor.d/groups/gvfs/gvfs-udisks2-volume-monitor
Normal file
59
apparmor.d/groups/gvfs/gvfs-udisks2-volume-monitor
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfs-udisks2-volume-monitor
|
||||
@{exec_path} += /usr/libexec/gvfs-udisks2-volume-monitor
|
||||
profile gvfs-udisks2-volume-monitor @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/disks-read>
|
||||
include <abstractions/devices-usb>
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network netlink raw,
|
||||
|
||||
signal (send) set=(term, kill) peer=mount,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/lsof rix,
|
||||
|
||||
/{usr/,}bin/mount rPx,
|
||||
/{usr/,}bin/umount rPx,
|
||||
|
||||
include <abstractions/dconf>
|
||||
owner @{run}/user/[0-9]*/dconf/ w,
|
||||
owner @{run}/user/[0-9]*/dconf/user rw,
|
||||
|
||||
/etc/fstab r,
|
||||
|
||||
# Mount points
|
||||
/media/*/ r,
|
||||
/media/*/*/ r,
|
||||
@{HOME}/*/*/ r,
|
||||
@{HOME}/*/*/**/ r,
|
||||
@{HOME}/bluetooth/ r,
|
||||
|
||||
/ r,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
|
||||
@{run}/mount/utab r,
|
||||
|
||||
@{PROC}/ r,
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
owner @{PROC}/@{pid}/mountinfo r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
@{PROC}/1/cgroup r,
|
||||
@{PROC}/locks r,
|
||||
|
||||
include if exists <local/gvfs-udisks2-volume-monitor>
|
||||
}
|
||||
29
apparmor.d/groups/gvfs/gvfsd
Normal file
29
apparmor.d/groups/gvfs/gvfsd
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd
|
||||
@{exec_path} += /usr/libexec/gvfsd
|
||||
profile gvfsd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
|
||||
# Don't strip env here.
|
||||
/{usr/,}lib/gvfs/gvfsd-* rPx,
|
||||
/usr/libexec/gvfsd-* rPx,
|
||||
|
||||
/usr/share/gvfs/{,**} r,
|
||||
|
||||
owner @{run}/user/[0-9]*/gvfs/ rw,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
|
||||
include if exists <local/gvfsd>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-admin
Normal file
17
apparmor.d/groups/gvfs/gvfsd-admin
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-admin
|
||||
@{exec_path} += /usr/libexec/gvfsd-admin
|
||||
profile gvfsd-admin @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-admin>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-afc
Normal file
17
apparmor.d/groups/gvfs/gvfsd-afc
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-afc
|
||||
@{exec_path} += /usr/libexec/gvfsd-afc
|
||||
profile gvfsd-afc @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-afc>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-afp
Normal file
17
apparmor.d/groups/gvfs/gvfsd-afp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-afp
|
||||
@{exec_path} += /usr/libexec/gvfsd-afp
|
||||
profile gvfsd-afp @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-afp>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-afp-browse
Normal file
17
apparmor.d/groups/gvfs/gvfsd-afp-browse
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-afp-browse
|
||||
@{exec_path} += /usr/libexec/gvfsd-afp-browse
|
||||
profile gvfsd-afp-browse @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-afp-browse>
|
||||
}
|
||||
23
apparmor.d/groups/gvfs/gvfsd-archive
Normal file
23
apparmor.d/groups/gvfs/gvfsd-archive
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-archive
|
||||
@{exec_path} += /usr/libexec/gvfsd-archive
|
||||
profile gvfsd-archive @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner /**.tar r,
|
||||
owner /**.tar.gz r,
|
||||
owner /**.zip r,
|
||||
|
||||
include if exists <local/gvfsd-archive>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-burn
Normal file
17
apparmor.d/groups/gvfs/gvfsd-burn
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-burn
|
||||
@{exec_path} += /usr/libexec/gvfsd-burn
|
||||
profile gvfsd-burn @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-burn>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-cdda
Normal file
17
apparmor.d/groups/gvfs/gvfsd-cdda
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-cdda
|
||||
@{exec_path} += /usr/libexec/gvfsd-cdda
|
||||
profile gvfsd-cdda @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-cdda>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-computer
Normal file
17
apparmor.d/groups/gvfs/gvfsd-computer
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-computer
|
||||
@{exec_path} += /usr/libexec/gvfsd-computer
|
||||
profile gvfsd-computer @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-computer>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-dav
Normal file
17
apparmor.d/groups/gvfs/gvfsd-dav
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-dav
|
||||
@{exec_path} += /usr/libexec/gvfsd-dav
|
||||
profile gvfsd-dav @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-dav>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-dnssd
Normal file
17
apparmor.d/groups/gvfs/gvfsd-dnssd
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-dnssd
|
||||
@{exec_path} += /usr/libexec/gvfsd-dnssd
|
||||
profile gvfsd-dnssd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-dnssd>
|
||||
}
|
||||
31
apparmor.d/groups/gvfs/gvfsd-ftp
Normal file
31
apparmor.d/groups/gvfs/gvfsd-ftp
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-ftp
|
||||
@{exec_path} += /usr/libexec/gvfsd-ftp
|
||||
profile gvfsd-ftp @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include <abstractions/dconf>
|
||||
owner @{run}/user/[0-9]*/dconf/ rw,
|
||||
owner @{run}/user/[0-9]*/dconf/user rw,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
|
||||
include if exists <local/gvfsd-ftp>
|
||||
}
|
||||
23
apparmor.d/groups/gvfs/gvfsd-fuse
Normal file
23
apparmor.d/groups/gvfs/gvfsd-fuse
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-fuse
|
||||
@{exec_path} += /usr/libexec/gvfsd-fuse
|
||||
profile gvfsd-fuse @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/fusermount{,3} rPx,
|
||||
|
||||
mount fstype={fuse,fuse.*} -> @{run}/user/[0-9]*/gvfs/,
|
||||
|
||||
/dev/fuse rw,
|
||||
|
||||
include if exists <local/gvfsd-fuse>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-google
Normal file
17
apparmor.d/groups/gvfs/gvfsd-google
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-google
|
||||
@{exec_path} += /usr/libexec/gvfsd-google
|
||||
profile gvfsd-google @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-google>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-gphoto2
Normal file
17
apparmor.d/groups/gvfs/gvfsd-gphoto2
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-gphoto2
|
||||
@{exec_path} += /usr/libexec/gvfsd-gphoto2
|
||||
profile gvfsd-gphoto2 @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-gphoto2>
|
||||
}
|
||||
27
apparmor.d/groups/gvfs/gvfsd-http
Normal file
27
apparmor.d/groups/gvfs/gvfsd-http
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-http
|
||||
@{exec_path} += /usr/libexec/gvfsd-http
|
||||
profile gvfsd-http @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
|
||||
include if exists <local/gvfsd-http>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-localtest
Normal file
17
apparmor.d/groups/gvfs/gvfsd-localtest
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-localtest
|
||||
@{exec_path} += /usr/libexec/gvfsd-localtest
|
||||
profile gvfsd-localtest @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-localtest>
|
||||
}
|
||||
23
apparmor.d/groups/gvfs/gvfsd-metadata
Normal file
23
apparmor.d/groups/gvfs/gvfsd-metadata
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-metadata
|
||||
@{exec_path} += /usr/libexec/gvfsd-metadata
|
||||
profile gvfsd-metadata @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/disks-read>
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{HOME}/.local/share/gvfs-metadata/ rw,
|
||||
owner @{HOME}/.local/share/gvfs-metadata/** rw,
|
||||
|
||||
include if exists <local/gvfsd-metadata>
|
||||
}
|
||||
27
apparmor.d/groups/gvfs/gvfsd-mtp
Normal file
27
apparmor.d/groups/gvfs/gvfsd-mtp
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-mtp
|
||||
@{exec_path} += /usr/libexec/gvfsd-mtp
|
||||
profile gvfsd-mtp @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/devices-usb>
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include <abstractions/dconf>
|
||||
owner @{run}/user/[0-9]*/dconf/ rw,
|
||||
owner @{run}/user/[0-9]*/dconf/user rw,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
|
||||
include if exists <local/gvfsd-mtp>
|
||||
}
|
||||
17
apparmor.d/groups/gvfs/gvfsd-network
Normal file
17
apparmor.d/groups/gvfs/gvfsd-network
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-network
|
||||
@{exec_path} += /usr/libexec/gvfsd-network
|
||||
profile gvfsd-network @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-network>
|
||||
}
|
||||
22
apparmor.d/groups/gvfs/gvfsd-nfs
Normal file
22
apparmor.d/groups/gvfs/gvfsd-nfs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-nfs
|
||||
@{exec_path} += /usr/libexec/gvfsd-nfs
|
||||
profile gvfsd-nfs @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/gvfsd-nfs>
|
||||
}
|
||||
19
apparmor.d/groups/gvfs/gvfsd-recent
Normal file
19
apparmor.d/groups/gvfs/gvfsd-recent
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-recent
|
||||
@{exec_path} += /usr/libexec/gvfsd-recent
|
||||
profile gvfsd-recent @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{HOME}/.local/share/recently-used.xbel r,
|
||||
|
||||
include if exists <local/gvfsd-recent>
|
||||
}
|
||||
26
apparmor.d/groups/gvfs/gvfsd-sftp
Normal file
26
apparmor.d/groups/gvfs/gvfsd-sftp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-sftp
|
||||
@{exec_path} += /usr/libexec/gvfsd-sftp
|
||||
profile gvfsd-sftp @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
|
||||
/dev/ptmx rw,
|
||||
|
||||
/{usr/,}bin/ssh rPx,
|
||||
|
||||
include if exists <local/gvfsd-sftp>
|
||||
}
|
||||
32
apparmor.d/groups/gvfs/gvfsd-smb
Normal file
32
apparmor.d/groups/gvfs/gvfsd-smb
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-smb
|
||||
@{exec_path} += /usr/libexec/gvfsd-smb
|
||||
profile gvfsd-smb @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/freedesktop.org>
|
||||
|
||||
network netlink raw,
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include <abstractions/dconf>
|
||||
owner @{run}/user/[0-9]*/dconf/ rw,
|
||||
owner @{run}/user/[0-9]*/dconf/user rw,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
|
||||
/etc/samba/smb.conf r,
|
||||
|
||||
include if exists <local/gvfsd-smb>
|
||||
}
|
||||
31
apparmor.d/groups/gvfs/gvfsd-smb-browse
Normal file
31
apparmor.d/groups/gvfs/gvfsd-smb-browse
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-smb-browse
|
||||
@{exec_path} += /usr/libexec/gvfsd-smb-browse
|
||||
profile gvfsd-smb-browse @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
network netlink raw,
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include <abstractions/dconf>
|
||||
owner @{run}/user/[0-9]*/dconf/ rw,
|
||||
owner @{run}/user/[0-9]*/dconf/user rw,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
|
||||
/etc/samba/smb.conf r,
|
||||
|
||||
include if exists <local/gvfsd-smb-browse>
|
||||
}
|
||||
29
apparmor.d/groups/gvfs/gvfsd-trash
Normal file
29
apparmor.d/groups/gvfs/gvfsd-trash
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-trash
|
||||
@{exec_path} += /usr/libexec/gvfsd-trash
|
||||
profile gvfsd-trash @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/trash>
|
||||
|
||||
# When mounting a SMB share
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{PROC}/@{pid}/mountinfo r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
|
||||
@{run}/mount/utab r,
|
||||
|
||||
include if exists <local/gvfsd-trash>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue