mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(profile): add superproductivity.
This commit is contained in:
parent
7e63564c56
commit
ecf4eaee14
37
apparmor.d/profiles-s-z/superproductivity
Normal file
37
apparmor.d/profiles-s-z/superproductivity
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{name} = super{p,P}roductivity
|
||||||
|
@{lib_dirs} = /opt/@{name}
|
||||||
|
@{config_dirs} = @{user_config_dirs}/@{name}
|
||||||
|
@{cache_dirs} = @{user_cache_dirs}/@{name}
|
||||||
|
|
||||||
|
@{exec_path} = @{bin}/@{name} @{lib_dirs}/@{name}
|
||||||
|
profile superproductivity @{exec_path} flags=(attach_disconnected) {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/audio-client>
|
||||||
|
include <abstractions/bus-session>
|
||||||
|
include <abstractions/common/electron>
|
||||||
|
|
||||||
|
network inet stream,
|
||||||
|
network inet6 stream,
|
||||||
|
network inet dgram,
|
||||||
|
network inet6 dgram,
|
||||||
|
network netlink raw,
|
||||||
|
|
||||||
|
@{exec_path} mrix,
|
||||||
|
|
||||||
|
@{bin}/speech-dispatcher rPx,
|
||||||
|
@{open_path} rPx -> child-open-strict,
|
||||||
|
|
||||||
|
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||||
|
|
||||||
|
include if exists <local/superproductivity>
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
@ -331,6 +331,7 @@ steam-runtime attach_disconnected,complain
|
|||||||
steamerrorreporter attach_disconnected,complain
|
steamerrorreporter attach_disconnected,complain
|
||||||
strawberry attach_disconnected,mediate_deleted,complain
|
strawberry attach_disconnected,mediate_deleted,complain
|
||||||
sulogin complain
|
sulogin complain
|
||||||
|
superproductivity attach_disconnected,complain
|
||||||
switcherooctl complain
|
switcherooctl complain
|
||||||
swtpm complain
|
swtpm complain
|
||||||
swtpm_ioctl complain
|
swtpm_ioctl complain
|
||||||
|
Loading…
Reference in New Issue
Block a user