mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Profiles update.
This commit is contained in:
parent
86ac65eb5c
commit
f7948962fc
@ -76,7 +76,7 @@ profile blueman @{exec_path} flags=(attach_disconnected) {
|
||||
/var/lib/dbus/machine-id r,
|
||||
/etc/machine-id r,
|
||||
|
||||
@{run}/user/1000/gdm/Xauthority r,
|
||||
@{run}/user/@{uid}/gdm/Xauthority r,
|
||||
|
||||
# file_inherit
|
||||
/dev/dri/card[0-9]* rw,
|
||||
|
@ -42,7 +42,8 @@ profile ssh-agent @{exec_path} {
|
||||
owner /dev/tty[0-9]* rw,
|
||||
owner @{HOME}/.xsession-errors w,
|
||||
|
||||
@{run}/user/1000/keyring/.ssh rw,
|
||||
@{run}/user/@{uid}/keyring/.ssh rw,
|
||||
@{run}/user/@{uid}/ssh-agent.[0-9A-Z]* w,
|
||||
|
||||
include if exists <local/ssh-agent>
|
||||
}
|
||||
|
@ -22,7 +22,6 @@ profile systemd-tmpfiles @{exec_path} {
|
||||
|
||||
/etc/machine-id r,
|
||||
/etc/brlapi.key w,
|
||||
/usr/share/factory/{,**} r,
|
||||
|
||||
# Config file locations
|
||||
/etc/tmpfiles.d/{,*.conf} r,
|
||||
@ -35,13 +34,14 @@ profile systemd-tmpfiles @{exec_path} {
|
||||
|
||||
# Where the tmpfiles can be created,
|
||||
/{,*} rw,
|
||||
/home/ rw,
|
||||
/dev/{,**} rw,
|
||||
/var/{,**} rwk,
|
||||
/run/{,**} rw,
|
||||
/tmp/{,**} rwk,
|
||||
/srv/{,**} rw,
|
||||
/etc/{,**} r,
|
||||
/home/ rw,
|
||||
/run/{,**} rw,
|
||||
/srv/{,**} rw,
|
||||
/tmp/{,**} rwk,
|
||||
/usr/{,**} rw,
|
||||
/var/{,**} rwk,
|
||||
|
||||
@{run}/systemd/userdb/ r,
|
||||
@{sys}/devices/system/cpu/microcode/reload w,
|
||||
|
@ -21,7 +21,7 @@ profile mission-control @{exec_path} {
|
||||
|
||||
owner @{user_share_dirs}/telepathy/mission-control/*.cfg r,
|
||||
|
||||
@{run}/user/1000/dconf/user rw,
|
||||
@{run}/user/@{uid}/dconf/user rw,
|
||||
@{run}/systemd/inhibit/[0-9]*.ref rw,
|
||||
|
||||
include if exists <local/mission-control>
|
||||
|
@ -67,8 +67,8 @@ profile pulseaudio @{exec_path} {
|
||||
|
||||
@{run}/systemd/users/@{uid} r,
|
||||
|
||||
@{run}/user/1000/dconf/user rw,
|
||||
@{run}/user/1000/ICEauthority r,
|
||||
@{run}/user/@{uid}/dconf/user rw,
|
||||
@{run}/user/@{uid}/ICEauthority r,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
|
@ -125,11 +125,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
|
||||
/var/lib/udisks2/ r,
|
||||
/var/lib/udisks2/mounted-fs{,*} rw,
|
||||
|
||||
@{run}/udisks2/ rw,
|
||||
@{run}/udisks2/loop{,.*} rw,
|
||||
@{run}/udisks2/unlocked-luks{,.*} rw,
|
||||
@{run}/udisks2/unlocked-crypto-dev{,.*} rw,
|
||||
@{run}/udisks2/mounted-fs{,.*} rw,
|
||||
@{run}/udisks2/{,**} rw,
|
||||
|
||||
@{run}/systemd/seats/seat[0-9]* r,
|
||||
@{run}/systemd/inhibit/[0-9]*.ref rw,
|
||||
|
@ -1,5 +1,6 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
@ -12,6 +13,8 @@ profile w @{exec_path} {
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/wutmp>
|
||||
|
||||
capability sys_ptrace,
|
||||
|
||||
ptrace (read),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
Loading…
Reference in New Issue
Block a user