Skip to content

Commit

Permalink
Submodule updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Louis Palant committed Jul 30, 2019
1 parent 8475638 commit f01a672
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Binary file added vpcd_selinux/my-pcscd.pp
Binary file not shown.
12 changes: 12 additions & 0 deletions vpcd_selinux/my-pcscd.te
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Default pcscd selinux policy doesn't allow tcp sockets
# This module makes vpcd usable with SELinux
module my-pcscd 1.0;

require {
type pcscd_t;
type node_t;
class tcp_socket node_bind;
}

#============= pcscd_t ==============
allow pcscd_t node_t:tcp_socket node_bind;
3 changes: 3 additions & 0 deletions vpcd_selinux/setup-module.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
semodule -X 300 -i my-pcscd.pp

0 comments on commit f01a672

Please sign in to comment.