Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751630AbaKQQJO (ORCPT ); Mon, 17 Nov 2014 11:09:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54679 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884AbaKQQJN (ORCPT ); Mon, 17 Nov 2014 11:09:13 -0500 From: Paul Moore To: Richard Guy Briggs , Steve Grubb Cc: linux-audit@redhat.com, linux-kernel@vger.kernel.org, eparis@parisplace.org Subject: Re: [PATCH] audit: convert status version to a feature bitmap Date: Mon, 17 Nov 2014 11:09:08 -0500 Message-ID: <3782801.lIH1fB4Omg@sifl> Organization: Red Hat User-Agent: KMail/4.14.2 (Linux/3.16.7-gentoo; KDE/4.14.2; x86_64; ; ) In-Reply-To: <20141115033251.GB31373@madcap2.tricolour.ca> References: <2673987.auILhPtmMS@x2> <20141115033251.GB31373@madcap2.tricolour.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, November 14, 2014 10:32:51 PM Richard Guy Briggs wrote: > On 14/11/13, Steve Grubb wrote: > > On Thursday, November 13, 2014 08:08:52 PM Richard Guy Briggs wrote: > > > > So what terrible things happen to userspace if > > > > AUDIT_VERSION_BACKLOG_WAIT_TIME becomes 0x03 instead of 0x02? > > > > > > But it won't. It gets the value of > > > AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME, which is 0x00000002. > > > > > > I think you meant to ask about AUDIT_VERSION_LATEST, which would become > > > 3. > > > > > > You *did* already ask that question in a previous thread, and there > > > didn't seem to be a concern. Steve Grubb could likely answer this > > > question better than me. > > > > The audit 2.4.1 package has been pushed to everything from F20 -> rawhide. > > If you don't see any problems, then its safe. But check carefully around > > the things that you did change. Right now, we only are caring about only > > one kernel feature, --loginuid-immutable. Check that it still works, > > auditctl -s. > Here's my output, which I assume looks sane: > > [root@f20 ~]# rpm -q audit > audit-2.4.1-1.fc20.x86_64 > [root@f20 ~]# auditctl -s > enabled 1 > flag 1 > pid 307 > rate_limit 0 > backlog_limit 320 > lost 0 > backlog 0 > backlog_wait_time 60000 > loginuid_immutable 0 unlocked Looks like good output to me, Steve? -- paul moore security and virtualization @ redhat -- 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/