linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: How to filter PROCTITLE events
Date: Wed, 24 Jul 2019 08:14:02 -0400	[thread overview]
Message-ID: <1846383.7Xiv5u5QpR@x2> (raw)
In-Reply-To: <tencent_2653C64E6532CFFE233BCDFC@qq.com>

On Wednesday, July 24, 2019 5:27:59 AM EDT 杨海 wrote:
> Hi
> 
> I am looking for the method to filter the PROCTITLE events via auditctl.
> 
> It is said we can do it, but I could not figure out how.

Did you read about the exclude filter?  :-)

> "The proctitle event is emitted during syscall audits, and can be filtered
> with auditctl."

-a always,exclude -F msgtype=PROCTITLE

There is another example in the 20-dont-audit.rules file.

-Steve



--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit

  reply	other threads:[~2019-07-24 12:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24  9:27 How to filter PROCTITLE events 杨海
2019-07-24 12:14 ` Steve Grubb [this message]
2019-07-25  5:44   ` 杨海
2019-07-25 14:51     ` Steve Grubb
2019-07-30 12:18       ` 杨海
2019-07-30 12:29         ` 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=1846383.7Xiv5u5QpR@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.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 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).