summaryrefslogtreecommitdiff
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-03-22 18:05:58 +0100
committerJoel Granados <j.granados@samsung.com>2024-04-24 09:43:54 +0200
commita35dd3a786f57903151b18275b1eed105084cf72 (patch)
tree7a76594562b456a1337384a2281a396a4578c6c1 /kernel/seccomp.c
parent4a7b29f6509470a7e63dd67e516268fbef226194 (diff)
sysctl: drop now unnecessary out-of-bounds check
Remove the now unneeded check for ctl_table_size; it is safe to do so as sysctl_set_perm_empty_ctl_header() does not access the ctl_table member anymore. This also makes the element of sysctl_mount_point unnecessary, so drop it at the same time. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Joel Granados <j.granados@samsung.com>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions