Thread (13 messages) 13 messages, 3 authors, 2017-07-29

Re: [RESEND PATCH 2/6] ipc: mqueue: Replace timespec with timespec64

From: Paul Moore <paul@paul-moore.com>
Date: 2017-07-28 20:15:47
Also in: lkml

On Fri, Jul 28, 2017 at 2:52 PM, Deepa Dinamani [off-list ref] wrote:
struct timespec is not y2038 safe. Replace
all uses of timespec by y2038 safe struct timespec64.

Even though timespec is used here to represent timeouts,
replace these with timespec64 so that it facilitates
in verification by creating a y2038 safe kernel image
that is free of timespec.

The syscall interfaces themselves are not changed as part
of the patch. They will be part of a different series.

Signed-off-by: Deepa Dinamani <redacted>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Richard Guy Briggs <redacted>
---
 include/linux/audit.h |  6 +++---
 ipc/mqueue.c          | 28 ++++++++++++++--------------
 kernel/audit.h        |  2 +-
 kernel/auditsc.c      | 12 ++++++------
 4 files changed, 24 insertions(+), 24 deletions(-)
Something is wrong here ... I already merged your audit y2038 fixes,
you can see them in Linus' tree right now.

-- 
paul moore
www.paul-moore.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help