mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-10 05:49:13 +00: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