diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2012-05-31 16:26:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-31 17:49:29 -0700 |
commit | 2344bec788b097b2d1198758bd29c583812b864e (patch) | |
tree | 3ffcf64931b7935ee4e16b81fb6ec6b732436dfa /fs/proc/softirqs.c | |
parent | e7dcd9990e42ccfc798d4eb55e2dbf9d7d434c6b (diff) |
proc: use mm_access() instead of ptrace_may_access()
mm_access() handles this much better, and avoids some race conditions.
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/softirqs.c')
0 files changed, 0 insertions, 0 deletions