Date: Sat, 5 Dec 2009 19:53:29 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libulog Makefile Symbol.map ulog.h ulog_getutxent.3 ulog_getutxent.c ulog_internal.h ulog_login.3 ulog_login.c ulog_pututxline.c ulog_setutxfile.3 ulog_util.c Message-ID: <200912051953.nB5JrkBr069373@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2009-12-05 19:53:29 UTC
FreeBSD src repository
Modified files:
lib/libulog Makefile Symbol.map ulog.h
ulog_getutxent.3 ulog_getutxent.c
ulog_internal.h ulog_login.3 ulog_login.c
Added files:
lib/libulog ulog_pututxline.c ulog_setutxfile.3
ulog_util.c
Log:
SVN rev 200153 on 2009-12-05 19:53:29Z by ed
Massively extend libulog:
- Just like struct utmp, store strings inside struct utmpx itself. This
is needed to make things like pututxline() work.
- Add ut_id and ut_pid fields, even though they have little use in our
implementation.
- It turns out our "reboot" wtmp entries indicate a system boot, so
remove REBOOT_TIME
- Implement getutxline() and pututxline
- Add getutxuser() and setutxfile(), which allows us to crawl wtmp and
lastlog files as well.
- Add _ULOG_POSIX_NAMES, so we can already use the POSIX names if we
really want to.
Revision Changes Path
1.2 +14 -4 src/lib/libulog/Makefile
1.2 +4 -0 src/lib/libulog/Symbol.map
1.4 +36 -30 src/lib/libulog/ulog.h
1.4 +72 -9 src/lib/libulog/ulog_getutxent.3
1.4 +238 -35 src/lib/libulog/ulog_getutxent.c
1.2 +2 -0 src/lib/libulog/ulog_internal.h
1.2 +1 -1 src/lib/libulog/ulog_login.3
1.2 +21 -82 src/lib/libulog/ulog_login.c
1.1 +208 -0 src/lib/libulog/ulog_pututxline.c (new)
1.1 +94 -0 src/lib/libulog/ulog_setutxfile.3 (new)
1.1 +49 -0 src/lib/libulog/ulog_util.c (new)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912051953.nB5JrkBr069373>
