Home
last modified time | relevance | path

Searched refs:mmap_min_addr (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/security/
Dmin_addr.c8 unsigned long mmap_min_addr; variable
20 mmap_min_addr = dac_mmap_min_addr; in update_mmap_min_addr()
22 mmap_min_addr = CONFIG_LSM_MMAP_MIN_ADDR; in update_mmap_min_addr()
24 mmap_min_addr = dac_mmap_min_addr; in update_mmap_min_addr()
/kernel/linux/linux-5.10/arch/s390/mm/
Dmmap.c82 if (len > TASK_SIZE - mmap_min_addr) in arch_get_unmapped_area()
91 if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && in arch_get_unmapped_area()
122 if (len > TASK_SIZE - mmap_min_addr) in arch_get_unmapped_area_topdown()
132 if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && in arch_get_unmapped_area_topdown()
139 info.low_limit = max(PAGE_SIZE, mmap_min_addr); in arch_get_unmapped_area_topdown()
Dhugetlbpage.c293 info.low_limit = max(PAGE_SIZE, mmap_min_addr); in hugetlb_get_unmapped_area_topdown()
325 if (len > TASK_SIZE - mmap_min_addr) in hugetlb_get_unmapped_area()
337 if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && in hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dmmap.c116 if (high_limit - len >= addr && addr >= mmap_min_addr && in radix__arch_get_unmapped_area()
160 if (high_limit - len >= addr && addr >= mmap_min_addr && in radix__arch_get_unmapped_area_topdown()
167 info.low_limit = max(PAGE_SIZE, mmap_min_addr); in radix__arch_get_unmapped_area_topdown()
Dslice.c332 unsigned long min_addr = max(PAGE_SIZE, mmap_min_addr); in slice_find_area_topdown()
484 if (addr > high_limit - len || addr < mmap_min_addr || in slice_get_unmapped_area()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dradix_hugetlbpage.c75 if (high_limit - len >= addr && addr >= mmap_min_addr && in radix__hugetlb_get_unmapped_area()
85 info.low_limit = max(PAGE_SIZE, mmap_min_addr); in radix__hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/mm/
Dmmap.c1357 (hint < mmap_min_addr)) in round_hint_to_min()
1358 return PAGE_ALIGN(mmap_min_addr); in round_hint_to_min()
2200 if (len > mmap_end - mmap_min_addr) in arch_get_unmapped_area()
2213 if (mmap_end - len >= addr && addr >= mmap_min_addr && in arch_get_unmapped_area()
2247 if (len > mmap_end - mmap_min_addr) in arch_get_unmapped_area_topdown()
2262 if (mmap_end - len >= addr && addr >= mmap_min_addr && in arch_get_unmapped_area_topdown()
2271 info.low_limit = max(PAGE_SIZE, mmap_min_addr); in arch_get_unmapped_area_topdown()
2542 if (address < mmap_min_addr) in expand_downwards()
DKconfig388 /proc/sys/vm/mmap_min_addr tunable.
/kernel/linux/linux-5.10/include/linux/
Dsecurity.h183 extern unsigned long mmap_min_addr;
186 #define mmap_min_addr 0UL macro
/kernel/linux/linux-5.10/fs/
Dexec.c784 if (unlikely(stack_top < mmap_min_addr) || in setup_arg_pages()
785 unlikely(vma->vm_end - vma->vm_start >= stack_top - mmap_min_addr)) in setup_arg_pages()
Duserfaultfd.c1237 if (start < mmap_min_addr) in validate_range()
/kernel/linux/linux-5.10/kernel/
Dsys.c1926 (unsigned long)val < mmap_min_addr) in validate_prctl_map_addr()
2130 if (addr >= TASK_SIZE || addr < mmap_min_addr) in prctl_set_mm()
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c224 info.low_limit = max(PAGE_SIZE, mmap_min_addr); in hugetlb_get_unmapped_area_topdown()
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/
Dvm.rst51 - mmap_min_addr
515 mmap_min_addr chapter