diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2012-05-31 23:26:17 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-01 00:49:28 (GMT) |
commit | b409e578d9a4ec95913e06d8fea2a33f1754ea69 (patch) | |
tree | 408c5080300bd44410191e3a60477a6ca713343f /fs/isofs/isofs.h | |
parent | 168eeccbc956d2ec083c3a513f7706784ee0dc5f (diff) | |
download | linux-fsl-qoriq-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/isofs/isofs.h')
0 files changed, 0 insertions, 0 deletions