1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

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.
This commit is contained in:
John Baldwin 2009-06-22 20:14:10 +00:00
parent 0b0fe06a5e
commit 773fa740c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194646

View File

@ -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 },",