]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix userspace build after r302235: do not expose bool field of the
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 27 Jun 2016 23:34:53 +0000 (23:34 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 27 Jun 2016 23:34:53 +0000 (23:34 +0000)
commit9eb3f14324736fe9895cf83ab17756dfea8f7d8e
tree4240266680d0478960b3ea4a6e6945587cffa653
parent725441f69ba10d59dd2bb8fe5e03d6220b5d08bf
Fix userspace build after r302235: do not expose bool field of the
structure, change it to int.

The real fix is to sanitize user-visible definitions in sys/event.h,
e.g. the affected struct knlist is of no use for userspace programs.

Reported and tested by: jkim
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Approved by: re (gjb)
sys/kern/kern_event.c
sys/sys/event.h