linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* How to audit socket close system call?
@ 2014-12-19  6:06 Jie Cui
  2014-12-19 14:37 ` Steve Grubb
  2015-01-08 22:55 ` Alexander Viro
  0 siblings, 2 replies; 6+ messages in thread
From: Jie Cui @ 2014-12-19  6:06 UTC (permalink / raw)
  To: linux-audit


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

Hi all~
How to audit socket close system call?
I can audit the socket connection by 'connect' system call.
I can also audit the socket termination by 'shutdown' system call.
But I can't figure out how to audit when the socket is closed.
Does the 'close' system call works? However all the file close events will
also be auditing. That's not what I want.

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

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-09 18:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19  6:06 How to audit socket close system call? Jie Cui
2014-12-19 14:37 ` Steve Grubb
2014-12-20 19:39   ` Hassan Sultan
2014-12-21 16:04     ` Steve Grubb
2015-01-08 22:55 ` Alexander Viro
2015-01-09 18:22   ` LC Bruzenak

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).