commit | a1d5c5b25d06b68aec76e4b0eb7d8aacb5fbd191 | [log] [tgz] |
---|---|---|
author | Tom Musta <tommusta@gmail.com> | Tue Aug 12 13:53:38 2014 -0500 |
committer | Riku Voipio <riku.voipio@linaro.org> | Fri Aug 22 15:06:35 2014 +0300 |
tree | c7f81864e6f7755cedc7e883d5af8ab472ad9749 | |
parent | edcc5f9dc39309d32f4b3737e6b750ae967f5bbd [diff] |
linux-user: Handle NULL sched_param argument to sched_* The sched_getparam, sched_setparam and sched_setscheduler system calls take a pointer argument to a sched_param structure. When this pointer is null, errno should be set to EINVAL. Signed-off-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>