chromium: allow dbus chat to inhibit power

Chromium will inhibit power saving when playing videos.

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2019-12-24 18:10:41 +08:00 committed by Chris PeBenito
parent c0e77208be
commit 9fbd5741a4
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ interface(`chromium_role',`
type chromium_sandbox_t;
type chromium_naclhelper_t;
type chromium_exec_t;
class dbus send_msg;
')
role $1 types chromium_t;
@ -42,6 +43,9 @@ interface(`chromium_role',`
allow chromium_sandbox_t $2:fd use;
allow chromium_naclhelper_t $2:fd use;
allow $2 chromium_t:dbus send_msg;
allow chromium_t $2:dbus send_msg;
')
#######################################