Skip to content

Instantly share code, notes, and snippets.

@sjenning
Last active September 13, 2017 02:13
Show Gist options
  • Select an option

  • Save sjenning/d87a320c38ef9a1c88d40a53785df4bf to your computer and use it in GitHub Desktop.

Select an option

Save sjenning/d87a320c38ef9a1c88d40a53785df4bf to your computer and use it in GitHub Desktop.
module kubedns 1.0;
require {
type container_var_run_t;
type container_t;
class file { open read ioctl };
}
#============= container_t ==============
allow container_t container_var_run_t:file read;
allow container_t container_var_run_t:file open;
allow container_t container_var_run_t:file ioctl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment