-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Confine the switcheroo-control service
Resolves: RHEL-24268
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/usr/libexec/switcheroo-control -- gen_context(system_u:object_r:switcheroo_control_exec_t,s0) |
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 @@ | ||
## <summary>switcheroo: D-Bus service to check dual GPU availability</summary> |
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,14 @@ | ||
policy_module(switcheroo, 1.0) | ||
|
||
################################# | ||
# | ||
# Declarations | ||
# | ||
|
||
type switcheroo_control_t; | ||
type switcheroo_control_exec_t; | ||
init_daemon_domain(switcheroo_control_t, switcheroo_control_exec_t) | ||
permissive switcheroo_control_t; | ||
|
||
#type samba_bgqd_var_run_t; | ||
#files_pid_file(samba_bgqd_var_run_t) |