-
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.
Merge branch 'fedora-selinux:rawhide' into systemd-homed
- Loading branch information
Showing
6 changed files
with
50 additions
and
44 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,3 @@ | ||
/usr/libexec/power-profiles-daemon -- gen_context(system_u:object_r:powerprofiles_exec_t,s0) | ||
|
||
/var/lib/power-profiles-daemon(/.*)? gen_context(system_u:object_r:powerprofiles_var_lib_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>Power profiles handling over D-Bus</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,37 @@ | ||
policy_module(powerprofiles, 1.0) | ||
|
||
######################################## | ||
# | ||
# Declarations | ||
# | ||
|
||
type powerprofiles_t; | ||
type powerprofiles_exec_t; | ||
init_daemon_domain(powerprofiles_t, powerprofiles_exec_t) | ||
init_nnp_daemon_domain(powerprofiles_t) | ||
|
||
type powerprofiles_var_lib_t; | ||
files_type(powerprofiles_var_lib_t); | ||
|
||
permissive powerprofiles_t; | ||
|
||
allow powerprofiles_t self:netlink_kobject_uevent_socket create_socket_perms; | ||
|
||
manage_files_pattern(powerprofiles_t, powerprofiles_var_lib_t, powerprofiles_var_lib_t) | ||
|
||
kernel_read_proc_files(powerprofiles_t) | ||
|
||
dev_list_sysfs(powerprofiles_t) | ||
|
||
optional_policy(` | ||
dbus_connect_system_bus(powerprofiles_t) | ||
dbus_system_bus_client(powerprofiles_t) | ||
|
||
optional_policy(` | ||
policykit_dbus_chat(powerprofiles_t) | ||
') | ||
') | ||
|
||
optional_policy(` | ||
udev_search_pids(powerprofiles_t) | ||
') |
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