Home
last modified time | relevance | path

Searched refs:mm_flags (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/include/linux/sched/
Dcoredump.h24 static inline int __get_dumpable(unsigned long mm_flags) in __get_dumpable() argument
26 return mm_flags & MMF_DUMPABLE_MASK; in __get_dumpable()
/linux-4.19.296/fs/
Dbinfmt_elf_fdpic.c1197 static int maydump(struct vm_area_struct *vma, unsigned long mm_flags) in maydump() argument
1218 dump_ok = test_bit(MMF_DUMP_DAX_SHARED, &mm_flags); in maydump()
1222 dump_ok = test_bit(MMF_DUMP_DAX_PRIVATE, &mm_flags); in maydump()
1232 dump_ok = test_bit(MMF_DUMP_ANON_SHARED, &mm_flags); in maydump()
1238 dump_ok = test_bit(MMF_DUMP_MAPPED_SHARED, &mm_flags); in maydump()
1247 dump_ok = test_bit(MMF_DUMP_MAPPED_PRIVATE, &mm_flags); in maydump()
1254 dump_ok = test_bit(MMF_DUMP_ANON_PRIVATE, &mm_flags); in maydump()
1506 if (!maydump(vma, cprm->mm_flags)) in elf_fdpic_dump_segments()
1534 static size_t elf_core_vma_data_size(unsigned long mm_flags) in elf_core_vma_data_size() argument
1540 if (maydump(vma, mm_flags)) in elf_core_vma_data_size()
[all …]
Dcoredump.c254 __get_dumpable(cprm->mm_flags)); in format_corename()
563 .mm_flags = mm->flags, in do_coredump()
571 if (!__get_dumpable(cprm.mm_flags)) in do_coredump()
583 if (__get_dumpable(cprm.mm_flags) == SUID_DUMP_ROOT) { in do_coredump()
Dbinfmt_elf.c1333 unsigned long mm_flags) in vma_dump_size() argument
1335 #define FILTER(type) (mm_flags & (1UL << MMF_DUMP_##type)) in vma_dump_size()
2317 dump_size = vma_dump_size(vma, cprm->mm_flags); in elf_core_dump()
/linux-4.19.296/include/linux/
Dbinfmts.h85 unsigned long mm_flags; member