All of lore.kernel.org
 help / color / mirror / Atom feed
* Can we audit writing to character device?
@ 2014-08-04 11:58 Tetsuo Handa
  2014-08-04 12:39 ` Steve Grubb
  0 siblings, 1 reply; 3+ messages in thread
From: Tetsuo Handa @ 2014-08-04 11:58 UTC (permalink / raw)
  To: linux-audit

Hello.

I tried to audit write syscall on /dev/watchdog in order to check
https://access.redhat.com/site/solutions/707563 .

I expected that I can do it using

  # auditctl -a exit,always -F filetype=character -F devmajor=10 -F devminor=130 -F arch=b64 -S write -k watchdog

but it did not work (even

  # auditctl -a exit,always -F filetype=character -F arch=b64 -S write -k watchdog

did not work).

Is this functionality not implemented?

Should I do

  # stap -d hpwdt -e 'probe module("hpwdt").function("hpwdt_ping") { printf("%u\n", gettimeofday_ns()); }'

instead (if I can't use this functionality) ?

Regards.

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

end of thread, other threads:[~2014-08-04 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-04 11:58 Can we audit writing to character device? Tetsuo Handa
2014-08-04 12:39 ` Steve Grubb
2014-08-04 13:08   ` Tetsuo Handa

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.