File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ interface(`auth_use_pam_systemd',`
9292 systemd_dbus_chat_logind($1)
9393 systemd_read_logind_state($1)
9494 systemd_use_logind_fds($1)
95+ systemd_connectto_logind_sockets($1)
9596
9697 # to read /etc/machine-id
9798 files_read_etc_runtime_files($1)
Original file line number Diff line number Diff line change @@ -1470,6 +1470,25 @@ interface(`systemd_use_logind_fds',`
14701470 allow $1 systemd_logind_t:fd use;
14711471')
14721472
1473+ ######################################
1474+ ## <summary>
1475+ ## Connect to systemd logind
1476+ ## sockets.
1477+ ## </summary>
1478+ ## <param name="domain">
1479+ ## <summary>
1480+ ## Domain allowed access.
1481+ ## </summary>
1482+ ## </param>
1483+ #
1484+ interface(`systemd_connectto_logind_sockets',`
1485+ gen_require(`
1486+ type systemd_logind_t;
1487+ ')
1488+
1489+ allow $1 systemd_logind_t:unix_stream_socket connectto;
1490+ ')
1491+
14731492######################################
14741493## <summary>
14751494## Watch logind sessions dirs.
You can’t perform that action at this time.
0 commit comments