All of lore.kernel.org
 help / color / mirror / Atom feed
* Logging sensitive information from kernel (while atomic and uninterrupted)
@ 2012-05-03  8:40 Panagiotis Sakkos
  2012-05-03 11:03 ` Kernel latency for handling the Network traffic Suresh Kumar Subramanian
  2012-05-04  2:43 ` Logging sensitive information from kernel (while atomic and uninterrupted) Anirban Roy
  0 siblings, 2 replies; 6+ messages in thread
From: Panagiotis Sakkos @ 2012-05-03  8:40 UTC (permalink / raw)
  To: kernelnewbies

Hi again,

I would like to ask you the possible ways of logging information from the kernel, without
the messages being intercepted from dmesg. Also please note that my implementation uses the kprobes API, so in my probes I am atomic and uninterrupted.


  *   printk sends the logs to the kernel ring buffer, so dmesg will always see them. Hence, printk-ing is not a solution.
  *   Logging to a unix socket (i.e. /dev/log) didn't work (check "Crash when sending a lot of messages through a unix socket" thread).
  *   proc filesystem, I am not sure, but I believe that is not suitable for logging information. It is more for kernel information exposing.

Any other ideas? My problem is that I log sensitive data and any unprivileged user can run dmesg and see the sensitive logs.

Thank you in advance for your time,
Panos
--
http://www.cern.ch/psakkos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120503/e4bf77e7/attachment.html 

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

end of thread, other threads:[~2012-05-04  2:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03  8:40 Logging sensitive information from kernel (while atomic and uninterrupted) Panagiotis Sakkos
2012-05-03 11:03 ` Kernel latency for handling the Network traffic Suresh Kumar Subramanian
2012-05-03 13:54   ` michi1 at michaelblizek.twilightparadox.com
2012-05-03 16:47     ` Abu Rasheda
2012-05-03 19:52       ` michi1 at michaelblizek.twilightparadox.com
2012-05-04  2:43 ` Logging sensitive information from kernel (while atomic and uninterrupted) Anirban Roy

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.