mirror of
https://github.com/torvalds/linux
synced 2026-06-14 06:12:18 +09:00
The error handling in compat_sys_nanosleep() is correct, but completely non obvious. Document it and restrict it to the -ERESTART_RESTARTBLOCK return value for clarity. Reported-by: Kees Cook <keescook@chromium.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
30 KiB
30 KiB