DragonFly commits List (threaded) for 2010-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: utmpx - Bring in utmpx,wtmpx and lastlogx support
commit 59a92d1877d6bb6c4fc9d7be5e51943661e50c2f
Author: Alex Hornung <ahornung@gmail.com>
Date: Sun Oct 4 18:44:56 2009 +0100
utmpx - Bring in utmpx,wtmpx and lastlogx support
* This commit introduces the necessary support for utmpx, wtmpx and
lastlogx, as well as updating many base utils to work with these
while mostly maintaining compatibility with the old utmp, wtmp and
lastlog.
* The new last(1) supports wtmpx but defaults to wtmp as not all wtmp
writers have been updated for wtmpx.
* All utmp readers support both utmp and utmpx now.
* lastlogin (the only lastlog reader) supports both lastlog and
lastlogx.
* The utils who(1) and finger have been almost directly replaced by
their NetBSD equivalent. In case of who(1) the only custom
modification is the behaviour of '-b' to be as it has always been.
* Partially-Obtained-from: NetBSD
Summary of changes:
etc/Makefile | 6 +
etc/newsyslog.conf | 1 +
games/dm/Makefile | 8 +
games/dm/dm.c | 17 +-
include/Makefile | 4 +-
include/utmp.h | 5 +
include/utmpx.h | 132 +++++++
lib/libc/gen/Makefile.inc | 1 +
lib/libc/gen/utmp.c | 102 ++++++
lib/libc/gen/utmpx.c | 498 ++++++++++++++++++++++++++
lib/libutil/Makefile | 9 +-
lib/libutil/libutil.h | 4 +
lib/libutil/loginx.3 | 93 +++++
lib/libutil/loginx.c | 51 +++
lib/libutil/logoutx.c | 66 ++++
lib/libutil/logwtmpx.c | 70 ++++
lib/pam_module/pam_lastlog/pam_lastlog.c | 365 ++++++++++++++------
libexec/Makefile | 1 +
libexec/talkd/Makefile | 8 +-
libexec/talkd/process.c | 28 +-
libexec/utmp_update/Makefile | 8 +
libexec/utmp_update/utmp_update.8 | 61 ++++
libexec/utmp_update/utmp_update.c | 137 +++++++
sbin/init/Makefile | 2 +-
sbin/init/init.c | 161 ++++++++-
share/man/man5/Makefile | 3 +
share/man/man5/utmpx.5 | 140 ++++++++
usr.bin/finger/Makefile | 9 +-
usr.bin/finger/extern.h | 3 +-
usr.bin/finger/finger.c | 33 +--
usr.bin/finger/finger.h | 4 +-
usr.bin/finger/util.c | 11 +-
usr.bin/last/Makefile | 2 +
usr.bin/last/last.c | 573 +++++++++++-------------------
usr.bin/login/login.c | 4 +-
usr.bin/systat/Makefile | 10 +-
usr.bin/systat/vmstat.c | 18 +-
usr.bin/users/Makefile | 7 +
usr.bin/users/users.c | 39 +--
usr.bin/w/Makefile | 1 +
usr.bin/w/w.c | 248 ++++++++++---
usr.bin/wall/Makefile | 9 +-
usr.bin/wall/wall.c | 28 +-
usr.bin/who/Makefile | 4 +
usr.bin/who/utmpentry.c | 358 +++++++++++++++++++
usr.bin/who/utmpentry.h | 76 ++++
usr.bin/who/who.1 | 184 ++++++----
usr.bin/who/who.c | 507 ++++++++++++++++-----------
usr.bin/write/Makefile | 8 +
usr.bin/write/write.c | 36 +--
usr.sbin/lastlogin/lastlogin.8 | 4 +-
usr.sbin/lastlogin/lastlogin.c | 46 +++-
usr.sbin/syslogd/Makefile | 6 +-
usr.sbin/syslogd/syslogd.c | 35 +-
54 files changed, 3262 insertions(+), 982 deletions(-)
create mode 100644 include/utmpx.h
create mode 100644 lib/libc/gen/utmp.c
create mode 100644 lib/libc/gen/utmpx.c
create mode 100644 lib/libutil/loginx.3
create mode 100644 lib/libutil/loginx.c
create mode 100644 lib/libutil/logoutx.c
create mode 100644 lib/libutil/logwtmpx.c
create mode 100644 libexec/utmp_update/Makefile
create mode 100644 libexec/utmp_update/utmp_update.8
create mode 100644 libexec/utmp_update/utmp_update.c
create mode 100644 share/man/man5/utmpx.5
create mode 100644 usr.bin/who/utmpentry.c
create mode 100644 usr.bin/who/utmpentry.h
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/59a92d1877d6bb6c4fc9d7be5e51943661e50c2f
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]