/systemd-251/shell-completion/zsh/ |
D | _loginctl | 7 loginctl --no-legend list-sessions | while read -r session description; do 47 if zstyle -T ":completion:${curcontext}:systemd-sessions" verbose; then 48 _describe -t systemd-sessions session _sys_all_sessions_descr _sys_all_sessions "$@" 51 _wanted systemd-sessions expl session compadd "$@" -a _sys_all_sessions 117 # [STANDALONE]='list-sessions list-users list-seats flush-devices' 123 "list-sessions:List sessions" 125 "show-session:Show properties of one or more sessions" 127 "lock-session:Screen lock one or more sessions" 128 "unlock-session:Screen unlock one or more sessions" 129 "lock-sessions:Screen lock all current sessions" [all …]
|
/systemd-251/src/libsystemd/sd-login/ |
D | test-login.c | 49 char *t, **seats = NULL, **sessions = NULL; in TEST() local 86 r = sd_uid_get_sessions(u2, false, &sessions); in TEST() 87 assert_se(t = strv_join(sessions, " ")); in TEST() 93 assert_se(r == (int) strv_length(sessions)); in TEST() 95 sessions = strv_free(sessions); in TEST() 201 r = sd_seat_get_sessions(seat, &sessions, &uids, &n); in TEST() 203 assert_se(r == (int) strv_length(sessions)); in TEST() 204 assert_se(t = strv_join(sessions, " ")); in TEST() 205 strv_free(sessions); in TEST() 228 r = sd_get_sessions(&sessions); in TEST() [all …]
|
D | sd-login.c | 394 _public_ int sd_uid_get_sessions(uid_t uid, int require_active, char ***sessions) { in sd_uid_get_sessions() argument 400 sessions); in sd_uid_get_sessions() 656 _cleanup_strv_free_ char **sessions = NULL; in sd_seat_get_sessions() local 674 sessions = strv_split(session_line, NULL); in sd_seat_get_sessions() 675 if (!sessions) in sd_seat_get_sessions() 678 n_sessions = strv_length(sessions); in sd_seat_get_sessions() 706 *ret_sessions = TAKE_PTR(sessions); in sd_seat_get_sessions() 761 _public_ int sd_get_sessions(char ***sessions) { in sd_get_sessions() argument 764 r = get_files_in_directory("/run/systemd/sessions/", sessions); in sd_get_sessions() 766 if (sessions) in sd_get_sessions() [all …]
|
/systemd-251/src/login/ |
D | logind-user.c | 114 while (u->sessions) in user_free() 115 session_free(u->sessions); in user_free() 191 if (u->sessions) { in user_save_internal() 196 LIST_FOREACH(sessions_by_user, i, u->sessions) { in user_save_internal() 207 LIST_FOREACH(sessions_by_user, i, u->sessions) { in user_save_internal() 221 LIST_FOREACH(sessions_by_user, i, u->sessions) { in user_save_internal() 235 LIST_FOREACH(sessions_by_user, i, u->sessions) { in user_save_internal() 249 LIST_FOREACH(sessions_by_user, i, u->sessions) { in user_save_internal() 263 LIST_FOREACH(sessions_by_user, i, u->sessions) { in user_save_internal() 518 LIST_FOREACH(sessions_by_user, s, u->sessions) { in user_stop() [all …]
|
D | logind-seat.c | 68 while (s->sessions) in seat_free() 69 session_free(s->sessions); in seat_free() 124 if (s->sessions) { in seat_save() 126 LIST_FOREACH(sessions_by_seat, i, s->sessions) { in seat_save() 134 LIST_FOREACH(sessions_by_seat, i, s->sessions) in seat_save() 358 LIST_FOREACH(sessions_by_seat, i, s->sessions) in seat_active_vt_changed() 367 LIST_FOREACH(sessions_by_seat, i, s->sessions) in seat_active_vt_changed() 466 LIST_FOREACH(sessions_by_seat, session, s->sessions) { in seat_stop_sessions() 489 LIST_FOREACH(sessions_by_seat, iter, s->sessions) in seat_evict_position() 534 LIST_PREPEND(sessions_by_seat, s->sessions, session); in seat_attach_session() [all …]
|
D | loginctl.c | 352 char **sessions; member 360 char **sessions; member 365 strv_free(info->sessions); in user_status_info_clear() 372 strv_free(info->sessions); in seat_status_info_clear() 572 …ons", "a(so)", prop_map_sessions_strv, offsetof(UserStatusInfo, sessions) }, in print_user_status_info() 603 if (!strv_isempty(i.sessions)) { in print_user_status_info() 606 STRV_FOREACH(l, i.sessions) in print_user_status_info() 643 … { "Sessions", "a(so)", prop_map_sessions_strv, offsetof(SeatStatusInfo, sessions) }, in print_seat_status_info() 663 if (!strv_isempty(i.sessions)) { in print_seat_status_info() 666 STRV_FOREACH(l, i.sessions) { in print_seat_status_info()
|
D | logind.c | 63 m->sessions = hashmap_new(&string_hash_ops); in manager_new() 72 …if (!m->devices || !m->seats || !m->sessions || !m->sessions_by_leader || !m->users || !m->inhibit… in manager_new() 106 while ((session = hashmap_first(m->sessions))) in manager_unref() 126 hashmap_free(m->sessions); in manager_unref() 411 s = hashmap_get(m->sessions, id); in deliver_fd() 738 LIST_FOREACH(sessions_by_seat, iter, m->seat0->sessions) in manager_vt_switch() 1109 HASHMAP_FOREACH(session, m->sessions) in manager_startup()
|
D | logind-seat-dbus.c | 69 LIST_FOREACH(sessions_by_seat, session, s->sessions) { in property_get_sessions() 175 session = hashmap_get(s->manager->sessions, name); in method_activate_session() 347 session = hashmap_get(m->sessions, name); in seat_node_enumerator()
|
D | logind-user.h | 49 LIST_HEAD(Session, sessions);
|
D | logind-session.c | 80 r = hashmap_put(m->sessions, s->id, s); in session_new() 107 LIST_REMOVE(sessions_by_user, s->user->sessions, s); in session_free() 122 LIST_REMOVE(sessions_by_seat, s->seat->sessions, s); in session_free() 144 hashmap_remove(s->manager->sessions, s->id); in session_free() 162 LIST_PREPEND(sessions_by_user, u->sessions, s); in session_set_user()
|
D | logind-seat.h | 19 LIST_HEAD(Session, sessions);
|
D | logind-dbus.c | 119 session = hashmap_get(m->sessions, name); in get_sender_session() 148 session = hashmap_get(m->sessions, name); in manager_get_session_from_creds() 557 HASHMAP_FOREACH(session, m->sessions) { in method_list_sessions() 860 if (hashmap_size(m->sessions) >= m->sessions_max) in method_create_session() 874 if (hashmap_contains(m->sessions, id)) { in method_create_session() 888 } while (hashmap_contains(m->sessions, id)); in method_create_session() 1507 HASHMAP_FOREACH(session, m->sessions) in have_multiple_sessions() 3394 …D_BUS_PROPERTY("NCurrentSessions", "t", property_get_hashmap_size, offsetof(Manager, sessions), 0), 3424 SD_BUS_RESULT("a(susso)", sessions), 3810 LIST_FOREACH(sessions_by_user, s, user->sessions) in match_job_removed() [all …]
|
/systemd-251/units/ |
D | systemd-user-sessions.service.in | 12 Documentation=man:systemd-user-sessions.service(8) 18 ExecStart={{ROOTLIBEXECDIR}}/systemd-user-sessions start 19 ExecStop={{ROOTLIBEXECDIR}}/systemd-user-sessions stop
|
D | systemd-homed-activate.service | 14 Before=systemd-user-sessions.service
|
D | user-runtime-dir@.service.in | 13 After=systemd-user-sessions.service dbus.service
|
D | systemd-ask-password-wall.service | 13 After=systemd-user-sessions.service
|
D | user@.service.in | 13 After=systemd-user-sessions.service user-runtime-dir@%i.service dbus.service
|
D | console-getty.service.in | 13 After=systemd-user-sessions.service plymouth-quit-wait.service
|
D | container-getty@.service.in | 14 After=systemd-user-sessions.service plymouth-quit-wait.service
|
D | serial-getty@.service.in | 15 After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service getty-pre.target
|
/systemd-251/shell-completion/bash/ |
D | loginctl | 28 __get_all_sessions () { loginctl --no-legend list-sessions | { while read -r a b; do printf "%s\n" … 84 … [STANDALONE]='list-sessions lock-sessions unlock-sessions list-users list-seats flush-devices'
|
/systemd-251/src/systemd/ |
D | sd-login.h | 128 int sd_uid_get_sessions(uid_t uid, int require_active, char ***sessions); 210 int sd_get_sessions(char ***sessions);
|
/systemd-251/src/systemctl/ |
D | systemctl-logind.c | 110 _cleanup_strv_free_ char **sessions = NULL; in logind_check_inhibitors() local 185 sd_get_sessions(&sessions); in logind_check_inhibitors() 186 STRV_FOREACH(s, sessions) { in logind_check_inhibitors()
|
/systemd-251/units/user-.slice.d/ |
D | 10-defaults.conf | 13 After=systemd-user-sessions.service
|
/systemd-251/po/ |
D | ca.po | 99 #| "Authentication is required to manage active sessions, users and seats." 103 "Es requereix autenticació per gestionar les sessions, usuaris i llocs de " 134 #| "Authentication is required to manage active sessions, users and seats." 138 "Es requereix autenticació per gestionar les sessions, usuaris i llocs de " 564 msgid "Manage active sessions, users and seats" 565 msgstr "Gestiona les sessions, usuaris i llocs de treball actius" 568 msgid "Authentication is required to manage active sessions, users and seats." 570 "Es requereix autenticació per gestionar les sessions, usuaris i llocs de " 574 msgid "Lock or unlock active sessions" 575 msgstr "Bloqueja o desbloqueja les sessions actives" [all …]
|