* audit function
@ 2011-01-14 9:17 mohit verma
2011-01-14 21:47 ` Casey Schaufler
0 siblings, 1 reply; 2+ messages in thread
From: mohit verma @ 2011-01-14 9:17 UTC (permalink / raw)
To: selinux
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
hi folks,
can someone help me understand the use of the function
selinux_audit_rule_init
<http://lxr.linux.no/linux+*/+code=selinux_audit_rule_init>(u32
<http://lxr.linux.no/linux+*/+code=u32> field
<http://lxr.linux.no/linux+*/+code=field>, u32
<http://lxr.linux.no/linux+*/+code=u32> op
<http://lxr.linux.no/linux+*/+code=op>, char *rulestr
<http://lxr.linux.no/linux+*/+code=rulestr>, void **vrule
<http://lxr.linux.no/linux+*/+code=vrule>);
does this function gets initialized at initramfs or later on to log
the data? i mean i am completely blank at this function.
thanks in advance to elaborate on it.
--
........................
*MOHIT VERMA*
[-- Attachment #2: Type: text/html, Size: 981 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: audit function
2011-01-14 9:17 audit function mohit verma
@ 2011-01-14 21:47 ` Casey Schaufler
0 siblings, 0 replies; 2+ messages in thread
From: Casey Schaufler @ 2011-01-14 21:47 UTC (permalink / raw)
To: mohit verma; +Cc: selinux
On 1/14/2011 1:17 AM, mohit verma wrote:
> hi folks,
> can someone help me understand the use of the function
> selinux_audit_rule_init <http://lxr.linux.no/linux+*/+code=selinux_audit_rule_init>(u32 <http://lxr.linux.no/linux+*/+code=u32> field <http://lxr.linux.no/linux+*/+code=field>, u32 <http://lxr.linux.no/linux+*/+code=u32> op <http://lxr.linux.no/linux+*/+code=op>, char *rulestr <http://lxr.linux.no/linux+*/+code=rulestr>, void **vrule <http://lxr.linux.no/linux+*/+code=vrule>);
>
>
> does this function gets initialized at initramfs or later on to log the data? i mean i am completely blank at this function.
>
> thanks in advance to elaborate on it.
You will find it called (twice) in kernel/auditfilter.c
as security_audit_rule_init. This is an LSM hook.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-14 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-14 9:17 audit function mohit verma
2011-01-14 21:47 ` Casey Schaufler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.