Skip to content

Commit

Permalink
Merge pull request #851 from WavyEbuilder/misc-fixes
Browse files Browse the repository at this point in the history
Misc fixes
  • Loading branch information
pebenito authored Jan 13, 2025
2 parents 6186373 + c74cb85 commit 94d9ea4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/admin/bootloader.te
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ ifdef(`distro_redhat',`
ifdef(`init_systemd',`
# these rules are required by systemd-boot-update
fs_getattr_cgroup(bootloader_t)
fs_getattr_nsfs_files(bootloader_t)
init_read_state(bootloader_t)
init_rw_inherited_stream_socket(bootloader_t)

Expand Down
1 change: 1 addition & 0 deletions policy/modules/services/networkmanager.fc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
/etc/wicd/wireless-settings\.conf -- gen_context(system_u:object_r:NetworkManager_etc_rw_t, s0)
/etc/wicd/wired-settings\.conf -- gen_context(system_u:object_r:NetworkManager_etc_rw_t, s0)

/usr/lib/NetworkManager/dispatcher\.d(/.*)? -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
/usr/lib/NetworkManager/nm-dispatcher.* -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
/usr/lib/networkmanager/nm-dispatcher.* -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
/usr/libexec/nm-dispatcher.* -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
Expand Down
1 change: 1 addition & 0 deletions policy/modules/system/logging.te
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ ifdef(`init_systemd',`
domain_read_all_domains_state(syslogd_t)

fs_list_cgroup_dirs(syslogd_t)
fs_getattr_nsfs_files(syslogd_t)
fs_watch_memory_pressure(syslogd_t)
fs_getattr_nsfs_files(syslogd_t)

Expand Down
1 change: 1 addition & 0 deletions policy/modules/system/lvm.te
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ sysnet_write_config(lvm_t)
userdom_use_inherited_user_terminals(lvm_t)

ifdef(`init_systemd',`
fs_getattr_nsfs_files(lvm_t)
fs_list_pstore_dirs(lvm_t)
fs_manage_hugetlbfs_dirs(lvm_t)
fs_search_cgroup_dirs(lvm_t)
Expand Down
2 changes: 2 additions & 0 deletions policy/modules/system/systemd.te
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,7 @@ files_read_usr_files(systemd_locale_t)

fs_getattr_all_fs(systemd_locale_t)
fs_search_cgroup_dirs(systemd_locale_t)
fs_getattr_nsfs_files(systemd_locale_t)

init_stream_connect(systemd_locale_t)

Expand Down Expand Up @@ -1557,6 +1558,7 @@ manage_sock_files_pattern(systemd_nsresourced_t, systemd_nsresourced_runtime_t,
init_runtime_filetrans(systemd_nsresourced_t, systemd_nsresourced_runtime_t, dir)

fs_getattr_cgroup(systemd_nsresourced_t)
fs_getattr_nsfs_files(systemd_nsresourced_t)

# for /proc/1/environ
init_read_state(systemd_nsresourced_t)
Expand Down

0 comments on commit 94d9ea4

Please sign in to comment.