diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-09-06 12:18:07 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-09-06 12:58:18 +0200 |
commit | 849151dd5481bc8acb1d287a299b5d6a4ca9f1c3 (patch) | |
tree | e14c9ddf3bda4da1668d4c4c52a77d5e74aea293 /arch/parisc | |
parent | 40bea039593dfc7f3f9814dab844f6db43ae580b (diff) | |
download | linux-849151dd5481bc8acb1d287a299b5d6a4ca9f1c3.tar.bz2 |
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 'arch/parisc')
0 files changed, 0 insertions, 0 deletions