Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2012 15:48:31 +0800
From:      dave jones <s.dave.jones@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   A question about creating a system call
Message-ID:  <CANf5e8Y_zGCHmZfmCbNAx3=4%2BNzinyyVUMgndv%2BpzqvxK4gzxA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I know how to create system calls, but I'm a bit confused about
sys/kern/syscalls.master file explained. For example, if I have a
foo system call, following code is added:

532     AUE_NULL        STD     { int foo(char *str); }

The question is in column two AUE_NULL, can I replace it with AUE_FOO?
How to determine the system call should be audit or not? Thank you.

Regards,
Dave.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANf5e8Y_zGCHmZfmCbNAx3=4%2BNzinyyVUMgndv%2BpzqvxK4gzxA>