mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(profiles): improve ibus entry point.
This commit is contained in:
parent
09943156bc
commit
1db6f5f67c
@ -45,9 +45,8 @@ profile ibus-daemon @{exec_path} flags=(attach_disconnected) {
|
||||
|
||||
@{exec_path} mrix,
|
||||
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{lib}/ibus/ibus-* rPx,
|
||||
@{lib}/ibus-* rPx,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{lib}/{,ibus/}ibus-* rPx,
|
||||
|
||||
/usr/share/ibus/{,**} r,
|
||||
/usr/share/ibus-table/tables/ r,
|
||||
|
@ -6,8 +6,7 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/ibus/ibus-dconf
|
||||
@{exec_path} += @{lib}/ibus-dconf
|
||||
@{exec_path} = @{lib}/{,ibus/}ibus-dconf
|
||||
profile ibus-dconf @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dconf-write>
|
||||
|
@ -6,8 +6,7 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/ibus/ibus-engine-simple
|
||||
@{exec_path} += @{lib}/ibus-engine-simple
|
||||
@{exec_path} = @{lib}/{,ibus/}ibus-engine-simple
|
||||
profile ibus-engine-simple @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/ibus>
|
||||
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/ibus-engine-table
|
||||
@{exec_path} = @{lib}/{,ibus/}ibus-engine-table
|
||||
profile ibus-engine-table @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/python>
|
||||
@ -16,5 +16,14 @@ profile ibus-engine-table @{exec_path} {
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/python3.[0-9]* rix,
|
||||
|
||||
/usr/share/ibus-table/engine/{,**} r,
|
||||
/usr/share/ibus-table/tables/ r,
|
||||
|
||||
owner /var/lib/gdm3/.cache/ibus-table/ w,
|
||||
owner /var/lib/gdm3/.local/share/ibus-table/ w,
|
||||
|
||||
owner @{user_cache_dirs}/ibus-table/ w,
|
||||
owner @{user_share_dirs}/ibus-table/ w,
|
||||
|
||||
include if exists <local/ibus-engine-table>
|
||||
}
|
@ -6,8 +6,7 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/ibus/ibus-extension-gtk3
|
||||
@{exec_path} += @{lib}/ibus-extension-gtk3
|
||||
@{exec_path} = @{lib}/{,ibus/}ibus-extension-gtk3
|
||||
profile ibus-extension-gtk3 @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dbus-accessibility-strict>
|
||||
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/ibus-memconf
|
||||
@{exec_path} = @{lib}/{,ibus/}ibus-memconf
|
||||
profile ibus-memconf @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/ibus>
|
||||
|
@ -6,8 +6,7 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/ibus/ibus-portal
|
||||
@{exec_path} += @{lib}/ibus-portal
|
||||
@{exec_path} = @{lib}/{,ibus/}ibus-portal
|
||||
profile ibus-portal @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dbus-session-strict>
|
||||
|
@ -6,8 +6,7 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/ibus/ibus-x11
|
||||
@{exec_path} += @{lib}/ibus-x11
|
||||
@{exec_path} = @{lib}/{,ibus/}ibus-x11
|
||||
profile ibus-x11 @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dbus-session-strict>
|
||||
|
@ -126,8 +126,7 @@ profile gsd-xsettings @{exec_path} {
|
||||
@{bin}/run-parts rCx -> run-parts,
|
||||
@{bin}/xprop rPx,
|
||||
@{bin}/xrdb rPx,
|
||||
@{lib}/ibus-x11 rPx,
|
||||
@{lib}/ibus/ibus-x11 rPx,
|
||||
@{lib}/{,ibus/}ibus-x11 rPx,
|
||||
|
||||
/usr/share/dconf/profile/gdm r,
|
||||
/usr/share/gdm/greeter-dconf-defaults r,
|
||||
|
Loading…
Reference in New Issue
Block a user