minix/commands
Ben Gras a06e2ab395 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
2014-03-01 09:05:02 +01:00
..
add_route Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
arp Removing obsolete _MINIX_SOURCE define 2013-02-26 09:44:21 +00:00
ash fix sysroot clang 2014-02-18 11:25:01 +01:00
at commands/at: changed K&R to ANSI style 2013-11-29 18:54:07 +01:00
atnormalize Remove some usage of 64bit functions (minix/u64.h) 2012-10-15 18:24:30 +02:00
autopart Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
backup commands/backup: changed K&R to ANSI style 2013-11-18 07:44:45 -05:00
btrace Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
cawf Importing usr.bin/colcrt 2013-11-19 07:26:37 -05:00
cd Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
cdprobe Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
chmod commands/chmod: changed K&R to ANSI style 2013-11-29 18:54:11 +01:00
chown commands/chown: changed to K&R to ANSI style 2013-11-29 18:54:18 +01:00
ci retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
cleantmp Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
cmp Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
co retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
command Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
compress Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
cp Importing bin/ln 2013-02-01 11:41:48 +01:00
cpp better cpp 2012-02-17 23:53:44 +01:00
crc commands/crc: changed K&R to ANSI style 2013-12-01 15:57:08 -05:00
cron Removing obsolete _MINIX_SOURCE define 2013-02-26 09:44:21 +00:00
crontab Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
dd Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
decomp16 commands/decomp16: changed K&R to ANSI style 2013-12-01 15:57:07 -05:00
DESCRIBE Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
devmand Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
devsize commands/devsize: changed K&R to ANSI style 2013-12-01 15:57:04 -05:00
dhcpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
dhrystone retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
diff Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
diskctl diskctl(8) tool 2010-08-12 14:11:28 +00:00
dosread Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
echo Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
eepromread eepromread: support for reading from /dev/eeprom 2013-11-11 10:14:03 -05:00
eject commands: fixes for clang errors. 2010-07-06 12:10:23 +00:00
expr Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
factor retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
false Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
fbdctl Add fbd -- Faulty Block Device driver 2011-12-11 22:45:46 +01:00
fdisk Enable devname(3) 2014-03-01 09:04:53 +01:00
fetch remove utimes() workarounds 2013-04-12 18:55:40 +00:00
find Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
fix commands/fix: change K&R to ANSI style. 2013-11-16 14:53:34 -05:00
format Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
fortune Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
fsck.mfs netbsd dirent.h, import sys/sys *.h, mfs cleanup 2014-03-01 09:04:59 +01:00
gcov-pull Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
getopts Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
grep ld.elf_so, grep, make: use mmap() 2013-05-31 15:42:01 +00:00
host Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
hostaddr Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
ifconfig Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ifdef retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
intr Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ipcrm Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ipcs Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
irdpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
isoread retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
less Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
loadfont Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
loadkeys Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
loadramdisk loadramdisk: bug fix for bad fprintf() format 2013-08-15 09:48:35 +02:00
logger libc syslog, syslogd, logger, uds fixes 2013-06-12 07:04:52 +00:00
look Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
lp Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
lpd Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
lspci make all other commands use ProcFS 2010-09-14 21:31:56 +00:00
mail retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
MAKEDEV MAKEDEV: Add mtree output, and ramdisk set. 2014-03-01 09:04:56 +01:00
mined mined: fix dangling else 2014-02-16 17:54:40 -05:00
mount Redo mount(2)/umount(2) ABI 2014-02-18 11:25:01 +01:00
mt Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
netconf beaglebone ethernet improvements 2013-08-19 13:47:10 +00:00
nonamed Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
part Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
partition x86 hd image creator 2013-09-25 19:30:22 +02:00
patch rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
ping Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
pkgin_all pkgin_all: script to auto-install all packages 2013-02-14 22:58:29 +00:00
pkgin_cd Update release script for pkgsrc 2010-09-10 17:00:30 +00:00
playwave Remove support for reopening character devices 2014-03-01 09:04:52 +01:00
postinstall Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
pr_routes Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
prep retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
printroot Implement dynamic mtab support 2012-11-26 15:20:18 +00:00
profile Write raw sprofile traces to preserve all information as well as save space 2012-08-10 18:49:40 +00:00
progressbar retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
ps PM: remove obsolete ALARM, PAUSE, TIMES calls 2014-03-01 09:04:59 +01:00
pwdauth Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
ramdisk Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rarpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
rawspeed Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rcp Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
read Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
readclock Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
recwave retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
remsync Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
repartition Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
rget Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
rlogin Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rotate Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
rsh Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
rshd Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
screendump commands: fixes for clang errors. 2010-07-06 12:10:23 +00:00
service Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
setup Import NetBSD df(1) 2014-02-18 11:25:02 +01:00
shar retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
shared Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
sleep Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
slip Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
spell Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
sprofalyze sprofalyze: fix profile data parsing 2013-02-27 17:53:27 +00:00
sprofdiff Two frees to appease Coverity 2012-08-31 20:12:57 +02:00
srccrc Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
stty Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
svclog Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
svrctl For common calls, give servers unique call numbers 2014-03-01 09:05:00 +01:00
swifi swifi: modernize a bit 2012-03-05 22:41:49 +01:00
synctree commands/synctree: changed K&R to ANSI style 2013-11-29 18:53:49 +01:00
sysenv Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
syslogd libc syslog, syslogd, logger, uds fixes 2013-06-12 07:04:52 +00:00
tail retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
tcpd tcpd: waitpid() for any child process 2013-05-30 19:41:45 +00:00
tcpdp Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
tcpstat Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
telnet Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
telnetd big <utmp.h>-inspired netbsd switch 2014-03-01 09:05:02 +01:00
term retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
termcap retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
test Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
tget Updating libcurses, libterminfo and terminfo. 2013-01-14 11:36:26 +01:00
time Remove some usage of 64bit functions (minix/u64.h) 2012-10-15 18:24:30 +02:00
touch remove utimes() workarounds 2013-04-12 18:55:40 +00:00
true Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
truncate Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
udpstat Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
umask Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
umount Redo mount(2)/umount(2) ABI 2014-02-18 11:25:01 +01:00
unstack unstack - fix ipcvecs 2013-01-04 16:17:07 +00:00
update retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
update_bootcfg TTY: "nobeep" setting to disable beeps 2013-02-15 11:06:34 +01:00
updateboot updateboot script for netbsd bootloader 2012-02-15 03:51:27 +01:00
uud Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
uue Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
version Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
vol retire 64-bit conversion functions 2013-06-24 16:50:57 +02:00
wait Splitting commands/cd/cd.sh 2014-03-01 09:04:56 +01:00
whereis Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
which retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
worldstone worldstone: add -s for statistical profiling 2012-09-19 13:43:17 +02:00
writeisofs x86_hdimage.sh -i: crossbuild x86 release CD 2013-11-07 13:44:22 +00:00
zdump Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
zmodem zmodem: K&R -> ANSI C function declaration 2014-02-16 11:46:08 -05:00
Makefile big <utmp.h>-inspired netbsd switch 2014-03-01 09:05:02 +01:00
Makefile.inc x86 hd image creator 2013-09-25 19:30:22 +02:00