From: Casey Schaufler <casey@schaufler-ca.com>
To: Anurag Aggarwal <anurag19aggarwal@gmail.com>, Linux-audit@redhat.com
Cc: avtanshgupta1995@gmail.com
Subject: Re: Identify whether the kernel version supports Path based exclusion
Date: Tue, 10 Jan 2023 06:55:21 -0800 [thread overview]
Message-ID: <ee775da5-dce5-6337-277d-8d384383ae16@schaufler-ca.com> (raw)
In-Reply-To: <CAPoNrttQd+ieQ+B93SbrbiPjppRoiyT_a+7FpiRdQNGQ2ApiXQ@mail.gmail.com>
On 1/10/2023 4:08 AM, Anurag Aggarwal wrote:
> Hello All,
>
> I need a method to identify whether the audid version a kernel is
> running supports path based exclusions.
% cat /sys/kernel/security/lsm
This will tell you what security modules are in use. Check whether
any of the modules that use path based controls (AppArmor, TOMOYO)
are in the list.
>
> One option would be to use audit_add_rule_data to add a temporary path
> based rule and check if it is successful, but this won't work when
> auditd is running in immutable mode.
>
>
> Any other way which does not require checking versions of Kernel or
> Distribution?
>
> --
> Anurag Aggarwal
>
> --
> Linux-audit mailing list
> Linux-audit@redhat.com
> https://listman.redhat.com/mailman/listinfo/linux-audit
--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit
next prev parent reply other threads:[~2023-01-10 14:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-10 12:08 Identify whether the kernel version supports Path based exclusion Anurag Aggarwal
2023-01-10 14:55 ` Casey Schaufler [this message]
2023-01-10 15:15 ` Steve Grubb
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=ee775da5-dce5-6337-277d-8d384383ae16@schaufler-ca.com \
--to=casey@schaufler-ca.com \
--cc=Linux-audit@redhat.com \
--cc=anurag19aggarwal@gmail.com \
--cc=avtanshgupta1995@gmail.com \
/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.