Remove the legacy "utmp" API, now that our utils have been moved to utmpx.
authorSascha Wildner <saw@online.de>
Tue, 10 Sep 2019 19:26:48 +0000 (21:26 +0200)
committerSascha Wildner <saw@online.de>
Tue, 10 Sep 2019 19:26:48 +0000 (21:26 +0200)
commite2e9821d3095715dc724545a180e47d9b25f2082
tree4956e2e7a93cc2582c5fa2bc8be7c73cce8fac50
parent262ef9e80a4e39d67ef42e0c1dce303a949da8a9
Remove the legacy "utmp" API, now that our utils have been moved to utmpx.

As I wrote in UPGRADING, the main change for "normal" users is probably
that /var/log/wtmp is no longer logged to, just /var/log/wtmpx.

Leave the old API in libc as compat symbols that do nothing and always
succeed for the run-time linker (i.e. old binaries still using them).

dports has been kindly adjusted by zrj and new binary packages for master
are on their way.

A future commit will provide a wtmpcvt(1) utility to convert old wtmp
files to the wtmpx format.
22 files changed:
Makefile_upgrade.inc
UPDATING
include/Makefile
include/utmp.h [deleted file]
include/utmpx.h
lib/libc/gen/Makefile.inc
lib/libc/gen/Symbol.map
lib/libc/gen/getlastlogx.3
lib/libc/gen/utmp.c
lib/libc/gen/utmpx.c
lib/libutil/Makefile
lib/libutil/libutil.h
lib/libutil/login.3 [deleted file]
lib/libutil/login.c [deleted file]
lib/libutil/logout.3 [deleted file]
lib/libutil/logout.c [deleted file]
lib/libutil/logwtmp.3 [deleted file]
lib/libutil/logwtmp.c [deleted file]
share/man/man5/Makefile
share/man/man5/utmp.5 [deleted file]
sys/sys/param.h
usr.sbin/adduser/adduser.8