mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
Create profile for taskwarrior-tui
This commit is contained in:
parent
c81253de14
commit
8f5c5867f3
32
apparmor.d/profiles-s-z/taskwarrior-tui
Normal file
32
apparmor.d/profiles-s-z/taskwarrior-tui
Normal file
@ -0,0 +1,32 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Zane Zakraisek <zz@eng.utah.edu>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/taskwarrior-tui
|
||||
profile taskwarrior-tui @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/task rPx,
|
||||
|
||||
/usr/share/{doc/,}task{warrior,}/** r,
|
||||
|
||||
owner @{HOME}/.taskrc r,
|
||||
owner @{HOME}/.task/{,**} rwlk,
|
||||
|
||||
owner @{user_share_dirs}/taskwarrior-tui/{,**} rwk,
|
||||
owner @{user_config_dirs}/taskwarrior-tui/{,**} r,
|
||||
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
owner @{PROC}/@{pid}/mountinfo r,
|
||||
|
||||
@{sys}/fs/cgroup/**/cpu.max r,
|
||||
|
||||
include if exists <local/taskwarrior-tui>
|
||||
}
|
Loading…
Reference in New Issue
Block a user