Re: [PATCH] af_unix: introduce unix_sk_const helper

2015-10-08 Thread Arnd Bergmann
On Thursday 08 October 2015 04:03:32 David Miller wrote: > From: Arnd Bergmann <a...@arndb.de> > Date: Tue, 06 Oct 2015 22:52:46 +0200 > > > Commit 124613012db1 ("af_unix: Convert the unix_sk macro to an inline > > function for type safety") was recen

[PATCH] af_unix: introduce unix_sk_const helper

2015-10-06 Thread Arnd Bergmann
ts a const pointer to a non-const pointer, the annotation got lost, which gcc now warns about. This patch avoids the warning by introducing an additional helper that has const input and output, which makes the lsm_audit code build cleanly again. Signed-off-by: Arnd Bergmann <a...@arndb.de> ---

Re: [PATCH 3/5] X.509: Support leap seconds

2015-12-18 Thread Arnd Bergmann
59. > > Without this patch, certain X.509 certificates will be rejected, > potentially making a kernel unbootable. > > Reported-by: Rudolf Polzer <rpol...@google.com> > Signed-off-by: David Howells <dhowe...@redhat.com> > cc: David Woodhouse <david.woodho...@intel.com&

Re: [PATCH 2/5] Handle leap seconds in mktime64()

2015-12-18 Thread Arnd Bergmann
he whole kernel and easier to find. > > Whilst we're at it, remove the const markers from all the parameters since > they don't really achieve anything and we do need to alter the sec > parameter. > > Signed-off-by: David Howells <dhowe...@redhat.com> > cc: John Stultz &l

Re: [PATCH 4/5] Handle both ISO 8601 encodings of midnight in mktime64()

2015-12-18 Thread Arnd Bergmann
rnel. > > This handling is required for X.509 certificate parsing which can be given > ISO 8601 dates. > > Signed-off-by: David Howells <dhowe...@redhat.com> > cc: John Stultz <john.stu...@linaro.org> > cc: Arnd Bergmann <a...@arndb.de> > cc: