/freebsd-10-stable/usr.sbin/utx/ |
H A D | utx.c | 61 if (len <= sizeof(utx.ut_id)) { 63 strncpy(utx.ut_id, *id, sizeof(utx.ut_id)); 64 } else if (len != sizeof(utx.ut_id) * 2 || 65 b16_pton(*id, utx.ut_id, sizeof(utx.ut_id)) != 0) {
|
/freebsd-10-stable/lib/libpam/modules/pam_lastlog/ |
H A D | pam_lastlog.c | 121 id = malloc(sizeof utl.ut_id); 126 arc4random_buf(id, sizeof utl.ut_id); 136 memcpy(utl.ut_id, id, sizeof utl.ut_id); 167 memcpy(utl.ut_id, id, sizeof utl.ut_id);
|
/freebsd-10-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-10-stable/lib/libulog/ |
H A D | ulog_login.c | 60 memcpy(utx->ut_id, id, MIN(sizeof utx->ut_id, sizeof id));
|
/freebsd-10-stable/libexec/ftpd/ |
H A D | logwtmp.c | 73 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id));
|
/freebsd-10-stable/include/ |
H A D | utmpx.h | 44 char ut_id[8]; /* Record identifier. */ member in struct:utmpx
|
/freebsd-10-stable/lib/libc/gen/ |
H A D | utxdb.c | 45 memcpy((fu)->fu_id, (ut)->ut_id, \ 46 MIN(sizeof (fu)->fu_id, sizeof (ut)->ut_id)); \ 110 memcpy((ut)->ut_id, (fu)->fu_id, \ 111 MIN(sizeof (ut)->ut_id, sizeof (fu)->fu_id)); \
|
H A D | getutxent.c | 186 if (memcmp(fu.fu_id, id->ut_id, 187 MIN(sizeof(fu.fu_id), sizeof(id->ut_id))) ==
|
/freebsd-10-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-10-stable/usr.sbin/ppp/ |
H A D | id.c | 210 (int)sizeof ut->ut_id, ut->ut_id, 223 (int)sizeof ut->ut_id, ut->ut_id);
|
H A D | physical.c | 350 snprintf(ut.ut_id, sizeof ut.ut_id, "%xppp", (int)getpid()); 919 snprintf(ut.ut_id, sizeof ut.ut_id, "%xppp", (int)getpid());
|
/freebsd-10-stable/usr.bin/last/ |
H A D | last.c | 80 char id[sizeof ((struct utmpx *)0)->ut_id]; /* identifier */ 284 if (!memcmp(tt->id, bp->ut_id, sizeof bp->ut_id)) 293 memcpy(tt->id, bp->ut_id, sizeof bp->ut_id);
|
/freebsd-10-stable/usr.sbin/ac/ |
H A D | ac.c | 52 char id[sizeof(((struct utmpx *)0)->ut_id)]; 324 memcmp(lp->id, up->ut_id, sizeof(up->ut_id)) == 0)) { 395 memcpy(lp->id, up->ut_id, sizeof(lp->id));
|
/freebsd-10-stable/crypto/openssh/ |
H A D | loginrec.c | 658 line_abbrevname(ut->ut_id, li->line, sizeof(ut->ut_id)); 752 line_abbrevname(utx->ut_id, li->line, sizeof(utx->ut_id)); 1051 line_abbrevname(utx.ut_id, li->line, sizeof(utx.ut_id));
|
/freebsd-10-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-10-stable/usr.bin/getent/ |
H A D | getent.c | 622 for (i = 0; i < sizeof ut->ut_id; i++) \ 623 printf("%02hhx", ut->ut_id[i]); \
|
/freebsd-10-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-10-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
|