feat(profiles): general update.
This commit is contained in:
parent
6aadd82293
commit
da1b3e1f1c
26 changed files with 114 additions and 126 deletions
|
|
@ -56,6 +56,7 @@ profile htop @{exec_path} {
|
|||
@{PROC}/@{pids}/comm r,
|
||||
@{PROC}/@{pids}/environ r,
|
||||
@{PROC}/@{pids}/io r,
|
||||
@{PROC}/@{pids}/mounts r,
|
||||
@{PROC}/@{pids}/net/dev r,
|
||||
@{PROC}/@{pids}/oom_{,score_}adj r,
|
||||
@{PROC}/@{pids}/oom_score r,
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2019 krathalan https://git.sr.ht/~krathalan/apparmor-profiles/
|
||||
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/less
|
||||
profile less @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bash>
|
||||
|
||||
capability dac_read_search,
|
||||
capability dac_override,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/source-highlight rix,
|
||||
/{usr/,}bin/src-hilite-lesspipe.sh rix,
|
||||
|
||||
@{system_share_dirs}/terminfo/{,**} r,
|
||||
|
||||
@{user_cache_dirs}/lesshs* rw,
|
||||
owner /root/.lesshs* rw,
|
||||
|
||||
/{,**} r,
|
||||
deny /{,**} w,
|
||||
|
||||
include if exists <local/less>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue