aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2012-05-31 16:26:17 -0700
committerLinus Torvalds <[email protected]>2012-05-31 17:49:28 -0700
commitb409e578d9a4ec95913e06d8fea2a33f1754ea69 (patch)
tree408c5080300bd44410191e3a60477a6ca713343f /tools/perf/scripts/python/net_dropmonitor.py
parent168eeccbc956d2ec083c3a513f7706784ee0dc5f (diff)
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. [[email protected]: checkpatch fixes] Signed-off-by: Cong Wang <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions