svn commit: r194384 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Wed Jun 17 18:46:15 UTC 2009
Author: jhb
Date: Wed Jun 17 18:46:14 2009
New Revision: 194384
URL: http://svn.freebsd.org/changeset/base/194384
Log:
Remove the now-unused NOIMPL flag. It serves no useful purpose given the
existing UNIMPL and NOSTD types.
Modified:
head/sys/kern/makesyscalls.sh
head/sys/kern/syscalls.master
Modified: head/sys/kern/makesyscalls.sh
==============================================================================
--- head/sys/kern/makesyscalls.sh Wed Jun 17 18:44:15 2009 (r194383)
+++ head/sys/kern/makesyscalls.sh Wed Jun 17 18:46:14 2009 (r194384)
@@ -326,7 +326,7 @@ s/\$//g
}
$3 == "STD" || $3 == "NODEF" || $3 == "NOARGS" || $3 == "NOPROTO" \
- || $3 == "NOIMPL" || $3 == "NOSTD" {
+ || $3 == "NOSTD" {
parseline()
printf("\t/* %s */\n\tcase %d: {\n", funcname, syscall) > systrace
printf("\t/* %s */\n\tcase %d:\n", funcname, syscall) > systracetmp
@@ -375,10 +375,7 @@ s/\$//g
}
printf("\t{ %s, (sy_call_t *)", argssize) > sysent
column = 8 + 2 + length(argssize) + 15
- if ($3 == "NOIMPL") {
- printf("%s },", "nosys, AUE_NULL, NULL, 0, 0, 0") > sysent
- column = column + length("nosys") + length("AUE_NULL") + 3
- } else if ($3 == "NOSTD") {
+ if ($3 == "NOSTD") {
printf("%s },", "lkmressys, AUE_NULL, NULL, 0, 0, 0") > sysent
column = column + length("lkmressys") + length("AUE_NULL") + 3
} else {
Modified: head/sys/kern/syscalls.master
==============================================================================
--- head/sys/kern/syscalls.master Wed Jun 17 18:44:15 2009 (r194383)
+++ head/sys/kern/syscalls.master Wed Jun 17 18:46:14 2009 (r194384)
@@ -12,7 +12,7 @@
; case where the event exists, but we don't want auditing, the
; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of STD, OBSOL, UNIMPL, COMPAT, CPT_NOA, LIBCOMPAT,
-; NODEF, NOARGS, NOPROTO, NOIMPL, NOSTD, COMPAT4
+; NODEF, NOARGS, NOPROTO, NOSTD, COMPAT4
; name psuedo-prototype of syscall routine
; If one of the following alts is different, then all appear:
; altname name of system call if different
More information about the svn-src-head
mailing list