feat(abs): add new shells abstraction.
This commit is contained in:
parent
58a4f1601a
commit
adb936e62f
10 changed files with 28 additions and 20 deletions
|
|
@ -9,14 +9,14 @@ include <tunables/global>
|
|||
@{exec_path} = @{etc_ro}/gdm{3,}/Xsession
|
||||
profile gdm-xsession @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bash-strict>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/shells>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{shells_path} rix,
|
||||
@{bin}/{,e}grep rix,
|
||||
@{bin}/{m,g,}awk rix,
|
||||
@{bin}/cat rix,
|
||||
|
|
|
|||
|
|
@ -9,10 +9,9 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/gnome-session
|
||||
profile gnome-session @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bash-strict>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/zsh>
|
||||
include <abstractions/shells>
|
||||
|
||||
@{exec_path} mrix,
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ include <tunables/global>
|
|||
profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/authentication>
|
||||
include <abstractions/bash-strict>
|
||||
include <abstractions/bus-session>
|
||||
include <abstractions/bus-system>
|
||||
include <abstractions/bus/org.freedesktop.login1>
|
||||
|
|
@ -20,6 +19,7 @@ profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
|||
include <abstractions/graphics>
|
||||
include <abstractions/kde-strict>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/shells>
|
||||
include <abstractions/wutmp>
|
||||
|
||||
capability audit_write,
|
||||
|
|
@ -70,7 +70,7 @@ profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
|||
@{lib}/sddm/sddm-helper-start-wayland rix,
|
||||
@{lib}/sddm/sddm-helper-start-x11user rix,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{shells_path} rix,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/checkproc rix,
|
||||
@{bin}/disable-paste rix,
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@ profile sddm-xsession @{exec_path} {
|
|||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/bash-strict>
|
||||
include <abstractions/zsh>
|
||||
include <abstractions/shells>
|
||||
|
||||
@{exec_path} r,
|
||||
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ include <tunables/global>
|
|||
@{exec_path} = @{etc_ro}/sddm/wayland-session
|
||||
profile wayland-session @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bash-strict>
|
||||
include <abstractions/shells>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/id rix,
|
||||
@{shells_path} rix,
|
||||
@{bin}/id rix,
|
||||
|
||||
@{lib}/plasma-dbus-run-session-if-needed rix,
|
||||
@{lib}/@{multiarch}/libexec/plasma-dbus-run-session-if-needed rix,
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ include <tunables/global>
|
|||
@{exec_path} = @{etc_ro}/X11/xdm/Xsession
|
||||
profile xdm-xsession @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bash-strict>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/shells>
|
||||
include <abstractions/X-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{shells_path} rix,
|
||||
|
||||
@{bin}/checkproc rix,
|
||||
@{bin}/basename rix,
|
||||
|
|
|
|||
|
|
@ -10,9 +10,8 @@ include <tunables/global>
|
|||
profile cockpit-session @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/authentication>
|
||||
include <abstractions/bash-strict>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/zsh>
|
||||
include <abstractions/shells>
|
||||
|
||||
capability audit_write,
|
||||
capability dac_read_search,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue