summaryrefslogtreecommitdiff
path: root/fs/proc/task_mmu.c
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2012-06-01 03:26:17 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-01 04:49:28 +0400
commitb409e578d9a4ec95913e06d8fea2a33f1754ea69 (patch)
tree408c5080300bd44410191e3a60477a6ca713343f /fs/proc/task_mmu.c
parent168eeccbc956d2ec083c3a513f7706784ee0dc5f (diff)
downloadlinux-b409e578d9a4ec95913e06d8fea2a33f1754ea69.tar.xz
proc: clean up /proc/<pid>/environ handling
Similar to e268337dfe26 ("proc: clean up and fix /proc/<pid>/mem handling"), move the check of permission to open(), this will simplify read() code. [akpm@linux-foundation.org: checkpatch fixes] 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/task_mmu.c')
0 files changed, 0 insertions, 0 deletions