minix/lib/libc/sys-minix
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
..
__getcwd.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
__getlogin.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
_exit.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
_mcontext.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
_ucontext.c fix some warnings 2013-05-31 20:57:39 +00:00
accept.c UDS: support for nonblocking sockets 2014-03-01 09:04:57 +01:00
access.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
adjtime.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
bind.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
brk.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
chdir.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
chmod.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
chown.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
chroot.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
clock_getres.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
clock_gettime.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
clock_settime.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
close.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
connect.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
cprofile.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
dup.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
dup2.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
environ.c Remove ACK EM_WSIZE/EM_PSIZE macro usage 2012-08-06 17:49:22 +02:00
execve.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
fchmod.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
fchown.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
fcntl.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
flock.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
fork.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
fpathconf.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
fstatfs.c VFS/FS: remove fstatfs(2) and REQ_FSTATFS 2014-02-18 11:25:01 +01:00
fstatvfs.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
fsync.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
ftruncate.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
futimens.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
futimes.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
gcov_flush.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getdents.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getegid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
geteuid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getgid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getgroups.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getitimer.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getpeername.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
getpgrp.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getpid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getppid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getrlimit.c Fixed bug in getrlimit as core dumps are supported now. 2013-01-17 14:06:35 +00:00
getrusage.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getsid.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
getsockname.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
getsockopt.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
gettimeofday.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getuid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
getvfsstat.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
init.c Adding ipc_ prefix to ipc primitives 2014-03-01 09:05:01 +01:00
ioctl.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
issetugid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
kill.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
link.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
listen.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
loadname.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
lseek.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
lseek64.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
lutimes.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
m_closefrom.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
Makefile.inc Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
minix_rs.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
MISSING_SYSCALLS Implement support for getvfsstat(2) 2014-02-18 11:25:02 +01:00
mkdir.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
mkfifo.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
mknod.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
mmap.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
mount.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
nanosleep.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
open.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
pathconf.c retire _CONST, _VOLATILE, _SIZET, _ARGS, _VOID 2012-03-25 21:58:20 +02:00
pipe.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
poll.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
pread.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
priority.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
ptrace.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
pwrite.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
read.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
readlink.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
reboot.c big <utmp.h>-inspired netbsd switch 2014-03-01 09:05:02 +01:00
recvfrom.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
recvmsg.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
rename.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
rmdir.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
sbrk.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
select.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
sem.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
sendmsg.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
sendto.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
setgid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
setgroups.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
setitimer.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
setsid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
setsockopt.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
settimeofday.c libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
setuid.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
shmat.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
shmctl.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
shmget.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
shutdown.c Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
sigaction.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
sigpending.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
sigprocmask.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
sigreturn.c Adding ipc_ prefix to ipc primitives 2014-03-01 09:05:01 +01:00
sigsuspend.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
sizeup.c retire 64-bit conversion functions 2013-06-24 16:50:57 +02:00
socket.c socket: implement SOCK_CLOEXEC and SOCK_NONBLOCK 2013-02-28 10:08:53 +00:00
socketpair.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
sprofile.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
stack_utils.c big <utmp.h>-inspired netbsd switch 2014-03-01 09:05:02 +01:00
stat.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
statvfs.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
stime.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
svrctl.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
symlink.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
sync.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
syscall.c Adding ipc_ prefix to ipc primitives 2014-03-01 09:05:01 +01:00
sysuname.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
truncate.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
umask.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
unlink.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
utimensat.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
utimes.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
vectorio.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
vfork.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
write.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00