From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [userspace PATCH v2 0/2] Add support for loginuid_set Date: Mon, 10 Oct 2016 13:24:16 -0400 Message-ID: <3382475.po8Up8mjF7@x2> References: <1471544337-3108-1-git-send-email-rgb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1471544337-3108-1-git-send-email-rgb@redhat.com> 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 , Paul Moore Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Thursday, August 18, 2016 2:18:55 PM EDT Richard Guy Briggs wrote: > loginuid_set support should have been added to userspace when it was > added to the kernel around v3.10. Add it before we do similar for > sessionID and sessionID_set. If this were accepted, how would this change writing rules? IOW, can you give an example rule so we can see what this looks like? Thanks, -Steve > There will be a number of users of features_bitmap within the same > function (exclude filter extension, sessionID filter), so refactor > audit_rule_fieldpair_data() to put audit_get_features earlier in the > function. > > Richard Guy Briggs (2): > get feature list only once > Add user filter option loginuid_set from uapi macro > AUDIT_LOGINUID_SET > > trunk/lib/errormsg.h | 2 ++ > trunk/lib/fieldtab.h | 2 ++ > trunk/lib/libaudit.c | 17 ++++++++++++++++- > trunk/lib/libaudit.h | 6 ++++++ > 4 files changed, 26 insertions(+), 1 deletions(-)