git: sbin/mount_msdos: Whitespace cleanups

2019-09-10 Thread Tomohiro Kusumi
commit c629ad96a230796c0fd635707ceff16822714a3a Author: Tomohiro Kusumi Date: Tue Sep 10 23:14:38 2019 +0900 sbin/mount_msdos: Whitespace cleanups Summary of changes: sbin/mount_msdos/mount_msdos.c | 50 +- 1 file changed, 25 insertions(+), 25

git: sbin/mount_msdos: Bring in FreeBSD/Git 7e476e89

2019-09-10 Thread Tomohiro Kusumi
commit 37ad435c2ecef10b2d0f45f66c6278d088b63446 Author: Tomohiro Kusumi Date: Tue Sep 10 23:11:04 2019 +0900 sbin/mount_msdos: Bring in FreeBSD/Git 7e476e89 Summary of changes: sbin/mount_msdos/mount_msdos.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-)

git: last(1): Switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 1c22cc7dd061c193ead746490c6803c24fb14911 Author: Sascha Wildner Date: Tue Sep 10 20:22:32 2019 +0200 last(1): Switch to utmpx. Drop utmp support. While here, merge what remains of want.c into last.c. Summary of changes: usr.bin/last/Makefile | 2 +-

git: comsat(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 1a8869c179e8e63420d904de0c327ad54c3e0b52 Author: Sascha Wildner Date: Tue Sep 10 21:01:31 2019 +0200 comsat(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support. Summary of changes: libexec/comsat/Makefile | 2 +- libexec/comsat/comsat.8 | 7 ++-

git: lastlogin(8): Switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 86370ee53fa5c4365fd5e8c029c7092648f71c9a Author: Sascha Wildner Date: Tue Sep 10 20:36:44 2019 +0200 lastlogin(8): Switch to utmpx. Drop utmp support. Summary of changes: usr.sbin/lastlogin/lastlogin.c | 60 ++ 1 file changed, 2

git: pam_lastlog(8): Switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit a44784ff200e5a0d069df30d87167c350664c287 Author: Sascha Wildner Date: Tue Sep 10 20:56:06 2019 +0200 pam_lastlog(8): Switch to utmpx. Drop utmp support. Summary of changes: lib/libpam/modules/pam_lastlog/pam_lastlog.c | 91 +--- 1 file changed, 1

git: rpc.rusersd(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit ccdea5619a3a397784a37bca0d26db8ce0112cae Author: Sascha Wildner Date: Tue Sep 10 21:05:03 2019 +0200 rpc.rusersd(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support. Summary of changes: lib/liby/main.c => libexec/rpc.rusersd/extern.h | 17 +-

git: w(1): Switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 092c2dd1f2d0ad182b0a30e298f4aa7c1a535091 Author: Sascha Wildner Date: Tue Sep 10 20:41:02 2019 +0200 w(1): Switch to utmpx. Drop utmp support. Summary of changes: usr.bin/w/Makefile | 1 - usr.bin/w/w.c | 80 +- 2 files

git: reboot(8): Switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 64cb26ea4b5a063fbcfbf0996e0aecf15c3558ac Author: Sascha Wildner Date: Tue Sep 10 20:57:23 2019 +0200 reboot(8): Switch to utmpx. Drop utmp support. Summary of changes: sbin/reboot/Makefile | 1 - sbin/reboot/reboot.c | 7 --- 2 files changed, 8 deletions(-)

git: sshd(8): Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit b12628f04fa083a7d66f4761e91a62cbd96c59db Author: Sascha Wildner Date: Tue Sep 10 20:59:44 2019 +0200 sshd(8): Drop utmp support. Summary of changes: lib/libssh/config.h| 40 usr.sbin/sshd/Makefile | 2 +- 2 files changed, 21

git: telnetd(8): Switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit be212196c323f53242db28229301b81300e3ef02 Author: Sascha Wildner Date: Tue Sep 10 20:44:30 2019 +0200 telnetd(8): Switch to utmpx. Drop utmp support. Summary of changes: libexec/telnetd/Makefile | 3 +-- libexec/telnetd/sys_term.c | 8 libexec/telnetd/telnetd.8 | 18

git: date(1): Switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit f445029874928ec5dbddbce0e63ff289cdf58eb3 Author: Sascha Wildner Date: Tue Sep 10 20:20:44 2019 +0200 date(1): Switch to utmpx. Drop utmp support. Summary of changes: bin/date/Makefile | 1 - bin/date/date.c | 12 2 files changed, 13 deletions(-)

git: csh(1): Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 345e4ad481f1adc77b52be453c5c88aab0e5d84d Author: Sascha Wildner Date: Tue Sep 10 20:58:32 2019 +0200 csh(1): Drop utmp support. Summary of changes: bin/csh/csh/config.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

git: who(1)/finger(1): Move to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 5667bed1b928eab3273618cac58cfd46211b2688 Author: Sascha Wildner Date: Tue Sep 10 21:06:24 2019 +0200 who(1)/finger(1): Move to utmpx. Drop utmp support. finger(1) utmpx support taken from FreeBSD. This also moves the consumers of utmpentry.c to utmpx: talkd(8),

git: last(1): Fix wrong shutdown/reboot reporting.

2019-09-10 Thread Sascha Wildner
commit 04aa3a55b1053c7d495c8868346a67c6c887580a Author: Sascha Wildner Date: Tue Sep 10 20:24:03 2019 +0200 last(1): Fix wrong shutdown/reboot reporting. Our last was reporting shutdown/reboot as crashes and it has something to do with our order of wtmpx log entries vs.

git: init(8): Switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 0440d3beff88727e067e3411a6aa8a7c9cf2a2c8 Author: Sascha Wildner Date: Tue Sep 10 20:40:03 2019 +0200 init(8): Switch to utmpx. Drop utmp support. Summary of changes: sbin/init/Makefile | 1 - sbin/init/init.c | 30 -- 2 files changed, 31

git: Add a wtmpcvt(1) utility from FreeBSD to convert wtmp -> wtmpx.

2019-09-10 Thread Sascha Wildner
commit 7c4f4eee16aaa1967b45f3f9ec8e66d35f735e65 Author: Sascha Wildner Date: Tue Sep 10 21:31:50 2019 +0200 Add a wtmpcvt(1) utility from FreeBSD to convert wtmp -> wtmpx. Summary of changes: lib/libc/gen/endutxent.3 | 1 + share/man/man5/utmpx.5

git: ftpd(8): Add utmpx support from FreeBSD. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit ed673c0e2bf7b5c8ee7178033250d749d53459aa Author: Sascha Wildner Date: Tue Sep 10 21:10:23 2019 +0200 ftpd(8): Add utmpx support from FreeBSD. Drop utmp support. Summary of changes: libexec/ftpd/logwtmp.c | 60 +++--- 1 file changed, 27

git: rwhod(8): Add utmpx support from FreeBSD. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 643550939542651ccb036ac8cf694f8b8ad30e48 Author: Sascha Wildner Date: Tue Sep 10 21:09:25 2019 +0200 rwhod(8): Add utmpx support from FreeBSD. Drop utmp support. Summary of changes: usr.sbin/rwhod/rwhod.c | 82 +++--- 1 file changed,

git: telnetd(8): Fix a warning and bump WARNS to 5.

2019-09-10 Thread Sascha Wildner
commit f5cdbbdc4bdfcbdf1e12502279b1839af3c3853d Author: Sascha Wildner Date: Tue Sep 10 21:32:36 2019 +0200 telnetd(8): Fix a warning and bump WARNS to 5. Summary of changes: libexec/telnetd/Makefile | 2 +- libexec/telnetd/state.c | 1 + 2 files changed, 2 insertions(+), 1

git: ppp(8): Add utmpx support from FreeBSD. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit dd93b7ca008ddba41e4f79ca6ce4b79680bc63fb Author: Sascha Wildner Date: Tue Sep 10 21:07:59 2019 +0200 ppp(8): Add utmpx support from FreeBSD. Drop utmp support. Summary of changes: usr.sbin/ppp/id.c | 36 usr.sbin/ppp/id.h | 23

git: Retire the utmp specific ttyslot() function, like FreeBSD did.

2019-09-10 Thread Sascha Wildner
commit 2b83e2ee5e053fd5152e085f12cf2b72b36ae62b Author: Sascha Wildner Date: Tue Sep 10 21:30:00 2019 +0200 Retire the utmp specific ttyslot() function, like FreeBSD did. Summary of changes: Makefile_upgrade.inc | 1 + include/unistd.h | 1 - lib/libc/gen/Makefile.inc |

git: ac(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support.

2019-09-10 Thread Sascha Wildner
commit 262ef9e80a4e39d67ef42e0c1dce303a949da8a9 Author: Sascha Wildner Date: Tue Sep 10 21:13:52 2019 +0200 ac(8): Sync with FreeBSD, i.e. switch to utmpx. Drop utmp support. Summary of changes: usr.sbin/ac/Makefile | 2 +- usr.sbin/ac/ac.8 | 54 +++--- usr.sbin/ac/ac.c |

git: Remove the legacy "utmp" API, now that our utils have been moved to utmpx.

2019-09-10 Thread Sascha Wildner
commit e2e9821d3095715dc724545a180e47d9b25f2082 Author: Sascha Wildner Date: Tue Sep 10 21:26:48 2019 +0200 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

git: libc: Add getutxuser() (adapted from FreeBSD).

2019-09-10 Thread Sascha Wildner
commit 974aa0815871bec1ded80cee21e25b23a52d4a15 Author: Sascha Wildner Date: Tue Sep 10 20:20:04 2019 +0200 libc: Add getutxuser() (adapted from FreeBSD). Summary of changes: include/utmpx.h | 1 + lib/libc/gen/Makefile.inc | 1 + lib/libc/gen/Symbol.map | 4

git: route: Don't install a cloned route when interface is down

2019-09-10 Thread Roy Marples
commit 02e9851ba5f21dc7b944483b1dbaf04d9d76f0da Author: Roy Marples Date: Tue Sep 10 12:00:36 2019 +0100 route: Don't install a cloned route when interface is down When an interface is taken down, all subnet routes are removed and thus all cloned routes are flushed.

git: sys/net: Add dom_if_up and dom_if_down

2019-09-10 Thread Roy Marples
commit a2b099dd02da6e7746a6d19aff61a534213f6a0b Author: Roy Marples Date: Tue Sep 10 12:09:20 2019 +0100 sys/net: Add dom_if_up and dom_if_down Domain functions for when the interface goes up and down. Summary of changes: sys/net/if.c | 10 ++ sys/sys/domain.h | 2

git: sys/net: Call in6_if_up from the domain rather than directly

2019-09-10 Thread Roy Marples
commit 5ee620dc3fd44ab5a7d8805fc03c19df4b88f189 Author: Roy Marples Date: Tue Sep 10 12:16:52 2019 +0100 sys/net: Call in6_if_up from the domain rather than directly Summary of changes: sys/net/if.c | 3 --- sys/netinet6/in6.h | 1 - sys/netinet6/in6_proto.c | 3 ++-

git: route: introduce rt_purgecloned

2019-09-10 Thread Roy Marples
commit 89ffd4d42556fa3ca692d8256b918ee2054a232d Author: Roy Marples Date: Tue Sep 10 13:35:40 2019 +0100 route: introduce rt_purgecloned This function walks the route tree for the given address family and deleted any cloned route for the given interface. Summary of changes:

git: inet: hookup in_if_down with rt_purgecloned

2019-09-10 Thread Roy Marples
commit 8266e2ec4419d87e40bd6e4f1edc219b707b89af Author: Roy Marples Date: Tue Sep 10 13:37:43 2019 +0100 inet: hookup in_if_down with rt_purgecloned Summary of changes: sys/netinet/in.c | 6 ++ sys/netinet/in_proto.c | 5 - sys/netinet/in_var.h | 1 + 3 files changed,

git: inet: hookup in6_if_down with rt_purgecloned

2019-09-10 Thread Roy Marples
commit 759dab294b4aa6e4d08c5a68423a612f873862e8 Author: Roy Marples Date: Tue Sep 10 13:39:22 2019 +0100 inet: hookup in6_if_down with rt_purgecloned Summary of changes: sys/netinet6/in6.c | 6 ++ sys/netinet6/in6_proto.c | 3 ++- sys/netinet6/in6_var.h | 1 + 3 files

git: sys/net: Rename if_route_dispatch to if_up_dispatch

2019-09-10 Thread Roy Marples
commit e782981ca07d621e7444622c6da4510a8d57c10b Author: Roy Marples Date: Tue Sep 10 15:02:03 2019 +0100 sys/net: Rename if_route_dispatch to if_up_dispatch The word route here is misleading and is heavily influenced with the addition of removed subnet routes when taken down

git: net/if_gre: unhook rip_ctlinput

2019-09-10 Thread Roy Marples
commit cf820092e2d4044f031e910092b20190a35b2252 Author: Roy Marples Date: Tue Sep 10 14:32:54 2019 +0100 net/if_gre: unhook rip_ctlinput It no longer exists, see prior commit. Summary of changes: sys/net/gre/if_gre.c | 8 1 file changed, 4 insertions(+), 4

git: rc.d/dhcpcd: Start before netif

2019-09-10 Thread Roy Marples
commit 648d12777ed809df507eedac4af0b350452bce82 Author: Roy Marples Date: Tue Sep 10 15:34:57 2019 +0100 rc.d/dhcpcd: Start before netif This ensures that in the silly case where dhcpcd is enabled AND ifconfig_foo=DHCP is set then a second dhcpcd instance is not started.

git: Remove 'register' qualifier

2019-09-10 Thread Matthew Dillon
commit 1705e1a119c6a8293f227110946016b92c59b046 Author: Matthew Dillon Date: Tue Sep 10 09:51:20 2019 -0700 Remove 'register' qualifier * Not allowed in c++17, and no longer has any usefulness given that modern compilers already optimize variables into registers

git: sbin/mount_msdos: Bring in FreeBSD/Git 0c5ae3a9 (add -M option)

2019-09-10 Thread Tomohiro Kusumi
commit 783f7e1d4ba69c53815ebaa24d46f1e83b3452b0 Author: Tomohiro Kusumi Date: Wed Sep 11 00:06:26 2019 +0900 sbin/mount_msdos: Bring in FreeBSD/Git 0c5ae3a9 (add -M option) Summary of changes: sbin/mount_msdos/Makefile| 1 + sbin/mount_msdos/mount_msdos.8 | 17