[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: More audit message types

Mounir Bsaibes
Linux Security
Tel:  (512) 838-1301
Cell: (512) 762-9957
Fax: (512) 838-8858
e-mail: bsaibes us ibm com

linux-audit-bounces redhat com wrote on 02/10/2005 01:51:20 PM:

> Hello,
> I'm working on the code for the audit daemon that writes the startup and 

> termination records to the audit log. I want to add more message types 
> handle this. I have 2 ways to do it. 1) add the defines to the kernel 
> file or 2) add the defines to libaudit.h and hope we never have a clash.

libaudit.h includes linux/audit.h.

I think it is better to keep all these defines in one place.

> I'm setting message types in the range of 1500 - 1599 for audit daemon 
> use. I doubt we'll ever need more that 4-5, but numbers are cheap. In 
> to keep working on this, I'm putting it in libaudit.h. It looks like 
> /* These audit message types are for audit daemon local use. */
> #define AUDIT_START     1500     /* Define daemon start record */
> #define AUDIT_TERM_NORM 1501     /* Define normal termination */
> #define AUDIT_TERM_ERR  1502     /* Define error termination */
> Any consensus as to whether they belong in the kernel's audit.h or 
> Thanks,
> -Steve Grubb
> --
> Linux-audit mailing list
> Linux-audit redhat com
> http://www.redhat.com/mailman/listinfo/linux-audit

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]