You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to add kernel types (__s32, __u32, ...).
This fixes build on various Buildroot toolchains:
In file included from fanotify.h:14,
from fanotify04.c:25:
../../../../include/lapi/fanotify.h:198:2: error: unknown type name ‘__s32’
198 | __s32 error;
| ^~~~~
../../../../include/lapi/fanotify.h:199:2: error: unknown type name ‘__u32’
199 | __u32 error_count;
| ^~~~~
NOTE: Historically we tried to minimize number of linux includes,
because it would often lead to broken builds. Headers got better over
time and LTP also dropped support for archaic kernels over time.
Therefore we can keep original kernel types here.
Fixes: 67069fc ("syscalls/fanotify22: Validate the generic error info")
Reviewed-by: Cyril Hrubis <[email protected]>
Signed-off-by: Petr Vorel <[email protected]>
0 commit comments