]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
selinux: allow read /proc/<pid>/cmdline 10339/head
authorKefu Chai <kchai@redhat.com>
Tue, 19 Jul 2016 03:34:49 +0000 (11:34 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 19 Jul 2016 03:35:34 +0000 (11:35 +0800)
we read /proc/<pid>/cmdline to figure out who is terminating us.

Fixes: http://tracker.ceph.com/issues/16675
Signed-off-by: Kefu Chai <kchai@redhat.com>
selinux/ceph.te

index 0e85c84bfa6781b901c2fec9e901b5c5ff80e4c9..179396aaef9acfd0052fbc79d7141e044ef9f31f 100644 (file)
@@ -75,6 +75,8 @@ corecmd_exec_shell(ceph_t)
 
 dev_read_urand(ceph_t)
 
+domain_read_all_domains_state(ceph_t)
+
 fs_getattr_all_fs(ceph_t)
 
 auth_use_nsswitch(ceph_t)