All of lore.kernel.org
 help / color / mirror / Atom feed
From: 杨海 <hai.yang@magic-shield.com>
To: "Steve Grubb" <sgrubb@redhat.com>, linux-audit <linux-audit@redhat.com>
Subject: Re: How to filter PROCTITLE events
Date: Thu, 25 Jul 2019 13:44:07 +0800	[thread overview]
Message-ID: <tencent_51B48DB510141AD94C0292D1@qq.com> (raw)
In-Reply-To: <1846383.7Xiv5u5QpR@x2>


[-- Attachment #1.1: Type: text/plain, Size: 999 bytes --]

Thanks Steve. It works :-)
Meanwhile, for read/write system call, if they belongs to same pid and same fd, we are trying to suppress them into one msg. I guess it would not be able to filter using auditctl, is that right?


Regards
Hai









 
 
------------------ Original ------------------
From:  "Steve Grubb"<sgrubb@redhat.com>;
Date:  Wed, Jul 24, 2019 08:14 PM
To:  "linux-audit"<linux-audit@redhat.com>; 
Cc:  "杨海"<hai.yang@magic-shield.com>; 
Subject:  Re: How to filter PROCTITLE events

 

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

[-- Attachment #1.2: Type: text/html, Size: 2063 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2019-07-25  5:44 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
2019-07-25  5:44   ` 杨海 [this message]
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=tencent_51B48DB510141AD94C0292D1@qq.com \
    --to=hai.yang@magic-shield.com \
    --cc=linux-audit@redhat.com \
    --cc=sgrubb@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 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.