aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner2014-09-06 12:18:07 +0200
committerThomas Gleixner2014-09-06 12:58:18 +0200
commit849151dd5481bc8acb1d287a299b5d6a4ca9f1c3 (patch)
treee14c9ddf3bda4da1668d4c4c52a77d5e74aea293 /include/linux
parent40bea039593dfc7f3f9814dab844f6db43ae580b (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions