From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [PATCH] audit: convert status version to a feature bitmap Date: Mon, 17 Nov 2014 13:11:30 -0500 Message-ID: <29507580.Ai7i68Ft5T@x2> References: <13752367.yccC5JN0ln@x2> <20141117180839.GA9526@madcap2.tricolour.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141117180839.GA9526@madcap2.tricolour.ca> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Richard Guy Briggs Cc: eparis@parisplace.org, linux-audit@redhat.com List-Id: linux-audit@redhat.com On Monday, November 17, 2014 01:08:39 PM Richard Guy Briggs wrote: > > > Looks like good output to me, Steve? > > > > I would like it better if the following was tested as root: > > > > auditctl -s > > echo "1" > /proc/self/loginuid > > auditctl --loginuid-immutable > > auditctl -s > > echo "2" > /proc/self/loginuid > > > > This was we know that the feature is correctly reported, selected, and > > working. > > This looks sane: Thanks for testing this. > [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 > [root@f20 ~]# echo "1" > /proc/self/loginuid > [root@f20 ~]# auditctl --loginuid-immutable > [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 1 locked > [root@f20 ~]# echo "2" > /proc/self/loginuid > -bash: echo: write error: Operation not permitted OK. Looks good to me, too. -Steve