feat(profile): update steam profiles.
- Still a wip stage - Not shipped by default
This commit is contained in:
parent
5e6af16580
commit
7d1380530a
9 changed files with 248 additions and 115 deletions
38
apparmor.d/profiles-s-z/steamerrorreporter
Normal file
38
apparmor.d/profiles-s-z/steamerrorreporter
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{share_dirs} = @{user_share_dirs}/Steam
|
||||
@{lib_dirs} = @{share_dirs}/ubuntu@{int2}_{32,64}
|
||||
@{runtime_dirs} = @{share_dirs}/steamapps/common/SteamLinuxRuntime_sniper
|
||||
|
||||
@{exec_path} = @{share_dirs}/linux{32,64}/steamerrorreporter
|
||||
profile steamerrorreporter @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
network inet dgram,
|
||||
network inet stream,
|
||||
network inet6 dgram,
|
||||
network inet6 stream,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{HOME}/.steam/steam.pipe r,
|
||||
|
||||
owner @{lib_dirs}/ r,
|
||||
owner @{lib_dirs}/steam-runtime/pinned_libs_{32,64}/ r,
|
||||
|
||||
owner @{share_dirs}/ r,
|
||||
|
||||
owner @{tmp}/dumps/ r,
|
||||
owner @{tmp}/dumps/*_log.txt rw,
|
||||
|
||||
owner @{PROC}/@{pid}/status r,
|
||||
|
||||
include if exists <local/steamerrorreporter>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue