]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
linux-user: Handle NULL sched_param argument to sched_*
authorTom Musta <tommusta@gmail.com>
Tue, 12 Aug 2014 18:53:38 +0000 (13:53 -0500)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 22 Aug 2014 12:06:35 +0000 (15:06 +0300)
commita1d5c5b25d06b68aec76e4b0eb7d8aacb5fbd191
treec7f81864e6f7755cedc7e883d5af8ab472ad9749
parentedcc5f9dc39309d32f4b3737e6b750ae967f5bbd
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>
linux-user/syscall.c