aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorJoel Granados <[email protected]>2023-11-21 11:02:19 +0000
committerLuis Chamberlain <[email protected]>2023-12-28 12:57:57 +0000
commit777740779ec5bd05eac85d9bbbb6b11457cfd238 (patch)
tree0eeebc433aef66f6f44e25966ce965ae278f7b9f /fs/file_table.c
parentsysctl: Fix out of bounds access for empty sysctl registers (diff)
downloadkernel-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