aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorKaixiong Yu <[email protected]>2025-01-11 07:07:42 +0000
committerJoel Granados <[email protected]>2025-02-07 15:53:04 +0000
commitb121dd4d557212067275e988137f2e2c5b2c0077 (patch)
tree6266d606accb25f2ea299baf6a4acac5e5a34005 /net/unix/unix_bpf.c
parentmm: mmap: move sysctl to mm/mmap.c (diff)
downloadkernel-b121dd4d557212067275e988137f2e2c5b2c0077.tar.gz
kernel-b121dd4d557212067275e988137f2e2c5b2c0077.zip
security: min_addr: move sysctl to security/min_addr.c
The dac_mmap_min_addr belongs to min_addr.c, move it to min_addr.c from /kernel/sysctl.c. In the previous Linux kernel boot process, sysctl_init_bases needs to be executed before init_mmap_min_addr, So, register_sysctl_init should be executed before update_mmap_min_addr in init_mmap_min_addr. And according to the compilation condition in security/Makefile: obj-$(CONFIG_MMU) += min_addr.o if CONFIG_MMU is not defined, min_addr.c would not be included in the compilation process. So, drop the CONFIG_MMU check. Signed-off-by: Kaixiong Yu <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Paul Moore <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Joel Granados <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions