« Previous | Next » 

Revision c07ecc68

IDc07ecc6866f8c5eb2e0b23ba20214000310355e0

Added by Laurent Vivier about 11 years ago

linux-user: correct reboot()

According to man reboot(2), the 4th argument is only used with
LINUX_REBOOT_CMD_RESTART2. In other cases, trying to convert
the value can generate EFAULT.

Signed-off-by: Laurent Vivier <>
Reviewed-by: Peter Maydell <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences