Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2009 20:14:10 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194646 - head/sys/kern
Message-ID:  <200906222014.n5MKEARV051112@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 },",



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