Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 18:46:14 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194384 - head/sys/kern
Message-ID:  <200906171846.n5HIkErI084688@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906171846.n5HIkErI084688>