Messages in this thread | | | Subject | Re: [PATCH] Fix: rseq uapi: Adapt header includes to follow glibc header changes | From | Rik van Riel <> | Date | Wed, 25 Oct 2023 21:05:02 -0400 |
| |
On Wed, 2023-10-25 at 17:48 -0400, Mathieu Desnoyers wrote: > With "recent" glibc headers, using <sys/types.h> with __GNU_SOURCE > fails > to have __u32 and others types needed by the rseq.h uapi header file. > Include ctype.h and asm/types.h to fix this. Add a __KERNEL__ #ifdef > to > select the kernel vs userspace header includes. > > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> > Reported-by: Steven Rostedt (Google) <rostedt@goodmis.org> > Cc: Steven Rostedt (Google) <rostedt@goodmis.org> > Cc: Peter Zijlstra (Intel) <peterz@infradead.org> > Acked-by: Rik van Riel <riel@surriel.com>
-- All Rights Reversed.
| |