feat(profile): general update.
This commit is contained in:
parent
a9c864fe60
commit
ed1ea18a9e
6 changed files with 38 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2019-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
|
@ -9,9 +10,17 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/torsocks
|
||||
profile torsocks @{exec_path} {
|
||||
include <abstractions/base>
|
||||
# include <abstractions/app-launcher-root>
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
capability dac_read_search,
|
||||
|
||||
@{exec_path} rm,
|
||||
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/* rPUx,
|
||||
@{bin}/getcap rix,
|
||||
|
||||
/etc/tor/torsocks.conf r,
|
||||
|
||||
include if exists <local/torsocks>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue