feat(profiles): make profile entrypoint more universal.
This commit is contained in:
parent
e031c129ed
commit
6e56cfccc9
70 changed files with 122 additions and 147 deletions
|
|
@ -30,8 +30,7 @@ profile gparted @{exec_path} {
|
|||
@{libexec}/gparted/gpartedbin rPx,
|
||||
@{libexec}/gpartedbin rPx,
|
||||
|
||||
/{usr/,}lib/udisks2/udisks2-inhibit rix,
|
||||
@{libexec}/udisks2/udisks2-inhibit rix,
|
||||
@{libexec}/{,udisks2/}udisks2-inhibit rix,
|
||||
@{run}/udev/rules.d/ rw,
|
||||
@{run}/udev/rules.d/90-udisks-inhibit.rules rw,
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2017-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
|
@ -115,8 +116,7 @@ profile lightdm @{exec_path} {
|
|||
owner @{HOME}/.dmrc* rw,
|
||||
/var/cache/lightdm/dmrc/*.dmrc* rw,
|
||||
|
||||
/{usr/,}lib/at-spi2-core/at-spi-bus-launcher rPUx,
|
||||
@{libexec}/at-spi-bus-launcher rPUx,
|
||||
@{libexec}/{,at-spi2{,-core}/}at-spi-bus-launcher rPx,
|
||||
|
||||
include if exists <local/lightdm>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2017-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
|
@ -50,9 +51,7 @@ profile lightdm-gtk-greeter @{exec_path} {
|
|||
@{HOME}/.dmrc r,
|
||||
@{HOME}/.face r,
|
||||
|
||||
/{usr/,}lib/at-spi2-core/at-spi-bus-launcher rPUx,
|
||||
@{libexec}/at-spi-bus-launcher rPUx,
|
||||
|
||||
@{libexec}/{,at-spi2{,-core}/}at-spi-bus-launcher rPx,
|
||||
|
||||
profile systemd {
|
||||
include <abstractions/base>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue