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

Allow for confined users login into graphic session #346

Open
wants to merge 1 commit into
base: rawhide
Choose a base branch
from
Open
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
6 changes: 5 additions & 1 deletion dbus.if
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ template(`dbus_role_template',`
allow $3 $1_dbusd_t:process { noatsecure rlimitinh siginh };
allow $1_dbusd_t $3:dbus send_msg;
allow $3 $1_dbusd_t:dbus send_msg;
allow $1_dbusd_t $3:system start;
allow $1_dbusd_t $3:system { start reload };
allow $1_dbusd_t session_dbusd_tmp_t:service { start stop };
allow $3 session_dbusd_tmp_t:dir manage_dir_perms;
allow $3 session_dbusd_tmp_t:file manage_file_perms;
Expand All @@ -122,8 +122,12 @@ template(`dbus_role_template',`

auth_use_nsswitch($1_dbusd_t)

files_config_all_files($1_dbusd_t)

logging_send_syslog_msg($1_dbusd_t)

systemd_start_systemd_services($1_dbusd_t)

dontaudit $1_dbusd_t self:capability net_admin;

optional_policy(`
Expand Down
2 changes: 2 additions & 0 deletions gnome.if
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ template(`gnome_role_template',`

allow $1_gkeyringd_t $3:unix_stream_socket { connectto create_stream_socket_perms };

allow $1_gkeyringd_t self:process setsched;

domtrans_pattern($3, gkeyringd_exec_t, $1_gkeyringd_t)

allow $3 { gnome_home_type gkeyringd_tmp_t gconf_tmp_t }:dir { relabel_dir_perms manage_dir_perms };
Expand Down