* Not trapping 'symlink' system call
@ 2007-06-06 18:40 Eric Howard
2007-06-06 19:25 ` Steve Grubb
0 siblings, 1 reply; 3+ messages in thread
From: Eric Howard @ 2007-06-06 18:40 UTC (permalink / raw)
To: linux-audit
I have been tasked to generate test cases to validate the proper execution of particular syscall audit flags. In most cases I have succeeded in triggering audit log entries. However, I have been unable to trigger audit entries for the 'symlink call' My test cases are generated by a shell script that execute commands to trigger the relevant calls. In my test case I created a hard-link and a soft-link using /bin/ln. Running strace indicated that the syscall was definitely made but 'ausearch -sc symlink' shows nothing. I am using audit-1.0.15-3.EL4. Any insight into this problem would be appreciated.
Sincerely,
Eric Howard
--------------------------------------
Protect yourself from spam,
use http://sneakemail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Not trapping 'symlink' system call
2007-06-06 18:40 Eric Howard
@ 2007-06-06 19:25 ` Steve Grubb
0 siblings, 0 replies; 3+ messages in thread
From: Steve Grubb @ 2007-06-06 19:25 UTC (permalink / raw)
To: linux-audit; +Cc: Eric Howard
On Wednesday 06 June 2007 14:40, Eric Howard wrote:
> I have been tasked to generate test cases to validate the proper execution
> of particular syscall audit flags.
I think HP open sourced a test suite that tests the audit system:
http://sourceforge.net/projects/audit-test
> In most cases I have succeeded in triggering audit log entries. However, I
> have been unable to trigger audit entries for the 'symlink call' My test
> cases are generated by a shell script that execute commands to trigger the
> relevant calls. In my test case I created a hard-link and a soft-link
> using /bin/ln. Running strace indicated that the syscall was definitely
> made but 'ausearch -sc symlink' shows nothing. I am using
> audit-1.0.15-3.EL4. Any insight into this problem would be appreciated.
Looking at the syscalls, it should trigger on something like:
auditctl -a always,exit -S symlink
Or were you testing it another way?
-Steve
^ permalink raw reply [flat|nested] 3+ messages in thread
* Not trapping 'symlink' system call
@ 2007-06-06 19:56 Eric Howard
0 siblings, 0 replies; 3+ messages in thread
From: Eric Howard @ 2007-06-06 19:56 UTC (permalink / raw)
To: linux-audit
Ah, I see my mistake. I was using 'possible' instead of 'always'. Thanks for your help!
-- Eric --
Steve Grubb sgrubb-at-redhat.com |redhat-audit-mailing-list| wrote:
> On Wednesday 06 June 2007 14:40, Eric Howard wrote:
>> I have been tasked to generate test cases to validate the proper execution
>> of particular syscall audit flags.
>
> I think HP open sourced a test suite that tests the audit system:
> http://sourceforge.net/projects/audit-test
>
>> In most cases I have succeeded in triggering audit log entries. However, I
>> have been unable to trigger audit entries for the 'symlink call' My test
>> cases are generated by a shell script that execute commands to trigger the
>> relevant calls. In my test case I created a hard-link and a soft-link
>> using /bin/ln. Running strace indicated that the syscall was definitely
>> made but 'ausearch -sc symlink' shows nothing. I am using
>> audit-1.0.15-3.EL4. Any insight into this problem would be appreciated.
>
> Looking at the syscalls, it should trigger on something like:
>
> auditctl -a always,exit -S symlink
>
> Or were you testing it another way?
>
> -Steve
>
--------------------------------------
Protect yourself from spam,
use http://sneakemail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-06 19:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06 19:56 Not trapping 'symlink' system call Eric Howard
-- strict thread matches above, loose matches on Subject: below --
2007-06-06 18:40 Eric Howard
2007-06-06 19:25 ` Steve Grubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).