Add profile for tgpt.
This commit is contained in:
parent
1aee62f52c
commit
15dcc3192c
1 changed files with 21 additions and 0 deletions
21
apparmor.d/profiles-s-z/tgpt
Normal file
21
apparmor.d/profiles-s-z/tgpt
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2025 tpaau-17DB tpaau-17DB@tutamail.com
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/tgpt
|
||||
profile tgpt @{exec_path} flags=(unconfined) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{HOME}/@{XDG_DOWNLOAD_DIR}/** rw,
|
||||
|
||||
include if exists <local/tgpt>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
Loading…
Add table
Add a link
Reference in a new issue