commit | 849151dd5481bc8acb1d287a299b5d6a4ca9f1c3 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Sat Sep 06 12:18:07 2014 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Sat Sep 06 12:58:18 2014 +0200 |
tree | e14c9ddf3bda4da1668d4c4c52a77d5e74aea293 | |
parent | 40bea039593dfc7f3f9814dab844f6db43ae580b [diff] |
compat: nanosleep: Clarify error handling 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>