mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
Update discord profile (#332)
--------- Co-authored-by: Alex <roddhjav@users.noreply.github.com>
This commit is contained in:
parent
41b814675b
commit
f86b305a66
@ -29,6 +29,9 @@ profile discord @{exec_path} {
|
||||
@{exec_path} mrix,
|
||||
@{sh_path} rix,
|
||||
|
||||
@{lib_dirs}/chrome-sandbox rix,
|
||||
@{lib_dirs}/chrome_crashpad_handler rix,
|
||||
|
||||
@{open_path} rPx -> child-open-browsers,
|
||||
|
||||
/var/lib/dbus/machine-id r,
|
||||
@ -38,6 +41,8 @@ profile discord @{exec_path} {
|
||||
owner @{tmp}/discord.sock rw,
|
||||
owner "@{tmp}/Discord Crashes/" rw,
|
||||
|
||||
owner @{config_dirs}/discord/*/modules/** rm,
|
||||
|
||||
owner @{run}/user/@{uid}/discord-ipc-@{int} rw,
|
||||
|
||||
include if exists <local/discord>
|
||||
|
@ -16,8 +16,8 @@ include <tunables/global>
|
||||
profile discord-chrome-sandbox @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
#capability setgid,
|
||||
#capability setuid,
|
||||
capability sys_admin,
|
||||
capability sys_chroot,
|
||||
capability sys_resource,
|
||||
|
Loading…
Reference in New Issue
Block a user