Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932073AbbDQHhE (ORCPT ); Fri, 17 Apr 2015 03:37:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54991 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753341AbbDQHg4 (ORCPT ); Fri, 17 Apr 2015 03:36:56 -0400 From: Richard Guy Briggs To: containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-audit@redhat.com Cc: Richard Guy Briggs , sgrubb@redhat.com, eparis@parisplace.org, pmoore@redhat.com, arozansk@redhat.com, ebiederm@xmission.com, serge@hallyn.com, zohar@linux.vnet.ibm.com Subject: [PATCH V6 04/10] audit: initialize at subsystem time rather than device time Date: Fri, 17 Apr 2015 03:35:51 -0400 Message-Id: <02791fd55320a4bf2d3920b900d9b1fb14a9935e.1429252659.git.rgb@redhat.com> In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 888 Lines: 29 The audit subsystem should be initialized a bit earlier so that it is in place in time for initial namespace ID number logging. Signed-off-by: Richard Guy Briggs --- kernel/audit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 68200ce..63f32f4 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -1188,7 +1188,7 @@ static int __init audit_init(void) return 0; } -__initcall(audit_init); +subsys_initcall(audit_init); /* Process kernel command-line parameter at boot time. audit=0 or audit=1. */ static int __init audit_enable(char *str) -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/