From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Moore Subject: Checking for audit_enabled in the kernel Date: Tue, 14 Nov 2006 12:48:07 -0500 Message-ID: <455A0157.9060100@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id kAEHmOLQ027687 for ; Tue, 14 Nov 2006 12:48:24 -0500 Received: from atlrel8.hp.com (atlrel8.hp.com [156.153.255.206]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kAEHmFdx024138 for ; Tue, 14 Nov 2006 12:48:15 -0500 Received: from smtp2.fc.hp.com (smtp2.fc.hp.com [15.11.136.114]) by atlrel8.hp.com (Postfix) with ESMTP id 44B6A34334 for ; Tue, 14 Nov 2006 12:48:15 -0500 (EST) Received: from [16.116.113.207] (flek.zko.hp.com [16.116.113.207]) by smtp2.fc.hp.com (Postfix) with ESMTP id EB0B5144095 for ; Tue, 14 Nov 2006 17:48:07 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com I'm trying to find a way to quickly determine if auditing is enabled and it looks like the only real way to do that is to declare audit_enabled as an extern and check the variable directly. Is there some interface for this that I am missing? -- paul moore linux security @ hp