Skip to content
Commit 7fe5e042 authored by Chen Gang's avatar Chen Gang Committed by Linus Torvalds
Browse files

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: default avatarChen Gang <gang.chen@asianux.com>
Reported-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 242260fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment