summaryrefslogtreecommitdiffstats
path: root/fs/proc/task_nommu.c
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2012-06-01 01:26:17 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-01 02:49:28 +0200
commitb409e578d9a4ec95913e06d8fea2a33f1754ea69 (patch)
tree408c5080300bd44410191e3a60477a6ca713343f /fs/proc/task_nommu.c
parentstack usage: add pid to warning printk in check_stack_usage (diff)
downloadlinux-b409e578d9a4ec95913e06d8fea2a33f1754ea69.tar.xz
linux-b409e578d9a4ec95913e06d8fea2a33f1754ea69.zip
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_nommu.c')
0 files changed, 0 insertions, 0 deletions