]> Zhao Yanbai Git Server - minix.git/commit
. new kernel call sysctl for generic unprivileged system operations;
authorBen Gras <ben@minix3.org>
Mon, 26 Jan 2009 17:43:59 +0000 (17:43 +0000)
committerBen Gras <ben@minix3.org>
Mon, 26 Jan 2009 17:43:59 +0000 (17:43 +0000)
commit3cc092ff06ea84cd4830bfc9d1bb1666ddfd505c
tree733589d1ce414841517a0d538981a577d113126a
parent4984a86f328adc9f4ea38343ae4aa9afe1cefefc
 . new kernel call sysctl for generic unprivileged system operations;
   now used for printing diagnostic messages through the kernel message
   buffer. this lets processes print diagnostics without sending messages
   to tty and log directly, simplifying the message protocol a lot and
   reducing difficulties with deadlocks and other situations in which
   diagnostics are blackholed (e.g. grants don't work). this makes
   DIAGNOSTICS(_S), ASYN_DIAGNOSTICS and DIAG_REPL obsolete, although tty
   and log still accept the codes for 'old' binaries. This also simplifies
   diagnostics in several servers and drivers - only tty needs its own
   kputc() now.
 . simplifications in vfs, and some effort to get the vnode references
   right (consistent) even during shutdown. m_mounted_on is now NULL
   for root filesystems (!) (the original and new root), a less awkward
   special case than 'm_mounted_on == m_root_node'. root now has exactly
   one reference, to root, if no files are open, just like all other
   filesystems. m_driver_e is unused.
38 files changed:
drivers/libdriver_asyn/driver.c
drivers/log/Makefile
drivers/log/diag.c
drivers/log/kputc.c [deleted file]
drivers/log/log.c
drivers/log/log.h
drivers/tty/console.c
drivers/tty/tty.c
etc/drivers.conf
include/minix/com.h
include/minix/syslib.h
kernel/const.h
kernel/proto.h
kernel/system.c
kernel/system/Makefile
kernel/system/do_sysctl.c [new file with mode: 0644]
kernel/table.c
kernel/utility.c
lib/syslib/Makefile.in
lib/syslib/sys_sysctl.c [new file with mode: 0644]
lib/sysutil/kputc.c
servers/mfs/inode.c
servers/pm/Makefile
servers/pm/kputc.c [deleted file]
servers/pm/main.c
servers/pm/misc.c
servers/rs/manager.c
servers/rs/service.c
servers/vfs/Makefile
servers/vfs/device.c
servers/vfs/kputc.c [deleted file]
servers/vfs/main.c
servers/vfs/misc.c
servers/vfs/mount.c
servers/vfs/proto.h
servers/vfs/request.c
servers/vfs/vmnt.h
servers/vfs/vnode.c