Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d0bbc0d authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

epoll: drop struct epoll_event definition



Add kernel header sanitizer check to drop struct epoll_event.
This struct epoll_event is not following the POSIX standard
and defining element in opaque data type.

Change-Id: I1eecef1b64eb1fb8f0dd6999263093a453e7b9fb
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent d7b25266
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@
#define EPOLL_PACKED
#endif

#ifdef __KERNEL__
struct epoll_event {
	__u32 events;
	__u64 data;
@@ -89,4 +90,5 @@ static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev)
	epev->events &= ~EPOLLWAKEUP;
}
#endif
#endif /* __KERNEL__ */
#endif /* _UAPI_LINUX_EVENTPOLL_H */