-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SELinux policies for xendriverdomain.service
Another step towards making Qubes OS work with SELinux enforcing.
- Loading branch information
Showing
5 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
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
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
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 @@ | ||
# Intentionally left blank |
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,13 @@ | ||
policy_module(``qubes-xendriverdomain'', ``0.0.1'') | ||
|
||
require { | ||
type NetworkManager_t, initrc_t, virsh_exec_t, xend_t; | ||
class dbus send_msg; | ||
class file { entrypoint exec_file_perms }; | ||
} | ||
|
||
allow xend_t virsh_exec_t:file { entrypoint exec_file_perms }; | ||
iptables_domtrans(xend_t) | ||
dbus_system_bus_client(xend_t) | ||
init_domtrans_script(xend_t) | ||
allow xend_t NetworkManager_t:dbus send_msg; |
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