Skip to content

uapi: include time.h from errqueue.h

Willem de Bruijn lkml netdev 1 version In review

Get series with b4
b4 am 1473699930-58865-1-git-send-email-willemdebruijn.kernel@gmail.com

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2uapi glibc compat: make linux/time.h compile with user time.h filesinclude/uapi/linux/libc-compat.h include/uapi/linux/time.h+65 -00 replies
2/2errqueue: include linux/time.hinclude/uapi/linux/errqueue.h+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] uapi: include time.h from errqueue.h

From: Willem de Bruijn <[email protected]>

It was reported that linux/errqueue.h requires linux/time.h, but that adding the include directly may cause userspace conflicts between linux/time.h and glibc time.h:

https://lkml.org/lkml/2016/7/10/10

Address the conflicts using the standard libc-compat approach, then add the #include to errqueue.h

The first patch is a resubmit. It was previously submitted to tip/timers/core, but given the commit history, the maintainer suggested this tree, instead.

https://lkml.org/lkml/2016/8/10/748

This also allows sending the follow-up as part of the patchset.

Willem de Bruijn (2):
uapi glibc compat: make linux/time.h compile with user time.h files
errqueue: include linux/time.h

 include/uapi/linux/errqueue.h    |  1 +
 include/uapi/linux/libc-compat.h | 50 ++++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/time.h        | 15 ++++++++++++
 3 files changed, 66 insertions(+)
Signature · 1 line
2.8.0.rc3.226.g39d4020