]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not cast struct kevent_args or struct freebsd11_kevent_args to
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 29 Jun 2017 14:40:33 +0000 (14:40 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 29 Jun 2017 14:40:33 +0000 (14:40 +0000)
commitd1372788382ce63271ce58cfe2130d84be40de40
treeb3d2762618beb9b9d1749adf62fd1a2c56cdb72c
parent3ab06e30cb820c8fc1e9fee95874f4dd0d965fe2
Do not cast struct kevent_args or struct freebsd11_kevent_args to
struct g_kevent_args.

On some architectures, e.g. PowerPC, there is additional padding in uap.

Reported and tested by: andreast
Sponsored by: The FreeBSD Foundation
sys/kern/kern_event.c