On Thursday, July 25, 2019 1:44:07 AM EDT 杨海 wrote:
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?
Technically you could suppress them. In practice, it's not feasible. You
would need to have application specific rules to suppress. The more rules you
have the more performance you lose.
But I would start by questioning whether you really need to monitor reads and
writes? If a file is opened with O_WRONLY or O_RDWR, can it just be assumed
that the file was written to?
-Steve