summaryrefslogtreecommitdiff
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2025-03-18 22:30:09 +0100
committerJoel Granados <joel.granados@kernel.org>2025-04-14 14:13:41 +0200
commit23b8bacf154759ed922d25527dda434fbf57436a (patch)
treeca73f91237fe2fb156fba42e443cb29ca057a97c /net/core/utils.c
parent2bac112eaaf391f190905134cc8e7ffc02dd131c (diff)
sysctl: Close test ctl_headers with a for loop
As more tests are added, the exit function gets longer than it should be. Condense the un-register calls into a for loop to make it easier to add/remove tests. Reviewed-by: Kees Cook <kees@kernel.org> Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions