Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2010 10:02:01 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203660 - in head/sys: compat/freebsd32 compat/svr4 i386/ibcs2 kern
Message-ID:  <201002081002.o18A21rE005989@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Mon Feb  8 10:02:01 2010
New Revision: 203660
URL: http://svn.freebsd.org/changeset/base/203660

Log:
  Remove unused LIBCOMPAT keyword from syscalls.master.

Modified:
  head/sys/compat/freebsd32/syscalls.master
  head/sys/compat/svr4/syscalls.master
  head/sys/i386/ibcs2/syscalls.master
  head/sys/kern/makesyscalls.sh
  head/sys/kern/syscalls.master

Modified: head/sys/compat/freebsd32/syscalls.master
==============================================================================
--- head/sys/compat/freebsd32/syscalls.master	Mon Feb  8 09:16:59 2010	(r203659)
+++ head/sys/compat/freebsd32/syscalls.master	Mon Feb  8 10:02:01 2010	(r203660)
@@ -13,7 +13,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, COMPAT4, COMPAT6,
-;		COMPAT7, LIBCOMPAT, NODEF, NOARGS, NOPROTO, NOSTD
+;		COMPAT7, NODEF, NOARGS, NOPROTO, NOSTD
 ;		The COMPAT* options may be combined with one or more NO*
 ;		options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
 ;	name	psuedo-prototype of syscall routine
@@ -29,7 +29,6 @@
 ;	COMPAT4	included on COMPAT4 #ifdef (FreeBSD 4 compat)
 ;	COMPAT6	included on COMPAT6 #ifdef (FreeBSD 6 compat)
 ;	COMPAT7	included on COMPAT7 #ifdef (FreeBSD 7 compat)
-;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
 ;	OBSOL	obsolete, not included in system, only specifies name
 ;	UNIMPL	not implemented, placeholder only
 ;	NOSTD	implemented but as a lkm that can be statically

Modified: head/sys/compat/svr4/syscalls.master
==============================================================================
--- head/sys/compat/svr4/syscalls.master	Mon Feb  8 09:16:59 2010	(r203659)
+++ head/sys/compat/svr4/syscalls.master	Mon Feb  8 10:02:01 2010	(r203660)
@@ -22,7 +22,6 @@
 ; types:
 ;	STD	always included
 ;	COMPAT	included on COMPAT #ifdef
-;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
 ;	OBSOL	obsolete, not included in system, only specifies name
 ;	UNIMPL	not implemented, placeholder only
 

Modified: head/sys/i386/ibcs2/syscalls.master
==============================================================================
--- head/sys/i386/ibcs2/syscalls.master	Mon Feb  8 09:16:59 2010	(r203659)
+++ head/sys/i386/ibcs2/syscalls.master	Mon Feb  8 10:02:01 2010	(r203660)
@@ -22,7 +22,6 @@
 ; types:
 ;	STD	always included
 ;	COMPAT	included on COMPAT #ifdef
-;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
 ;	OBSOL	obsolete, not included in system, only specifies name
 ;	UNIMPL	not implemented, placeholder only
 

Modified: head/sys/kern/makesyscalls.sh
==============================================================================
--- head/sys/kern/makesyscalls.sh	Mon Feb  8 09:16:59 2010	(r203659)
+++ head/sys/kern/makesyscalls.sh	Mon Feb  8 10:02:01 2010	(r203660)
@@ -497,23 +497,6 @@ s/\$//g
 		syscall++
 		next
 	}
-	type("LIBCOMPAT") {
-		ncompat++
-		parseline()
-		printf("%s\to%s();\n", rettype, funcname) > syscompatdcl
-		printf("\t{ compat(%s,%s), %s, NULL, 0, 0, %s },",
-		    argssize, funcname, auditev, flags) > sysent
-		align_sysent_comment(8 + 9 + \
-		    length(argssize) + 1 + length(funcname) + length(auditev) + length(flags) + 4)
-		printf("/* %d = old %s */\n", syscall, funcalias) > sysent
-		printf("\t\"old.%s\",\t\t/* %d = old %s */\n",
-		    funcalias, syscall, funcalias) > sysnames
-		printf("#define\t%s%s\t%d\t/* compatibility; still used by libc */\n",
-		    syscallprefix, funcalias, syscall) > syshdr
-		printf(" \\\n\t%s.o", funcalias) > sysmk
-		syscall++
-		next
-	}
 	type("OBSOL") {
 		printf("\t{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 },") > sysent
 		align_sysent_comment(34)

Modified: head/sys/kern/syscalls.master
==============================================================================
--- head/sys/kern/syscalls.master	Mon Feb  8 09:16:59 2010	(r203659)
+++ head/sys/kern/syscalls.master	Mon Feb  8 10:02:01 2010	(r203660)
@@ -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, COMPAT4, COMPAT6,
-;		COMPAT7, LIBCOMPAT, NODEF, NOARGS, NOPROTO, NOSTD
+;		COMPAT7, NODEF, NOARGS, NOPROTO, NOSTD
 ;		The COMPAT* options may be combined with one or more NO*
 ;		options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
 ;	name	psuedo-prototype of syscall routine
@@ -28,7 +28,6 @@
 ;	COMPAT4	included on COMPAT4 #ifdef (FreeBSD 4 compat)
 ;	COMPAT6	included on COMPAT6 #ifdef (FreeBSD 6 compat)
 ;	COMPAT7	included on COMPAT7 #ifdef (FreeBSD 7 compat)
-;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
 ;	OBSOL	obsolete, not included in system, only specifies name
 ;	UNIMPL	not implemented, placeholder only
 ;	NOSTD	implemented but as a lkm that can be statically



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