Home
last modified time | relevance | path

Searched refs:ut_host (Results 1 – 25 of 41) sorted by relevance

12

/NextBSD/crypto/heimdal/appl/ftp/ftpd/
HDlogwtmp.c138 strncpy(ut.ut_host, host, sizeof(ut.ut_host)); in ftpd_logwtmp_wtmp()
146 strncpy(utx.ut_host, host, sizeof(utx.ut_host)); in ftpd_logwtmp_wtmp()
149 if (utx.ut_syslen > sizeof(utx.ut_host)) in ftpd_logwtmp_wtmp()
150 utx.ut_syslen = sizeof(utx.ut_host); in ftpd_logwtmp_wtmp()
/NextBSD/contrib/opie/libopie/
HDinsecure.c134 if (!i && utmp.ut_host[0]) {
135 char host[sizeof(utmp.ut_host) + 1];
138 strncpy(host, utmp.ut_host, sizeof(utmp.ut_host));
139 host[sizeof(utmp.ut_host)] = 0;
HDlogwtmp.c156 strncpy(ut.ut_host, host, sizeof(ut.ut_host));
172 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
183 utx.ut_syslen = strlen(utx.ut_host) + 1;
HDlogin.c86 strncpy(u.ut_host, host, sizeof(u.ut_host));
/NextBSD/crypto/heimdal/appl/login/
HDutmpx_login.c40 shrink_hostname (host, ut->ut_host, sizeof(ut->ut_host)); in utmpx_update()
43 if (ut->ut_syslen > sizeof(ut->ut_host)) in utmpx_update()
44 ut->ut_syslen = sizeof(ut->ut_host); in utmpx_update()
HDutmp_login.c109 shrink_hostname (hostname, utmp->ut_host, sizeof(utmp->ut_host)); in prepare_utmp()
/NextBSD/crypto/openssh/
HDloginrec.c696 strncpy(ut->ut_host, li->hostname, in construct_utmp()
697 MIN_SIZEOF(ut->ut_host, li->hostname)); in construct_utmp()
778 strncpy(utx->ut_host, li->hostname, in construct_utmpx()
779 MIN_SIZEOF(utx->ut_host, li->hostname)); in construct_utmpx()
801 utx->ut_syslen = MIN(strlen(li->hostname), sizeof(utx->ut_host)); in construct_utmpx()
890 (ut->ut_host[0] == '\0') && (old_ut.ut_host[0] != '\0') && in utmp_write_direct()
893 memcpy(ut->ut_host, old_ut.ut_host, sizeof(ut->ut_host)); in utmp_write_direct()
1230 strlcpy(li->hostname, ut.ut_host, in wtmp_get_entry()
1231 MIN_SIZEOF(li->hostname, ut.ut_host)); in wtmp_get_entry()
1392 strlcpy(li->hostname, utx.ut_host, in wtmpx_get_entry()
[all …]
/NextBSD/lib/libpam/modules/pam_lastlog/
HDpam_lastlog.c110 if (*utx->ut_host != '\0') in pam_sm_open_session()
112 24 - 5, ctime(&t), utx->ut_host); in pam_sm_open_session()
140 strncpy(utl.ut_host, rhost, sizeof utl.ut_host); in pam_sm_open_session()
/NextBSD/libexec/ftpd/
HDlogwtmp.c64 realhostname_sa(ut.ut_host, sizeof(ut.ut_host), in ftpd_logwtmp()
/NextBSD/include/rpcsvc/
HDrnusers.x51 string ut_host<MAXUTLEN>;
72 string ut_host<RUSERS_MAXHOSTLEN>; /* host user logged on from */
/NextBSD/lib/libulog/
HDulog_login.c72 strncpy(utx.ut_host, host, sizeof utx.ut_host); in ulog_login()
/NextBSD/libexec/rpc.rusersd/
HDrusers_proc.c171 getidle(usr->ut_line, usr->ut_host); in do_names_2()
176 utmp_idle[nusers].ui_utmp.ut_host = in do_names_2()
177 utmp_list[nusers].ut_host; in do_names_2()
/NextBSD/crypto/heimdal/appl/telnet/telnetd/
HDsys_term.c57 int utmp_len = sizeof(wtmp.ut_host);
1160 strncpy(wtmp.ut_host, utmp_host, sizeof(wtmp.ut_host)); in startslave()
1469 strncpy(wtmp.ut_host, "", sizeof(wtmp.ut_host)); in rmut()
1513 strncpy(u->ut_host, "", sizeof(u->ut_host)); in rmut()
1528 strncpy(wtmp.ut_host, "", sizeof(wtmp.ut_host)); in rmut()
/NextBSD/contrib/tcsh/
HDtc.who.c50 # define UTHOSTLEN sizeof(((struct utmpx *) 0)->ut_host)
105 # define UTHOSTLEN sizeof(((struct utmp *) 0)->ut_host)
117 # define UTHOSTLEN sizeof(__ut.ut_host)
362 (void) strncpy(wp->who_host, utmp.ut_host, UTHOSTLEN);
383 (void) strncpy(wpnew->who_host, utmp.ut_host, UTHOSTLEN);
/NextBSD/usr.bin/who/
HDwho.c206 if (*ut->ut_host != '\0') in row()
207 printf("(%s)", ut->ut_host); in row()
/NextBSD/usr.sbin/ppp/
HDid.c213 (int)sizeof ut->ut_host, ut->ut_host); in ID0login()
HDphysical.c923 strncpy(ut.ut_host, p->name.base, sizeof ut.ut_host); in physical_Login()
924 colon = memchr(ut.ut_host, ':', sizeof ut.ut_host); in physical_Login()
931 strncpy(ut.ut_host, connstr, sizeof ut.ut_host); in physical_Login()
/NextBSD/usr.bin/rusers/
HDrusers.c151 strncpy(remote, up->utmpidlearr_val[x].ui_utmp.ut_host, in rusers_reply()
155 up->utmpidlearr_val[x].ui_utmp.ut_host); in rusers_reply()
/NextBSD/include/
HDutmp.h94 char ut_host[UT_HOSTSIZE]; member
HDutmpx.h49 char ut_host[128]; /* Remote hostname. */ member
/NextBSD/usr.bin/finger/
HDfinger.h62 char host[sizeof ((struct utmpx *)0)->ut_host]; /* host name */
HDutil.c135 strcpy(w->host, ut->ut_host); in enter_lastlog()
149 strcpy(w->host, ut->ut_host); in enter_where()
/NextBSD/crypto/openssh/openbsd-compat/
HDbsd-cray.c702 strncpy(ut->ut_host, utmp.ut_host, sizeof(utmp.ut_host)); in cray_retain_utmp()
/NextBSD/usr.sbin/lastlogin/
HDlastlogin.c144 u->ut_user, u->ut_line, u->ut_host, ctime(&t)); in output()
/NextBSD/usr.bin/last/
HDlast.c347 bp->ut_user, bp->ut_line, bp->ut_host); in printentry()
401 if (!strcasecmp(step->name, bp->ut_host)) in want()

12