diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-02-21 16:43:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 17:22:20 -0800 |
commit | 7fe5e04292e71af34ae171b88caa2a139e0b6125 (patch) | |
tree | 5bae0bf98e77442626c61ad57d3121440d599f09 /init | |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions