HomeSort by: relevance | last modified time | path
    Searched refs:utmpx (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/lib/libc/compat/include/
utmpx.h 1 /* $NetBSD: utmpx.h,v 1.3 2009/01/11 02:46:25 christos Exp $ */
63 utmpx50_to_utmpx(const struct utmpx50 *ut50, struct utmpx *ut)
70 utmpx_to_utmpx50(const struct utmpx *ut, struct utmpx50 *ut50)
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 *);
    [all...]
  /src/include/
utmpx.h 1 /* $NetBSD: utmpx.h,v 1.18 2021/08/15 00:36:11 gutteridge Exp $ */
39 #define _PATH_UTMPX "/var/run/utmpx"
82 * The following structure describes the fields of the utmpx entries
103 struct utmpx { struct
135 struct utmpx *getutxent(void) __RENAME(__getutxent50);
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)
    [all...]
util.h 70 struct utmpx;
90 void loginx(const struct utmpx *) __RENAME(__loginx50);
Makefile 25 ucontext.h ulimit.h unistd.h util.h utime.h utmp.h utmpx.h uuid.h \
  /src/lib/libutil/compat/
compat_loginx.c 47 #include <utmpx.h>
48 #include <compat/include/utmpx.h>
58 struct utmpx ut;
util.h 44 struct utmpx;
59 void __loginx50(const struct utmpx *);
compat_logoutx.c 53 #include <utmpx.h>
58 struct utmpx *utp, ut;
  /src/lib/libutil/
loginx.c 47 #include <utmpx.h>
50 loginx(const struct utmpx *ut)
logoutx.c 53 #include <utmpx.h>
58 struct utmpx *utp, ut;
logwtmpx.c 52 #include <utmpx.h>
59 struct utmpx ut;
  /src/lib/libpam/modules/pam_lastlog/
pam_lastlog.c 86 #include <utmpx.h>
232 logit(LOG_NOTICE, "%s(): no utmpx record for %s",
274 struct utmpx utmpx; local in function:doutmpx
277 memset((void *)&utmpx, 0, sizeof(utmpx));
278 utmpx.ut_tv = *now;
279 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
281 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host))
    [all...]
  /src/usr.bin/login/
common.c 66 #include <utmpx.h>
241 struct utmpx utmpx; local in function:doutmpx
244 memset((void *)&utmpx, 0, sizeof(utmpx));
245 utmpx.ut_tv = now;
246 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
248 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host))
    [all...]
  /src/lib/libc/compat/gen/
compat_utmpx.c 46 #include <utmpx.h>
47 #include <compat/include/utmpx.h>
50 "warning: reference to compatibility getutxent(); include <utmpx.h> for correct reference")
52 "warning: reference to compatibility getutxid(); include <utmpx.h> for correct reference")
54 "warning: reference to compatibility getutxline(); include <utmpx.h> for correct reference")
56 "warning: reference to compatibility pututxline(); include <utmpx.h> for correct reference")
58 "warning: reference to compatibility updwtmpx(); include <utmpx.h> for correct reference")
60 "warning: reference to compatibility getlastlogx(); include <utmpx.h> for correct reference")
62 "warning: reference to compatibility updlastlogx(); include <utmpx.h> for correct reference")
64 "warning: reference to compatibility getutmp(); include <utmpx.h> for correct reference"
    [all...]
compat_lastlogx.c 56 #include <utmpx.h>
57 #include <compat/include/utmpx.h>
60 "warning: reference to compatibility getlastlogx(); include <utmpx.h> for correct reference")
  /src/lib/libc/gen/
utmpx.c 1 /* $NetBSD: utmpx.c,v 1.35 2015/05/23 11:48:13 christos Exp $ */
34 __RCSID("$NetBSD: utmpx.c,v 1.35 2015/05/23 11:48:13 christos Exp $");
54 #include <utmpx.h>
60 static struct utmpx ut;
63 static struct utmpx *utmp_update(const struct utmpx *);
65 static const char vers[] = "utmpx-2.00";
73 old2new(struct utmpx *utx)
83 new2old(struct utmpx *utx)
117 struct utmpx *
    [all...]
  /src/share/man/man5/
Makefile 19 utmp.5 utmpx.5 veriexec.5 weekly.5 wscons.conf.5
28 MLINKS+=utmpx.5 wtmpx.5 utmpx.5 lastlogx.5
  /src/distrib/utils/libhack/
utmp.c 21 const struct utmpx *ut;
  /src/libexec/ftpd/
logwtmp.c 60 #include <utmpx.h>
121 struct utmpx ut;
139 if(write(fdx, (char *)&ut, sizeof(struct utmpx)) !=
140 sizeof(struct utmpx))
logutmp.c 73 #include <utmpx.h>
159 * special version of loginx which updates utmpx only.
162 ftpd_loginx(const struct utmpx *ut)
extern.h 181 struct utmpx;
187 void ftpd_loginx(const struct utmpx *);
  /src/usr.bin/who/
utmpentry.h 33 # include <utmpx.h>
utmpentry.c 48 #include <utmpx.h>
64 static void getentryx(struct utmpentry *, struct utmpx *);
106 warnx("Cannot set utmpx file to `%s'",
109 warnx("utmpx support not compiled in");
178 struct utmpx *utx;
221 /* Don't process entries that we have utmpx for */
298 getentryx(struct utmpentry *e, struct utmpx *up)
  /src/libexec/utmp_update/
utmp_update.c 45 #include <utmpx.h>
76 struct utmpx *utx;
90 (void)fprintf(stderr, "Usage: %s <vis-utmpx-entry>\n",
117 logerr(0, "Invalid utmpx type %d", (int)utx->ut_type);
133 "`%s' in utmpx entry", pwd->pw_name, utx->ut_name);
149 struct utmpx utold, *utoldp;
  /src/usr.bin/last/
last.c 60 #include <utmpx.h>
248 errx(EXIT_FAILURE, "No utmp or utmpx support compiled in.");
261 errx(EXIT_FAILURE, "No utmp or utmpx support compiled in.");
392 #define utmp utmpx
  /src/sbin/reboot/
reboot.c 60 #include <utmpx.h>

Completed in 56 milliseconds

1 2