]> Zhao Yanbai Git Server - minix.git/commit
Clean up interface to PM and VFS
authorDavid van Moolenbroek <david@minix3.org>
Mon, 4 Nov 2013 21:48:08 +0000 (22:48 +0100)
committerLionel Sambuc <lionel@minix3.org>
Sat, 1 Mar 2014 08:05:01 +0000 (09:05 +0100)
commit24ec0d73b579fa9d134ae21dec2ad75019bf2ec0
tree84f746dee3f53e72811160862c5c424fea09a628
parent2c8310fce6f3e1a73c3bd08fa3ccb9cee74d85d4
Clean up interface to PM and VFS

- introduce new call numbers, names, and field aliases;
- initialize request messages to zero for all ABI calls;
- format callnr.h in the same way as com.h;
- redo call tables in both servers;
- remove param.h namespace pollution in the servers;
- make brk(2) go to VM directly, rather than through PM;
- remove obsolete BRK, UTIME, and WAIT calls;
- clean up path copying routine in VFS;
- move remaining system calls from libminlib to libc;
- correct some errno-related mistakes in libc routines.

Change-Id: I2d8ec5d061cd7e0b30c51ffd77aa72ebf84e2565
164 files changed:
commands/readclock/readclock.c
commands/service/parse.c
commands/service/service.c
etc/system.conf
include/minix/callnr.h
include/minix/com.h
include/minix/syslib.h
include/minix/vm.h
kernel/extract-mtype.sh
lib/libc/gen/minix/utime.c [deleted file]
lib/libc/gen/minix/wait.c
lib/libc/gen/minix/waitpid.c
lib/libc/sys-minix/Makefile.inc
lib/libc/sys-minix/_exit.c
lib/libc/sys-minix/_mcontext.c
lib/libc/sys-minix/access.c
lib/libc/sys-minix/adjtime.c
lib/libc/sys-minix/brk.c
lib/libc/sys-minix/chdir.c
lib/libc/sys-minix/chmod.c
lib/libc/sys-minix/chown.c
lib/libc/sys-minix/chroot.c
lib/libc/sys-minix/clock_getres.c
lib/libc/sys-minix/clock_gettime.c
lib/libc/sys-minix/clock_settime.c
lib/libc/sys-minix/close.c
lib/libc/sys-minix/cprofile.c
lib/libc/sys-minix/execve.c
lib/libc/sys-minix/fchmod.c
lib/libc/sys-minix/fchown.c
lib/libc/sys-minix/fcntl.c
lib/libc/sys-minix/fork.c
lib/libc/sys-minix/fstatvfs.c
lib/libc/sys-minix/fsync.c
lib/libc/sys-minix/ftruncate.c
lib/libc/sys-minix/futimens.c
lib/libc/sys-minix/futimes.c
lib/libc/sys-minix/gcov_flush.c [new file with mode: 0644]
lib/libc/sys-minix/getdents.c
lib/libc/sys-minix/getegid.c
lib/libc/sys-minix/geteuid.c
lib/libc/sys-minix/getgid.c
lib/libc/sys-minix/getgroups.c
lib/libc/sys-minix/getitimer.c
lib/libc/sys-minix/getpgrp.c
lib/libc/sys-minix/getpid.c
lib/libc/sys-minix/getppid.c
lib/libc/sys-minix/getrusage.c
lib/libc/sys-minix/gettimeofday.c
lib/libc/sys-minix/getuid.c
lib/libc/sys-minix/getvfsstat.c
lib/libc/sys-minix/ioctl.c
lib/libc/sys-minix/issetugid.c
lib/libc/sys-minix/kill.c
lib/libc/sys-minix/link.c
lib/libc/sys-minix/loadname.c
lib/libc/sys-minix/lseek.c
lib/libc/sys-minix/lseek64.c
lib/libc/sys-minix/lutimes.c
lib/libc/sys-minix/minix_rs.c
lib/libc/sys-minix/mkdir.c
lib/libc/sys-minix/mknod.c
lib/libc/sys-minix/mmap.c
lib/libc/sys-minix/mount.c
lib/libc/sys-minix/nanosleep.c
lib/libc/sys-minix/open.c
lib/libc/sys-minix/pipe.c
lib/libc/sys-minix/priority.c
lib/libc/sys-minix/ptrace.c
lib/libc/sys-minix/read.c
lib/libc/sys-minix/readlink.c
lib/libc/sys-minix/reboot.c
lib/libc/sys-minix/rename.c
lib/libc/sys-minix/rmdir.c
lib/libc/sys-minix/select.c
lib/libc/sys-minix/sem.c
lib/libc/sys-minix/setgid.c
lib/libc/sys-minix/setgroups.c
lib/libc/sys-minix/setitimer.c
lib/libc/sys-minix/setsid.c
lib/libc/sys-minix/setuid.c
lib/libc/sys-minix/shmat.c
lib/libc/sys-minix/shmctl.c
lib/libc/sys-minix/shmget.c
lib/libc/sys-minix/sigaction.c
lib/libc/sys-minix/sigpending.c
lib/libc/sys-minix/sigprocmask.c
lib/libc/sys-minix/sigreturn.c
lib/libc/sys-minix/sigsuspend.c
lib/libc/sys-minix/sprofile.c
lib/libc/sys-minix/stat.c
lib/libc/sys-minix/statvfs.c
lib/libc/sys-minix/stime.c
lib/libc/sys-minix/svrctl.c [moved from lib/libminlib/svrctl.c with 84% similarity]
lib/libc/sys-minix/symlink.c
lib/libc/sys-minix/sync.c
lib/libc/sys-minix/sysuname.c
lib/libc/sys-minix/truncate.c
lib/libc/sys-minix/umask.c
lib/libc/sys-minix/unlink.c
lib/libc/sys-minix/utimensat.c
lib/libc/sys-minix/utimes.c
lib/libc/sys-minix/vfork.c
lib/libc/sys-minix/write.c
lib/libexec/exec_general.c
lib/libminlib/Makefile
lib/libminlib/gcov.c
lib/libsys/Makefile
lib/libsys/copyfd.c
lib/libsys/getepinfo.c
lib/libsys/getprocnr.c
lib/libsys/mapdriver.c
lib/libsys/sef.c
lib/libsys/srv_fork.c
lib/libsys/srv_kill.c
lib/libsys/vm_brk.c [deleted file]
servers/pm/Makefile
servers/pm/alarm.c
servers/pm/break.c [deleted file]
servers/pm/exec.c
servers/pm/forkexit.c
servers/pm/getset.c
servers/pm/glo.h
servers/pm/main.c
servers/pm/mcontext.c
servers/pm/misc.c
servers/pm/mproc.h
servers/pm/param.h [deleted file]
servers/pm/profile.c
servers/pm/proto.h
servers/pm/signal.c
servers/pm/table.c
servers/pm/time.c
servers/pm/trace.c
servers/pm/utility.c
servers/rs/exec.c
servers/vfs/README
servers/vfs/coredump.c
servers/vfs/device.c
servers/vfs/dmap.c
servers/vfs/exec.c
servers/vfs/filedes.c
servers/vfs/glo.h
servers/vfs/link.c
servers/vfs/lock.c
servers/vfs/main.c
servers/vfs/misc.c
servers/vfs/mount.c
servers/vfs/open.c
servers/vfs/param.h [deleted file]
servers/vfs/path.c
servers/vfs/pipe.c
servers/vfs/protect.c
servers/vfs/proto.h
servers/vfs/read.c
servers/vfs/select.c
servers/vfs/stadir.c
servers/vfs/table.c
servers/vfs/time.c
servers/vfs/utility.c
servers/vfs/write.c
servers/vm/break.c
servers/vm/vfs.c
test/test5.c