Re: [PATCH] audit: skip sessionid sentinel value when auto-incrementing

2016-11-20 Thread Paul Moore
On Thu, Nov 17, 2016 at 9:27 PM, Richard Guy Briggs wrote: > On 2016-11-17 18:34, Paul Moore wrote: >> On Tue, Nov 15, 2016 at 3:49 AM, Richard Guy Briggs wrote: >> > On 2016-11-14 15:17, Paul Moore wrote: >> >> On Thu, Nov 10, 2016 at 1:41 AM, Richard Guy Briggs >> >> wrote: >> >> > The value

Re: [PATCH] audit: skip sessionid sentinel value when auto-incrementing

2016-11-17 Thread Richard Guy Briggs
On 2016-11-17 18:34, Paul Moore wrote: > On Tue, Nov 15, 2016 at 3:49 AM, Richard Guy Briggs wrote: > > On 2016-11-14 15:17, Paul Moore wrote: > >> On Thu, Nov 10, 2016 at 1:41 AM, Richard Guy Briggs > >> wrote: > >> > The value (unsigned int)-1 is used as a sentinel to indicate the > >> > sessi

Re: [PATCH] audit: skip sessionid sentinel value when auto-incrementing

2016-11-17 Thread Paul Moore
On Tue, Nov 15, 2016 at 3:49 AM, Richard Guy Briggs wrote: > On 2016-11-14 15:17, Paul Moore wrote: >> On Thu, Nov 10, 2016 at 1:41 AM, Richard Guy Briggs wrote: >> > The value (unsigned int)-1 is used as a sentinel to indicate the >> > sessionID is unset. Skip this value when the session_id val

Re: [PATCH] audit: skip sessionid sentinel value when auto-incrementing

2016-11-15 Thread Richard Guy Briggs
On 2016-11-14 15:17, Paul Moore wrote: > On Thu, Nov 10, 2016 at 1:41 AM, Richard Guy Briggs wrote: > > The value (unsigned int)-1 is used as a sentinel to indicate the > > sessionID is unset. Skip this value when the session_id value wraps. > > > > Signed-off-by: Richard Guy Briggs > > --- > >

Re: [PATCH] audit: skip sessionid sentinel value when auto-incrementing

2016-11-14 Thread Paul Moore
On Thu, Nov 10, 2016 at 1:41 AM, Richard Guy Briggs wrote: > The value (unsigned int)-1 is used as a sentinel to indicate the > sessionID is unset. Skip this value when the session_id value wraps. > > Signed-off-by: Richard Guy Briggs > --- > kernel/auditsc.c |5 - > 1 files changed, 4

[PATCH] audit: skip sessionid sentinel value when auto-incrementing

2016-11-09 Thread Richard Guy Briggs
The value (unsigned int)-1 is used as a sentinel to indicate the sessionID is unset. Skip this value when the session_id value wraps. Signed-off-by: Richard Guy Briggs --- kernel/auditsc.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kernel/auditsc.c b/kernel/aud