Date: Wed, 17 Jun 2009 19:50:38 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/freebsd32 syscalls.master src/sys/kern makesyscalls.sh syscalls.master Message-ID: <200906171951.n5HJpLJ5094770@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906171951.n5HJpLJ5094770>
