From owner-cvs-src-old@FreeBSD.ORG Wed Jun 17 19:51:21 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1BC2106564A for ; Wed, 17 Jun 2009 19:51:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CDB608FC18 for ; Wed, 17 Jun 2009 19:51:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5HJpLq6094771 for ; Wed, 17 Jun 2009 19:51:21 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5HJpLJ5094770 for cvs-src-old@freebsd.org; Wed, 17 Jun 2009 19:51:21 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200906171951.n5HJpLJ5094770@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Wed, 17 Jun 2009 19:50:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/freebsd32 syscalls.master src/sys/kern makesyscalls.sh syscalls.master X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 19:51:22 -0000 jhb 2009-06-17 19:50:38 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 syscalls.master sys/kern makesyscalls.sh syscalls.master Log: SVN rev 194390 on 2009-06-17 19:50:38Z by jhb - Add the ability to mix multiple flags seperated by pipe ('|') characters in the type field of system call tables. Specifically, one can now use the 'NO*' types as flags in addition to the 'COMPAT*' types. For example, to tag 'COMPAT*' system calls as living in a KLD via NOSTD. The COMPAT* type is required to be listed first in this case. - Add new functions 'type()' and 'flag()' to the embedded awk script in makesyscalls.sh that return true if a requested flag is found in the type field ($3). The flag() function checks all of the flags in the field, but type() only checks the first flag. type() is meant to be used in the top-level "switch" statement and flag() should be used otherwise. - Retire the CPT_NOA type, it is now replaced with "COMPAT|NOARGS" using the flags approach. - Tweak the comment descriptions of COMPAT[46] system calls so that they say "freebsd[46] foo" rather than "old foo". - Document the COMPAT6 type. - Sync comments in compat32 syscall table with the master table. Revision Changes Path 1.118 +7 -4 src/sys/compat/freebsd32/syscalls.master 1.74 +59 -32 src/sys/kern/makesyscalls.sh 1.254 +8 -5 src/sys/kern/syscalls.master