aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorSudeep Holla <[email protected]>2018-06-05 10:25:45 +0000
committerMimi Zohar <[email protected]>2018-07-18 11:27:22 +0000
commitac2409a521f7ec5978fd582567398d19f4a2fdbd (patch)
tree11c611f2780e7d717c5adb54cdd3807eaef59e86 /tools/perf/scripts/python/net_dropmonitor.py
parentima: Differentiate auditing policy rules from "audit" actions (diff)
downloadkernel-ac2409a521f7ec5978fd582567398d19f4a2fdbd.tar.gz
kernel-ac2409a521f7ec5978fd582567398d19f4a2fdbd.zip
integrity: silence warning when CONFIG_SECURITYFS is not enabled
When CONFIG_SECURITYFS is not enabled, securityfs_create_dir returns -ENODEV which throws the following error: "Unable to create integrity sysfs dir: -19" However, if the feature is disabled, it can't be warning and hence we need to silence the error. This patch checks for the error -ENODEV which is returned when CONFIG_SECURITYFS is disabled to stop the error being thrown. Signed-off-by: Sudeep Holla <[email protected]> Acked-by: Matthew Garrett <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions