Searched refs:cprm (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | coredump.c | 191 static int format_corename(struct core_name *cn, struct coredump_params *cprm, in format_corename() argument 280 __get_dumpable(cprm->mm_flags)); in format_corename() 285 cprm->siginfo->si_signo); in format_corename() 582 struct coredump_params cprm = { in do_coredump() local 599 if (!__get_dumpable(cprm.mm_flags)) in do_coredump() 611 if (__get_dumpable(cprm.mm_flags) == SUID_DUMP_ROOT) { in do_coredump() 623 ispipe = format_corename(&cn, &cprm, &argv, &argc); in do_coredump() 637 if (cprm.limit == 1) { in do_coredump() 659 cprm.limit = RLIM_INFINITY; in do_coredump() 683 umh_pipe_setup, NULL, &cprm); in do_coredump() [all …]
|
D | binfmt_elf_fdpic.c | 78 static int elf_fdpic_core_dump(struct coredump_params *cprm); 1278 static int writenote(struct memelfnote *men, struct coredump_params *cprm) in writenote() argument 1285 return dump_emit(cprm, &en, sizeof(en)) && in writenote() 1286 dump_emit(cprm, men->name, en.n_namesz) && dump_align(cprm, 4) && in writenote() 1287 dump_emit(cprm, men->data, men->datasz) && dump_align(cprm, 4); in writenote() 1493 static bool elf_fdpic_dump_segments(struct coredump_params *cprm) in elf_fdpic_dump_segments() argument 1502 if (!maydump(vma, cprm->mm_flags)) in elf_fdpic_dump_segments() 1512 res = dump_emit(cprm, kaddr, PAGE_SIZE); in elf_fdpic_dump_segments() 1516 res = dump_skip(cprm, PAGE_SIZE); in elf_fdpic_dump_segments() 1522 if (!dump_emit(cprm, (void *) vma->vm_start, in elf_fdpic_dump_segments() [all …]
|
D | binfmt_elf.c | 73 static int elf_core_dump(struct coredump_params *cprm); 1414 static int writenote(struct memelfnote *men, struct coredump_params *cprm) in writenote() argument 1421 return dump_emit(cprm, &en, sizeof(en)) && in writenote() 1422 dump_emit(cprm, men->name, en.n_namesz) && dump_align(cprm, 4) && in writenote() 1423 dump_emit(cprm, men->data, men->datasz) && dump_align(cprm, 4); in writenote() 1865 struct coredump_params *cprm) in write_note_info() argument 1873 if (!writenote(&t->notes[0], cprm)) in write_note_info() 1876 if (first && !writenote(&info->psinfo, cprm)) in write_note_info() 1878 if (first && !writenote(&info->signote, cprm)) in write_note_info() 1880 if (first && !writenote(&info->auxv, cprm)) in write_note_info() [all …]
|
D | binfmt_flat.c | 94 static int flat_core_dump(struct coredump_params *cprm); 109 static int flat_core_dump(struct coredump_params *cprm) in flat_core_dump() argument 112 current->comm, current->pid, cprm->siginfo->si_signo); in flat_core_dump()
|