]> asedeno.scripts.mit.edu Git - linux.git/commit
eventpoll.h: fix epoll event masks
authorGreg KH <gregkh@linuxfoundation.org>
Wed, 8 Mar 2017 18:03:03 +0000 (19:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Mar 2017 01:47:33 +0000 (09:47 +0800)
commit6f051e4a685b768f3704c7c069aa1edee3010622
treec2ae381b2b3709af02ecca1d2a7c952f56c2bb5d
parent4495c08e84729385774601b5146d51d9e5849f81
eventpoll.h: fix epoll event masks

[resend due to me forgetting to cc: linux-api the first time around I
posted these back on Feb 23]

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

When userspace tries to use these defines, it complains that it needs to
be an unsigned 1 that is shifted, so libc implementations have to create
their own version.  Fix this by defining it properly so that libcs can
just use the kernel uapi header.

Reported-by: Elliott Hughes <enh@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/eventpoll.h