usched: Fix man usched_set(2)
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 16 May 2015 23:54:23 +0000 (08:54 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 17 May 2015 00:48:56 +0000 (09:48 +0900)
commita23fbfbfe5beb3f42fc2eef88fb468a2273921d4
treeba612fbc85740c43c750ec120138142bf0e1bd0e
parent571f6375156573a2a615182eeba954809cf440f2
usched: Fix man usched_set(2)

- pid 0 is also allowed according to the current implementation.

- EINVAL is returned if
  'if (uap->pid != 0 && uap->pid != curthread->td_proc->p_pid)'.
lib/libc/sys/usched_set.2