diff options
author | Stephen Wilson <[email protected]> | 2011-03-13 15:49:21 -0400 |
---|---|---|
committer | Al Viro <[email protected]> | 2011-03-23 16:36:58 -0400 |
commit | 26947f8c8f9598209001cdcd31bb2162a2e54691 (patch) | |
tree | bab014e7ad404ca3e36ae650f170f02df05705cd /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 5ddd36b9c59887c6416e21daf984fbdd9b1818df (diff) |
proc: disable mem_write after exec
This change makes mem_write() observe the same constraints as mem_read(). This
is particularly important for mem_write as an accidental leak of the fd across
an exec could result in arbitrary modification of the target process' memory.
IOW, /proc/pid/mem is implicitly close-on-exec.
Signed-off-by: Stephen Wilson <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions