From: Casey Schaufler <casey@schaufler-ca.com>
To: mohit verma <mohit89mlnc@gmail.com>
Cc: selinux <selinux@tycho.nsa.gov>
Subject: Re: audit function
Date: Fri, 14 Jan 2011 13:47:20 -0800 [thread overview]
Message-ID: <4D30C468.9040400@schaufler-ca.com> (raw)
In-Reply-To: <AANLkTimFDVmgtFCkUEKV=mUDBCOQMX4-owM+gTes0X7v@mail.gmail.com>
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.
prev parent reply other threads:[~2011-01-14 21:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-14 9:17 audit function mohit verma
2011-01-14 21:47 ` Casey Schaufler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D30C468.9040400@schaufler-ca.com \
--to=casey@schaufler-ca.com \
--cc=mohit89mlnc@gmail.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.