mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-04 01:05:06 +01:00
Prepare for re-attached-path
This commit is contained in:
parent
62d7d7af68
commit
04df705272
4 changed files with 5 additions and 5 deletions
|
@ -14,6 +14,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{bin}/linuxqq @{lib_dirs}/qq
|
@{exec_path} = @{bin}/linuxqq @{lib_dirs}/qq
|
||||||
profile linuxqq @{exec_path} flags=(attach_disconnected) {
|
profile linuxqq @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/attached/consoles>
|
||||||
include <abstractions/audio-client>
|
include <abstractions/audio-client>
|
||||||
include <abstractions/common/electron>
|
include <abstractions/common/electron>
|
||||||
include <abstractions/fontconfig-cache-read>
|
include <abstractions/fontconfig-cache-read>
|
||||||
|
@ -42,7 +43,6 @@ profile linuxqq @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pid}/mounts r,
|
owner @{PROC}/@{pid}/mounts r,
|
||||||
|
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
/dev/pts/@{int} rw,
|
|
||||||
|
|
||||||
include if exists <local/linuxqq>
|
include if exists <local/linuxqq>
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,9 +8,9 @@ abi <abi/4.0>,
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/ufw
|
@{exec_path} = @{bin}/ufw
|
||||||
profile ufw @{exec_path} {
|
profile ufw @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/consoles>
|
include <abstractions/attached/consoles>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/python>
|
include <abstractions/python>
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{bin}/wechat-universal @{lib_dirs}/wechat
|
@{exec_path} = @{bin}/wechat-universal @{lib_dirs}/wechat
|
||||||
profile wechat-universal @{exec_path} flags=(attach_disconnected) {
|
profile wechat-universal @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/attached/consoles>
|
||||||
include <abstractions/audio-client>
|
include <abstractions/audio-client>
|
||||||
include <abstractions/common/electron>
|
include <abstractions/common/electron>
|
||||||
include <abstractions/common/bwrap>
|
include <abstractions/common/bwrap>
|
||||||
|
@ -52,7 +53,6 @@ profile wechat-universal @{exec_path} flags=(attach_disconnected) {
|
||||||
@{PROC}/@{pid}/net/route r,
|
@{PROC}/@{pid}/net/route r,
|
||||||
|
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
/dev/pts/@{int} rw,
|
|
||||||
|
|
||||||
include if exists <local/wechat-universal>
|
include if exists <local/wechat-universal>
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
||||||
@{exec_path} += /opt/wemeet/bin/QtWebEngineProcess
|
@{exec_path} += /opt/wemeet/bin/QtWebEngineProcess
|
||||||
profile wemeet @{exec_path} flags=(attach_disconnected) {
|
profile wemeet @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/attached/consoles>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/common/bwrap>
|
include <abstractions/common/bwrap>
|
||||||
include <abstractions/common/chromium>
|
include <abstractions/common/chromium>
|
||||||
|
@ -54,7 +55,6 @@ profile wemeet @{exec_path} flags=(attach_disconnected) {
|
||||||
/dev/ r,
|
/dev/ r,
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
/dev/shm/ r,
|
/dev/shm/ r,
|
||||||
/dev/pts/@{int} rw,
|
|
||||||
|
|
||||||
include if exists <local/wemeet>
|
include if exists <local/wemeet>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue