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 },",
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to