git: kernel - Return EINVAL on negative timeout to poll()

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 26 11:04:10 PDT 2015


commit 0d20b83737d5944e98a5f2b56e910cf0baf901d5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue May 26 11:03:32 2015 -0700

    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

Summary of changes:
 sys/kern/sys_generic.c | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d20b83737d5944e98a5f2b56e910cf0baf901d5


-- 
DragonFly BSD source repository



More information about the Commits mailing list