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:
parent
c0e77208be
commit
9fbd5741a4
@ -22,6 +22,7 @@ interface(`chromium_role',`
|
|||||||
type chromium_sandbox_t;
|
type chromium_sandbox_t;
|
||||||
type chromium_naclhelper_t;
|
type chromium_naclhelper_t;
|
||||||
type chromium_exec_t;
|
type chromium_exec_t;
|
||||||
|
class dbus send_msg;
|
||||||
')
|
')
|
||||||
|
|
||||||
role $1 types chromium_t;
|
role $1 types chromium_t;
|
||||||
@ -42,6 +43,9 @@ interface(`chromium_role',`
|
|||||||
|
|
||||||
allow chromium_sandbox_t $2:fd use;
|
allow chromium_sandbox_t $2:fd use;
|
||||||
allow chromium_naclhelper_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;
|
||||||
')
|
')
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
|
Loading…
Reference in New Issue
Block a user