commit | 7fe5e04292e71af34ae171b88caa2a139e0b6125 | [log] [tgz] |
---|---|---|
author | Chen Gang <gang.chen@asianux.com> | Thu Feb 21 16:43:06 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Feb 21 17:22:20 2013 -0800 |
tree | 5bae0bf98e77442626c61ad57d3121440d599f09 | |
parent | 242260fb858e99674289484bc2bfe3b41f9c4cbb [diff] |
sys_prctl(): arg2 is unsigned long which is never < 0 arg2 will never < 0, for its type is 'unsigned long' Also, use the provided macros. Signed-off-by: Chen Gang <gang.chen@asianux.com> Reported-by: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>