rustdesk
This commit is contained in:
parent
02ced44a5c
commit
4f3864a9b6
4 changed files with 218 additions and 0 deletions
25
apparmor.d/profiles-g-l/hbbr
Normal file
25
apparmor.d/profiles-g-l/hbbr
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{,usr/}{,local/}bin/hbbr
|
||||
profile hbbr @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
|
||||
@{exec_path} r,
|
||||
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
|
||||
owner /var/lib/rustdesk-server/ r,
|
||||
owner /var/lib/rustdesk-server/id_ed25519.pub r,
|
||||
# Unknown non-essential purpose
|
||||
# owner /var/lib/rustdesk-server/id_ed25519 r,
|
||||
|
||||
include if exists <local/hbbr>
|
||||
}
|
||||
30
apparmor.d/profiles-g-l/hbbs
Normal file
30
apparmor.d/profiles-g-l/hbbs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{,usr/}{,local/}bin/hbbs
|
||||
profile hbbs @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
||||
@{exec_path} r,
|
||||
|
||||
owner /var/lib/rustdesk-server/ rw,
|
||||
owner /var/lib/rustdesk-server/id_ed25519 rw,
|
||||
owner /var/lib/rustdesk-server/id_ed25519.pub rw,
|
||||
owner /var/lib/rustdesk-server/db_v2.sqlite3 rwk,
|
||||
owner /var/lib/rustdesk-server/db_v2.sqlite3-journal rw,
|
||||
owner /var/lib/rustdesk-server/db_v2.sqlite3-wal rw,
|
||||
owner /var/lib/rustdesk-server/db_v2.sqlite3-shm rwk,
|
||||
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
|
||||
include if exists <local/hbbs>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue