From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Guy Briggs Subject: Re: Logging from within kernel Date: Sun, 25 Nov 2018 12:06:03 -0500 Message-ID: <20181125170603.aoxny4bygvgwtvcz@madcap2.tricolour.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Ranran Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com 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 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