All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy]   [PATCH] rpcbind needs to read sysfs
@ 2016-07-31  9:27 Russell Coker
  2016-07-31 14:24 ` Jason Zaman
  0 siblings, 1 reply; 4+ messages in thread
From: Russell Coker @ 2016-07-31  9:27 UTC (permalink / raw)
  To: refpolicy

Tiny patch for rpcbind to read sysfs.


diff -ruN /home/rjc/src/pol-git/policy/modules/contrib/rpcbind.te ./policy/modules/contrib/rpcbind.te
--- /home/rjc/src/pol-git/policy/modules/contrib/rpcbind.te	2016-07-30 08:14:41.145651133 +1000
+++ ./policy/modules/contrib/rpcbind.te	2016-07-31 19:26:02.416587318 +1000
@@ -39,6 +39,9 @@
 manage_sock_files_pattern(rpcbind_t, rpcbind_var_lib_t, rpcbind_var_lib_t)
 files_var_lib_filetrans(rpcbind_t, rpcbind_var_lib_t, { file dir sock_file })
 
+# for /sys/devices/system/cpu/online
+dev_read_sysfs(rpcbind_t)
+
 kernel_read_system_state(rpcbind_t)
 kernel_read_network_state(rpcbind_t)
 kernel_request_load_module(rpcbind_t)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-02 23:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-31  9:27 [refpolicy] [PATCH] rpcbind needs to read sysfs Russell Coker
2016-07-31 14:24 ` Jason Zaman
2016-07-31 15:06   ` Russell Coker
2016-08-02 23:29     ` Chris PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.