2017-04-13 23:25:37

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH 7/10] mozilla: read hardware state information

Update the mozilla module with a new permission (read sysfs).

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/contrib/mozilla.te | 1 +
1 file changed, 1 insertion(+)

--- refpolicy-2.20170204-orig/policy/modules/contrib/mozilla.te 2017-02-04 19:30:35.000000000 +0100
+++ refpolicy-2.20170204/policy/modules/contrib/mozilla.te 2017-04-13 21:35:38.247209640 +0200
@@ -158,6 +167,7 @@ corenet_tcp_connect_speech_port(mozilla_
corenet_tcp_sendrecv_speech_port(mozilla_t)

dev_getattr_sysfs_dirs(mozilla_t)
+dev_read_sysfs(mozilla_t)
dev_read_sound(mozilla_t)
dev_read_rand(mozilla_t)
dev_read_urand(mozilla_t)