/freebsd-13-stable/usr.sbin/utx/ |
H A D | utx.c | 63 if (len <= sizeof(utx.ut_id)) { 65 strncpy(utx.ut_id, *id, sizeof(utx.ut_id)); 66 } else if (len != sizeof(utx.ut_id) * 2 || 67 b16_pton(*id, utx.ut_id, sizeof(utx.ut_id)) != 0) {
|
/freebsd-13-stable/lib/libpam/modules/pam_lastlog/ |
H A D | pam_lastlog.c | 123 id = malloc(sizeof utl.ut_id); 128 arc4random_buf(id, sizeof utl.ut_id); 138 memcpy(utl.ut_id, id, sizeof utl.ut_id); 169 memcpy(utl.ut_id, id, sizeof utl.ut_id);
|
/freebsd-13-stable/contrib/opie/libopie/ |
H A D | logwtmp.c | 18 Added support for ut_id and ut_syslen. 148 strncpy(ut.ut_id, id, sizeof(ut.ut_id)); 180 strncpy(utx.ut_id, id, sizeof(utx.ut_id));
|
H A D | login.c | 11 Modified by cmetz for OPIE 2.4. Add support for ut_id and 68 strncpy(id, u.ut_id, sizeof(u.ut_id));
|
/freebsd-13-stable/lib/libulog/ |
H A D | ulog_login.c | 62 memcpy(utx->ut_id, id, MIN(sizeof utx->ut_id, sizeof id));
|
/freebsd-13-stable/libexec/ftpd/ |
H A D | logwtmp.c | 75 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id));
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | utxdb.c | 47 memcpy((fu)->fu_id, (ut)->ut_id, \ 48 MIN(sizeof (fu)->fu_id, sizeof (ut)->ut_id)); \ 112 memcpy((ut)->ut_id, (fu)->fu_id, \ 113 MIN(sizeof (ut)->ut_id, sizeof (fu)->fu_id)); \
|
H A D | getutxent.c | 183 if (memcmp(fu.fu_id, id->ut_id, 184 MIN(sizeof(fu.fu_id), sizeof(id->ut_id))) ==
|
/freebsd-13-stable/include/ |
H A D | utmpx.h | 46 char ut_id[8]; /* Record identifier. */ member in struct:utmpx
|
/freebsd-13-stable/crypto/heimdal/appl/login/ |
H A D | utmpx_login.c | 37 strncpy(ut->ut_id, make_id(clean_tty), sizeof(ut->ut_id));
|
H A D | utmp_login.c | 121 strncpy(utmp->ut_id, make_id(ttyx), sizeof(utmp->ut_id));
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | id.c | 212 (int)sizeof ut->ut_id, ut->ut_id, 225 (int)sizeof ut->ut_id, ut->ut_id);
|
H A D | physical.c | 343 snprintf(ut.ut_id, sizeof ut.ut_id, "%xppp", (int)getpid()); 908 snprintf(ut.ut_id, sizeof ut.ut_id, "%xppp", (int)getpid());
|
/freebsd-13-stable/usr.bin/last/ |
H A D | last.c | 87 char id[sizeof ((struct utmpx *)0)->ut_id]; /* identifier */ 346 if (!memcmp(tt->id, bp->ut_id, sizeof bp->ut_id)) 355 memcpy(tt->id, bp->ut_id, sizeof bp->ut_id);
|
/freebsd-13-stable/usr.sbin/ac/ |
H A D | ac.c | 54 char id[sizeof(((struct utmpx *)0)->ut_id)]; 326 memcmp(lp->id, up->ut_id, sizeof(up->ut_id)) == 0)) { 397 memcpy(lp->id, up->ut_id, sizeof(lp->id));
|
/freebsd-13-stable/bin/date/ |
H A D | date.c | 346 memset(utx.ut_id, 0, sizeof(utx.ut_id));
|
/freebsd-13-stable/crypto/openssh/ |
H A D | loginrec.c | 659 line_abbrevname(ut->ut_id, li->line, sizeof(ut->ut_id)); 747 line_abbrevname(utx->ut_id, li->line, sizeof(utx->ut_id)); 1046 line_abbrevname(utx.ut_id, li->line, sizeof(utx.ut_id));
|
/freebsd-13-stable/crypto/heimdal/appl/telnet/telnetd/ |
H A D | sys_term.c | 1085 * Generate a name usable as an `ut_id', typically without `tty'. 1163 strncpy(wtmp.ut_id, wtmp.ut_line + 3, sizeof(wtmp.ut_id)); 1302 strncpy(utmpx.ut_id, make_id(clean_tty), sizeof(utmpx.ut_id));
|
/freebsd-13-stable/usr.bin/getent/ |
H A D | getent.c | 624 for (i = 0; i < sizeof ut->ut_id; i++) \ 625 printf("%02hhx", ut->ut_id[i]); \
|
/freebsd-13-stable/contrib/opie/ |
H A D | configure | 2549 echo $ac_n "checking for ut_id in struct utmp""... $ac_c" 1>&6 2550 echo "configure:2551: checking for ut_id in struct utmp" >&5 2557 struct utmp foo; return (int)foo.ut_id[0];
|
/freebsd-13-stable/crypto/heimdal/ |
H A D | configure | 27191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_id in struct utmp" >&5 27192 $as_echo_n "checking for ut_id in struct utmp... " >&6; } 27203 struct utmp x; memset(&x, 0, sizeof(x)); x.ut_id 27381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_id in struct utmpx" >&5 27382 $as_echo_n "checking for ut_id in struct utmpx... " >&6; } 27393 struct utmpx x; memset(&x, 0, sizeof(x)); x.ut_id
|