aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuis R. Rodriguez <[email protected]>2017-07-12 14:33:33 -0700
committerLinus Torvalds <[email protected]>2017-07-12 16:26:00 -0700
commitd383d48470819e86fe30eb72f0e9494e1ee0e2af (patch)
tree70be7478d13013b86d3d757577a5c60e89f95603 /tools/perf/scripts/python
parenta19ac3374995382a994653ff372b98ea7cbad548 (diff)
sysctl: fold sysctl_writes_strict checks into helper
The mode sysctl_writes_strict positional checks keep being copy and pasted as we add new proc handlers. Just add a helper to avoid code duplication. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Luis R. Rodriguez <[email protected]> Suggested-by: Kees Cook <[email protected]> Cc: Al Viro <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions