Last active
October 16, 2018 17:37
-
-
Save cjeanner/2f4963f798e00f821d5aecb822f5d9c7 to your computer and use it in GitHub Desktop.
selinux for podman and tempest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module tmp 1.0; | |
require { | |
type svirt_tcg_t; | |
type container_share_t; | |
type container_runtime_t; | |
class process sigchld; | |
class file { entrypoint execute getattr open read }; | |
class dir read; | |
class lnk_file read; | |
} | |
#============= svirt_tcg_t ============== | |
allow svirt_tcg_t container_runtime_t:process sigchld; | |
allow svirt_tcg_t container_share_t:file { execute getattr read entrypoint open }; | |
allow svirt_tcg_t container_share_t:lnk_file read; | |
allow svirt_tcg_t container_share_t:dir read; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment