Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Adding rules
@ 2006-06-07 18:30 Steve
  2006-06-07 18:50 ` Steve Grubb
  0 siblings, 1 reply; 4+ messages in thread
From: Steve @ 2006-06-07 18:30 UTC (permalink / raw)
  To: linux-audit

I am attempting to create a c program that can add rules to the audit 
sub-system and monitor the resulting events.  I have read through the 
code in libaudit.h, audit.h, audit.c, and auditsc.c as well as several 
man pages pertaining to audit and extended searching of the web.

I am trying to add a rule using audit_add_rule() so audit will "watch" a 
file.  The first problem is that there doesn't seem to be an appropriate 
field under the "Rule Fields" section of audit.h.  The second is that 
the value must be an integer...

I have succeeded in adding the rule from the command-line using auditctl.

I would appreciate any help you can offer,
Steve

I am using: audit-1.2.3-1 and glibc-kernheaders-3.0-37

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <4AC62902.5080505@itt.com>]

end of thread, other threads:[~2009-10-17 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07 18:30 Adding rules Steve
2006-06-07 18:50 ` Steve Grubb
     [not found] <4AC62902.5080505@itt.com>
2009-10-16 22:22 ` adding rules Pittigher, Raymond  - CS
2009-10-17 16:46   ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox