forked from PL4typus/virt_cacard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pierre-Louis Palant
committed
Jul 30, 2019
1 parent
8475638
commit f01a672
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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
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; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
semodule -X 300 -i my-pcscd.pp | ||
|