| /netbsd/src/lib/libc/compat/include/ |
| D | utmpx.h | 63 utmpx50_to_utmpx(const struct utmpx50 *ut50, struct utmpx *ut) in utmpx50_to_utmpx() 70 utmpx_to_utmpx50(const struct utmpx *ut, struct utmpx50 *ut50) in utmpx_to_utmpx50() 77 struct utmpx *__getutxent50(void); 79 struct utmpx *__getutxid50(const struct utmpx *); 81 struct utmpx *__getutxline50(const struct utmpx *); 83 struct utmpx *__pututxline50(const struct utmpx *); 85 int __updwtmpx50(const char *, const struct utmpx *); 90 void __getutmp50(const struct utmpx *, struct utmp *); 92 void __getutmpx50(const struct utmp *, struct utmpx *);
|
| /netbsd/src/usr.bin/login/ |
| D | common.c | 241 struct utmpx utmpx; in doutmpx() local 244 memset((void *)&utmpx, 0, sizeof(utmpx)); in doutmpx() 245 utmpx.ut_tv = now; in doutmpx() 246 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name)); in doutmpx() 248 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host)); in doutmpx() 249 utmpx.ut_ss = ss; in doutmpx() 251 (void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line)); in doutmpx() 252 utmpx.ut_type = USER_PROCESS; in doutmpx() 253 utmpx.ut_pid = getpid(); in doutmpx() 255 if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) { in doutmpx() [all …]
|
| /netbsd/src/include/ |
| D | utmpx.h | 103 struct utmpx { struct 135 struct utmpx *getutxent(void) __RENAME(__getutxent50); argument 136 struct utmpx *getutxid(const struct utmpx *) __RENAME(__getutxid50); 137 struct utmpx *getutxline(const struct utmpx *) __RENAME(__getutxline50); 138 struct utmpx *pututxline(const struct utmpx *) __RENAME(__pututxline50); 143 int updwtmpx(const char *, const struct utmpx *) __RENAME(__updwtmpx50); 149 void getutmp(const struct utmpx *, struct utmp *) __RENAME(__getutmp50); 150 void getutmpx(const struct utmp *, struct utmpx *) __RENAME(__getutmpx50);
|
| D | util.h | 70 struct utmpx; 90 void loginx(const struct utmpx *) __RENAME(__loginx50);
|
| /netbsd/src/lib/libpam/modules/pam_lastlog/ |
| D | pam_lastlog.c | 274 struct utmpx utmpx; in doutmpx() local 277 memset((void *)&utmpx, 0, sizeof(utmpx)); in doutmpx() 278 utmpx.ut_tv = *now; in doutmpx() 279 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name)); in doutmpx() 281 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host)); in doutmpx() 283 utmpx.ut_ss = *ss; in doutmpx() 285 (void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line)); in doutmpx() 286 utmpx.ut_type = USER_PROCESS; in doutmpx() 287 utmpx.ut_pid = getpid(); in doutmpx() 289 if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) { in doutmpx() [all …]
|
| /netbsd/src/lib/libc/gen/ |
| D | utmpx.c | 60 static struct utmpx ut; 63 static struct utmpx *utmp_update(const struct utmpx *); 73 old2new(struct utmpx *utx) in old2new() 83 new2old(struct utmpx *utx) in new2old() 117 struct utmpx * 169 struct utmpx * 170 getutxid(const struct utmpx *utx) in getutxid() 216 struct utmpx * 217 getutxline(const struct utmpx *utx) in getutxline() 240 struct utmpx * [all …]
|
| /netbsd/src/lib/libc/compat/gen/ |
| D | compat_utmpx.c | 69 cvt(struct utmpx *ut) in cvt() 104 struct utmpx ut; in getutxid() 112 struct utmpx ut; in getutxline() 120 struct utmpx ut; in pututxline() 128 struct utmpx ut; in updwtmpx() 183 struct utmpx utx; in getutmp() 191 struct utmpx utx; in getutmpx()
|
| /netbsd/src/share/man/man5/ |
| D | Makefile | 19 utmp.5 utmpx.5 veriexec.5 weekly.5 wscons.conf.5 28 MLINKS+=utmpx.5 wtmpx.5 utmpx.5 lastlogx.5
|
| /netbsd/src/libexec/ftpd/ |
| D | logwtmp.c | 121 struct utmpx ut; in ftpd_logwtmpx() 139 if(write(fdx, (char *)&ut, sizeof(struct utmpx)) != in ftpd_logwtmpx() 140 sizeof(struct utmpx)) in ftpd_logwtmpx()
|
| D | ftpd.c | 206 static struct utmpx utmpx; /* for utmpx */ variable 1226 (void)memset(&utmpx, 0, sizeof(utmpx)); in login_utmp() 1227 utmpx.ut_tv = tv; in login_utmp() 1228 utmpx.ut_pid = getpid(); in login_utmp() 1229 utmpx.ut_id[0] = 'f'; in login_utmp() 1230 utmpx.ut_id[1] = 't'; in login_utmp() 1231 utmpx.ut_id[2] = 'p'; in login_utmp() 1232 utmpx.ut_id[3] = '*'; in login_utmp() 1233 utmpx.ut_type = USER_PROCESS; in login_utmp() 1234 (void)strncpy(utmpx.ut_name, name, sizeof(utmpx.ut_name)); in login_utmp() [all …]
|
| D | extern.h | 181 struct utmpx; 187 void ftpd_loginx(const struct utmpx *);
|
| D | logutmp.c | 162 ftpd_loginx(const struct utmpx *ut) in ftpd_loginx()
|
| /netbsd/src/lib/libutil/compat/ |
| D | util.h | 44 struct utmpx; 59 void __loginx50(const struct utmpx *);
|
| D | compat_loginx.c | 58 struct utmpx ut; in loginx()
|
| D | compat_logoutx.c | 58 struct utmpx *utp, ut; in logoutx()
|
| /netbsd/src/lib/libc/ |
| D | shlib_version | 18 # - libc/gen/utmpx.c, utmpx.h: remove lastlogxname, __getlastlogx13 -> getlastlogx 19 # - libc/gen/utmpx.c, utmpx.h: add expansion space to struct lastlogx
|
| /netbsd/src/usr.bin/who/ |
| D | utmpentry.c | 64 static void getentryx(struct utmpentry *, struct utmpx *); 178 struct utmpx *utx; in getutentries() 298 getentryx(struct utmpentry *e, struct utmpx *up) in getentryx()
|
| /netbsd/src/libexec/utmp_update/ |
| D | utmp_update.c | 76 struct utmpx *utx; in main() 149 struct utmpx utold, *utoldp; in main()
|
| /netbsd/src/lib/libutil/ |
| D | loginx.c | 50 loginx(const struct utmpx *ut) in loginx()
|
| D | logoutx.c | 58 struct utmpx *utp, ut; in logoutx()
|
| D | logwtmpx.c | 59 struct utmpx ut; in logwtmpx()
|
| /netbsd/src/external/mit/xorg/bin/sessreg/ |
| D | Makefile | 16 __utmp_manpage__ utmpx \
|
| /netbsd/src/distrib/utils/libhack/ |
| D | utmp.c | 21 const struct utmpx *ut; in loginx()
|
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tcsd/ |
| D | platform.c | 117 struct utmpx ut, *utp = NULL; in platform_get_runlevel()
|
| /netbsd/src/external/bsd/tmux/usr.bin/tmux/ |
| D | utempter.c | 63 struct utmpx ut; in doutmpx()
|