svn commit: r194646 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Mon Jun 22 20:14:10 UTC 2009
Author: jhb
Date: Mon Jun 22 20:14:10 2009
New Revision: 194646
URL: http://svn.freebsd.org/changeset/base/194646
Log:
Include definitions for the audit identifiers for compat system calls in
sysproto.h. This makes it possible to use SYSCALL_MODULE() for compat
system calls that live in kernel modules.
Modified:
head/sys/kern/makesyscalls.sh
Modified: head/sys/kern/makesyscalls.sh
==============================================================================
--- head/sys/kern/makesyscalls.sh Mon Jun 22 20:12:40 2009 (r194645)
+++ head/sys/kern/makesyscalls.sh Mon Jun 22 20:14:10 2009 (r194646)
@@ -448,6 +448,8 @@ s/\$//g
if (!flag("NOPROTO") && !flag("NODEF")) {
printf("%s\t%s%s(struct thread *, struct %s *);\n",
rettype, prefix, funcname, argalias) > outdcl
+ printf("#define\t%sAUE_%s%s\t%s\n", syscallprefix,
+ prefix, funcname, auditev) > sysaue
}
if (flag("NOSTD")) {
printf("\t{ %s, (sy_call_t *)%s, %s, NULL, 0, 0, 0 },",
More information about the svn-src-all
mailing list