From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Roberts Subject: [RFC][PATCH] - auditing cmdline Date: Tue, 7 Jan 2014 12:43:59 -0800 Message-ID: <1389127440-974-1-git-send-email-wroberts@tresys.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: sds@tycho.nsa.gov, rgb@redhat.com, linux-audit@redhat.com List-Id: linux-audit@redhat.com Just some updates from the review that I have gathered. 1. Possibility of accessing invalid memory on res being 0. 2. Do not switch ordering of fields. Does anyone hate using the boolean expression to get my increment value? Removes some branches. Based on my loose understanding that boolean operators are guarenteed to be 0 or 1. Although I am never a big fan of stuff like this in general. Should I just do the branches? http://c-faq.com/bool/bool2.html [PATCH] squash: review-updates