Searched defs:remote_host (Results 1 - 6 of 6) sorted by relevance

/systemd/src/libsystemd/sd-login/
H A Dtest-login.c37 char *seat, *type, *class, *display, *remote_user, *remote_host, *display_session, *cgroup; local
126 remote_host = NULL;
127 r = sd_session_get_remote_host(session, &remote_host);
129 printf("remote_host = %s\n", strna(remote_host));
130 free(remote_host);
H A Dsd-login.c634 _public_ int sd_session_get_remote_host(const char *session, char **remote_host) { argument
635 return session_get_string(session, "REMOTE_HOST", remote_host);
/systemd/src/login/
H A Dlogind-session.h86 char *remote_host; member in struct:Session
H A Dpam_systemd.c227 *remote_user = NULL, *remote_host = NULL, local
291 pam_get_item(handle, PAM_RHOST, (const void**) &remote_host);
367 remote = !isempty(remote_host) && !is_localhost(remote_host);
379 "uid="UID_FMT" pid="PID_FMT" service=%s type=%s class=%s desktop=%s seat=%s vtnr=%"PRIu32" tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
384 yes_no(remote), strempty(remote_user), strempty(remote_host));
406 remote_host,
H A Dloginctl.c290 char *remote_host; member in struct:SessionStatusInfo
324 free(info->remote_host);
425 { "RemoteHost", "s", NULL, offsetof(SessionStatusInfo, remote_host) },
498 if (i.remote_host && i.remote_user)
499 printf("\t Remote: %s@%s\n", i.remote_user, i.remote_host);
500 else if (i.remote_host)
501 printf("\t Remote: %s\n", i.remote_host);
H A Dlogind-dbus.c576 const char *service, *type, *class, *cseat, *tty, *display, *remote_user, *remote_host, *desktop; local
597 r = sd_bus_message_read(message, "uusssssussbss", &uid, &leader, &service, &type, &class, &desktop, &cseat, &vtnr, &tty, &display, &remote, &remote_user, &remote_host);
798 if (!isempty(remote_host)) {
799 session->remote_host = strdup(remote_host);
800 if (!session->remote_host) {

Completed in 36 milliseconds