. 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.
This commit is contained in:
Ben Gras
2009-01-26 17:43:59 +00:00
parent 4984a86f32
commit 3cc092ff06
38 changed files with 243 additions and 531 deletions

View File

@@ -16,6 +16,7 @@ driver floppy
SAFECOPYFROM # 31
SAFECOPYTO # 32
PROFBUF # 38
SYSCTL
;
};
@@ -31,6 +32,7 @@ driver dp8390
SAFECOPYTO # 32
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
pci device 10ec/8029;
uid 0;
@@ -48,6 +50,7 @@ driver dpeth
SAFECOPYTO # 32
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
uid 0;
};
@@ -65,6 +68,7 @@ driver lance
SAFECOPYTO # 32
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
pci device 1022/2000;
uid 0;
@@ -85,6 +89,7 @@ driver rtl8139
SETGRANT # 34
MAPDMA # 41
PROFBUF # 38
SYSCTL
;
pci device 10ec/8139;
ipc
@@ -107,6 +112,7 @@ driver fxp
SAFECOPYTO # 32
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
pci device 8086/1229;
ipc
@@ -123,6 +129,7 @@ driver dumpcore
GETINFO # 26
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
};
@@ -137,6 +144,7 @@ driver inet
VSAFECOPY # 33
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
uid 0;
};
@@ -151,6 +159,7 @@ driver random
SAFECOPYTO # 32
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
};
@@ -166,6 +175,7 @@ driver readclock.drv
SETGRANT # 34
READBIOS # 35
PROFBUF # 38
SYSCTL
;
uid 0;
};
@@ -176,6 +186,7 @@ driver is
GETINFO # 26
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
uid 0;
};
@@ -193,6 +204,7 @@ driver pci
SAFECOPYTO # 32
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
uid 0;
};
@@ -222,6 +234,7 @@ driver at_wini
SETGRANT # 34
READBIOS # 35
PROFBUF # 38
SYSCTL
;
pci class
1/1 # Mass storage / IDE
@@ -238,6 +251,7 @@ driver mfs
SETGRANT # 34
UMAP # 14
PROFBUF # 38
SYSCTL
;
uid 0;
};
@@ -262,6 +276,7 @@ driver printer
SAFECOPYFROM # 31
SAFECOPYTO # 32
PROFBUF # 38
SYSCTL
;
};
@@ -283,6 +298,7 @@ driver orinoco
SETGRANT # 34
VM_MAP # 30
PROFBUF # 38
SYSCTL
;
pci device 1260/3873;
uid 0;
@@ -299,6 +315,7 @@ driver es1370
IRQCTL # 19
DEVIO # 21
PROFBUF # 38
SYSCTL
;
pci device 1274/5000;
};
@@ -314,6 +331,7 @@ driver es1371
IRQCTL # 19
DEVIO # 21
PROFBUF # 38
SYSCTL
;
pci device 1274/1371;
};
@@ -327,6 +345,7 @@ driver amddev
GETINFO
REGDEV # 40
PROFBUF # 38
SYSCTL
;
uid 0;
};