Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communicate with locale via dbus #836

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions policy/modules/system/systemd.if
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,27 @@ interface(`systemd_signull_logind',`
allow $1 systemd_logind_t:process signull;
')

########################################
## <summary>
## Send and receive messages from
## systemd locale over dbus.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`systemd_dbus_chat_locale',`
gen_require(`
type systemd_locale_t;
class dbus send_msg;
')

allow $1 systemd_locale_t:dbus send_msg;
allow systemd_locale_t $1:dbus send_msg;
')

########################################
## <summary>
## List the contents of systemd userdb runtime directories.
Expand Down
3 changes: 3 additions & 0 deletions policy/modules/system/systemd.te
Original file line number Diff line number Diff line change
Expand Up @@ -884,12 +884,15 @@ miscfiles_read_localization(systemd_journal_init_t)
kernel_read_kernel_sysctls(systemd_locale_t)

files_read_etc_files(systemd_locale_t)
files_read_usr_files(systemd_locale_t)

fs_getattr_all_fs(systemd_locale_t)
fs_search_cgroup_dirs(systemd_locale_t)

init_stream_connect(systemd_locale_t)

miscfiles_read_localization(systemd_locale_t)

selinux_use_status_page(systemd_locale_t)

seutil_read_file_contexts(systemd_locale_t)
Expand Down
Loading