]> Zhao Yanbai Git Server - minix.git/commit
big <utmp.h>-inspired netbsd switch
authorBen Gras <ben@minix3.org>
Mon, 9 Sep 2013 13:20:18 +0000 (13:20 +0000)
committerLionel Sambuc <lionel@minix3.org>
Sat, 1 Mar 2014 08:05:02 +0000 (09:05 +0100)
commita06e2ab3959428ebf7e32b1cde13e386df9115ab
treecad1c2a3b41eddf156b33697697be93e2dc1c303
parentfa06ff0ee363aa386b31d61677aa8eebf37be7c0
big <utmp.h>-inspired netbsd switch

import/switch of:
init, getty, reboot, halt, shutdown, wall, last

changes:
. change reboot() call to netbsd prototype and args
. allows pristine <utmp.h>
. use clean <sys/reboot.h> instead of <minix/reboot.h>
. implement TIOCSCTTY for use by getty so getty can get
  controlling terminal from init's child(ren)
. allow NULL envp for exec

Change-Id: I5ca02cb4230857140c08794bbfeba7df982c58a3
93 files changed:
commands/Makefile
commands/getty/Makefile [deleted file]
commands/getty/getty.c [deleted file]
commands/last/Makefile [deleted file]
commands/last/last.c [deleted file]
commands/poweroff/Makefile [deleted file]
commands/poweroff/poweroff.sh [deleted file]
commands/reboot/Makefile [deleted file]
commands/reboot/README [deleted file]
commands/reboot/halt.c [deleted file]
commands/reboot/log.c [deleted file]
commands/reboot/sh_wall.c [deleted file]
commands/reboot/shutdown.c [deleted file]
commands/reboot/wtmp.h [deleted file]
commands/telnetd/Makefile
commands/telnetd/main.c
commands/telnetd/wtmp.c [deleted file]
distrib/sets/lists/minix/mi
drivers/tps65217/tps65217.c
drivers/tty/arch/i386/keyboard.c
drivers/tty/tty.c
etc/Makefile
etc/gettytab [new file with mode: 0644]
etc/rc
etc/rc.shutdown [new file with mode: 0644]
etc/system.conf
etc/ttys
etc/usr/rc
include/minix/Makefile
include/minix/reboot.h [deleted file]
include/minix/termios.h
include/sys/ioc_tty.h
include/unistd.h
include/utmp.h
kernel/arch/earm/arch_reset.c
kernel/arch/earm/pre_init.c
kernel/arch/i386/arch_reset.c
kernel/arch/i386/pre_init.c
kernel/main.c
lib/libc/gen/utmpx.c
lib/libc/sys-minix/reboot.c
lib/libc/sys-minix/stack_utils.c
lib/libc/sys/Makefile.inc
lib/libminc/Makefile
lib/libutil/Makefile
libexec/Makefile
libexec/getty/Makefile [new file with mode: 0644]
libexec/getty/extern.h [new file with mode: 0644]
libexec/getty/getty.8 [new file with mode: 0644]
libexec/getty/gettytab.5 [new file with mode: 0644]
libexec/getty/gettytab.h [new file with mode: 0644]
libexec/getty/init.c [new file with mode: 0644]
libexec/getty/main.c [new file with mode: 0644]
libexec/getty/pathnames.h [new file with mode: 0644]
libexec/getty/subr.c [new file with mode: 0644]
libexec/getty/ttys.5 [new file with mode: 0644]
man/man1/Makefile
man/man1/last.1 [deleted file]
man/man2/Makefile
man/man2/reboot.2 [deleted file]
man/man8/Makefile
man/man8/poweroff.8 [deleted file]
man/man8/reboot.8 [deleted file]
releasetools/Makefile
releasetools/arm_sdimage.sh
releasetools/nbsd_ports
sbin/Makefile
sbin/init/Makefile [new file with mode: 0644]
sbin/init/NOTES [new file with mode: 0644]
sbin/init/init.8 [new file with mode: 0644]
sbin/init/init.c [new file with mode: 0644]
sbin/init/pathnames.h [new file with mode: 0644]
sbin/reboot/Makefile [new file with mode: 0644]
sbin/reboot/reboot.8 [new file with mode: 0644]
sbin/reboot/reboot.c [new file with mode: 0644]
sbin/shutdown/Makefile [new file with mode: 0644]
sbin/shutdown/pathnames.h [new file with mode: 0644]
sbin/shutdown/shutdown.8 [new file with mode: 0644]
sbin/shutdown/shutdown.c [new file with mode: 0644]
servers/Makefile
servers/init/Makefile [deleted file]
servers/init/init.c [deleted file]
servers/mfs/super.c
servers/pm/misc.c
servers/vfs/device.c
usr.bin/Makefile
usr.bin/last/Makefile [new file with mode: 0644]
usr.bin/last/last.1 [new file with mode: 0644]
usr.bin/last/last.c [new file with mode: 0644]
usr.bin/last/want.c [new file with mode: 0644]
usr.bin/wall/Makefile [new file with mode: 0644]
usr.bin/wall/wall.1 [new file with mode: 0644]
usr.bin/wall/wall.c [new file with mode: 0644]