diff options
author | 2023-11-21 12:02:19 +0100 | |
---|---|---|
committer | 2023-12-28 04:57:57 -0800 | |
commit | 777740779ec5bd05eac85d9bbbb6b11457cfd238 (patch) | |
tree | 0eeebc433aef66f6f44e25966ce965ae278f7b9f /tools/perf/scripts/python/syscall-counts.py | |
parent | sysctl: Fix out of bounds access for empty sysctl registers (diff) | |
download | wireguard-linux-777740779ec5bd05eac85d9bbbb6b11457cfd238.tar.xz wireguard-linux-777740779ec5bd05eac85d9bbbb6b11457cfd238.zip |
sysctl: Add a selftest for handling empty dirs
Basic test to ensure that empty directories can be registered and that
they in turn can serve as a base dir for other registrations.
Add one test to the sysctl selftest module. It first registers an empty
directory under "empty_add" and then uses that as a base to register
another empty dir.
The sysctl bash script then checks that "empty_add" is present and that
there an empty directory within it.
Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions