Skip to content

Commit

Permalink
Say how to unload the module
Browse files Browse the repository at this point in the history
  • Loading branch information
dpw committed Apr 24, 2016
1 parent 419f5ab commit 240caff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -2,6 +2,10 @@
load: dockersock.pp
semodule -i $^

.PHONY: unload
unload:
semodule -r dockersock

dockersock.mod: dockersock.te
checkmodule -M -m $< -o $@

Expand Down
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -33,3 +33,7 @@ to build the SELinux policy module package, and then load it as root
with

semodule -i dockersock.pp

Should you ever wish to remove the module, do

semodule -r dockersock

0 comments on commit 240caff

Please sign in to comment.