Skip to content

Instantly share code, notes, and snippets.

@garyttierney
Created October 4, 2019 08:48
Show Gist options
  • Select an option

  • Save garyttierney/65ce78bc7eca22918b21862299774687 to your computer and use it in GitHub Desktop.

Select an option

Save garyttierney/65ce78bc7eca22918b21862299774687 to your computer and use it in GitHub Desktop.
> $ echo "test1" >> test1.hll
[root@garyttierney ~]# chmod +x /usr/libexec/selinux/hll/my_hll
[root@garyttierney ~]# mv /home/gtierney/test1.hll test1.my_hll
[root@garyttierney ~]# semodule -i test1.my_hll
[root@garyttierney ~]# rm test1.my_hll
rm: remove regular file 'test1.my_hll'? y
[root@garyttierney ~]# semodule -E test1
Module 'test1' does not exist at the default priority '400'. Extracting at highest existing priority '400'.
[root@garyttierney ~]# cat test1.my_hll
test1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment