Logging from within kernel

Richard Guy Briggs rgb at redhat.com
Sun Nov 25 17:06:03 UTC 2018


On 2018-11-24 01:47, Ranran wrote:
> Hello,
> 
> Is it possible to log all messages from within kernel, (without any
> userspace application and daemon) ?

No.  The log messages leave the kernel via the audit netlink socket and
get consumed by a userspace process.

There is no facility to write it directly to disk in the kernel if that
is what you are asking.

> Ran

- RGB

--
Richard Guy Briggs <rgb at redhat.com>
Sr. S/W Engineer, Kernel Security, Base Operating Systems
Remote, Ottawa, Red Hat Canada
IRC: rgb, SunRaycer
Voice: +1.647.777.2635, Internal: (81) 32635




More information about the Linux-audit mailing list