diff options
| author | Joel Granados <[email protected]> | 2023-11-21 11:02:19 +0000 |
|---|---|---|
| committer | Luis Chamberlain <[email protected]> | 2023-12-28 12:57:57 +0000 |
| commit | 777740779ec5bd05eac85d9bbbb6b11457cfd238 (patch) | |
| tree | 0eeebc433aef66f6f44e25966ce965ae278f7b9f /fs/file_table.c | |
| parent | sysctl: Fix out of bounds access for empty sysctl registers (diff) | |
| download | kernel-777740779ec5bd05eac85d9bbbb6b11457cfd238.tar.gz kernel-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 <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
