Skip to content

Instantly share code, notes, and snippets.

@vholer
Created June 30, 2015 14:35
Show Gist options
  • Save vholer/daf7f8ac65f4374cb2d6 to your computer and use it in GitHub Desktop.
Save vholer/daf7f8ac65f4374cb2d6 to your computer and use it in GitHub Desktop.
Gluster RDMA SELinux module
module glusterfs_rdma 1.0.0;
require {
type glusterd_t;
type infiniband_device_t;
class capability ipc_lock;
class chr_file { read write open };
}
#============= glusterd_t ==============
allow glusterd_t infiniband_device_t:chr_file { read write open };
allow glusterd_t self:capability ipc_lock;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment