mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(profiles): add sdcv.
Co-authored-by: Andy Ramos <maplewood_broer@8shield.net>
This commit is contained in:
parent
b4a09ab13a
commit
77b9699270
2 changed files with 25 additions and 0 deletions
24
apparmor.d/profiles-s-z/sdcv
Normal file
24
apparmor.d/profiles-s-z/sdcv
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# Copyright (C) 2023 Andy Ramos <maplewood_broer@8shield.net>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}bin/sdcv
|
||||||
|
profile sdcv @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{system_share_dirs}/stardict/dic/{,**} rw,
|
||||||
|
|
||||||
|
owner @{HOME}/.stardict/dic/{,**} rw,
|
||||||
|
owner @{HOME}/{.sdcv,sdcv,.stardict,stardict}* rw,
|
||||||
|
|
||||||
|
owner @{user_cache_dirs}/sdcv/{,**} rwk,
|
||||||
|
|
||||||
|
include if exists <local/sdcv>
|
||||||
|
}
|
|
@ -172,6 +172,7 @@ runuser complain
|
||||||
s3fs complain
|
s3fs complain
|
||||||
sbctl complain
|
sbctl complain
|
||||||
scrcpy complain
|
scrcpy complain
|
||||||
|
sdcv complain
|
||||||
setpriv complain
|
setpriv complain
|
||||||
sftp-server complain
|
sftp-server complain
|
||||||
slirp4netns attach_disconnected,complain
|
slirp4netns attach_disconnected,complain
|
||||||
|
|
Loading…
Reference in a new issue