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:
parent
0b0fe06a5e
commit
773fa740c9
@ -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 },",
|
||||
|
Loading…
Reference in New Issue
Block a user