Searched refs:ut_id (Results 1 - 10 of 10) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dutmp.c85 if ((size_t)(t - tty) >= sizeof(utmpx->ut_id)) {
86 (void)strncpy(utmpx->ut_id, t - sizeof(utmpx->ut_id),
87 sizeof(utmpx->ut_id));
89 (void)strncpy(utmpx->ut_id, tty, sizeof(utmpx->ut_id));
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dsshlogin.c230 /* XXX: need ut_id, use last 4 char of tty */
231 if (strlen(tty) > sizeof(ux.ut_id)) {
232 strncpy(ux.ut_id,
233 tty + strlen(tty) - sizeof(ux.ut_id),
234 sizeof(ux.ut_id));
236 strncpy(ux.ut_id, tty, sizeof(ux.ut_id));
/netbsd-6-1-5-RELEASE/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c288 if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) {
289 (void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id),
290 sizeof(utmpx.ut_id));
292 (void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id));
/netbsd-6-1-5-RELEASE/usr.bin/login/
H A Dcommon.c254 if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) {
255 (void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id),
256 sizeof(utmpx.ut_id));
258 (void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id));
/netbsd-6-1-5-RELEASE/include/
H A Dutmpx.h105 char ut_id[_UTX_IDSIZE]; /* inittab id */ member in struct:utmpx
/netbsd-6-1-5-RELEASE/lib/libc/compat/include/
H A Dutmpx.h38 char ut_id[_UTX_IDSIZE]; /* inittab id */ member in struct:utmpx50
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dutmpx.c199 if (memcmp(ut.ut_id, utx->ut_id,
200 sizeof(ut.ut_id)) == 0)
/netbsd-6-1-5-RELEASE/sbin/init/
H A Dinit.c1342 if ((size_t)(eline - line) >= sizeof(ut.ut_id))
1343 line = eline - sizeof(ut.ut_id);
1344 (void)strncpy(ut.ut_id, line, sizeof(ut.ut_id));
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Disakmp_cfg.c1675 snprintf(ut.ut_id, sizeof ut.ut_id, TERMSPEC, port);
1687 ut.ut_user, ut.ut_id, addr);
1697 usr, ut.ut_id);
/netbsd-6-1-5-RELEASE/libexec/ftpd/
H A Dftpd.c1219 utmpx.ut_id[0] = 'f';
1220 utmpx.ut_id[1] = 't';
1221 utmpx.ut_id[2] = 'p';
1222 utmpx.ut_id[3] = '*';

Completed in 284 milliseconds