]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Return an error if both EV_ENABLE and EV_DISABLE are specified for a kevent.
authormarkj <markj@FreeBSD.org>
Fri, 19 Feb 2016 01:35:01 +0000 (01:35 +0000)
committermarkj <markj@FreeBSD.org>
Fri, 19 Feb 2016 01:35:01 +0000 (01:35 +0000)
commit1945f6646152d798789376bc8e4c57e124ea1707
tree5cd109f01e97e4819e5af4b68f649e6da23b5b73
parent475b89432dc89b64240c32b5965d82b45f62d5f1
Return an error if both EV_ENABLE and EV_DISABLE are specified for a kevent.

Currently, this combination results in EV_DISABLE being ignored.

Reviewed by: kib
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D5307
sys/kern/kern_event.c