kernel - Return EINVAL on negative timeout to poll()
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 26 May 2015 18:03:32 +0000 (11:03 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 26 May 2015 18:03:32 +0000 (11:03 -0700)
commit0d20b83737d5944e98a5f2b56e910cf0baf901d5
tree10d9006d888624c732100ae3e0b3187605d43511
parent981e3cc83853b6614b700305c5279020812f154e
kernel - Return EINVAL on negative timeout to poll()

* Return EINVAL if poll() is called with a negative
  timeout, as per manual page.

Submitted-by: stateless
sys/kern/sys_generic.c