Home
last modified time | relevance | path

Searched refs:cprm (Results 1 – 4 of 4) sorted by relevance

/fs/
Dcoredump.c197 static int format_corename(struct core_name *cn, struct coredump_params *cprm, in format_corename() argument
289 __get_dumpable(cprm->mm_flags)); in format_corename()
294 cprm->siginfo->si_signo); in format_corename()
595 struct coredump_params cprm = { in do_coredump() local
612 if (!__get_dumpable(cprm.mm_flags)) in do_coredump()
624 if (__get_dumpable(cprm.mm_flags) == SUID_DUMP_ROOT) { in do_coredump()
636 ispipe = format_corename(&cn, &cprm, &argv, &argc); in do_coredump()
650 if (cprm.limit == 1) { in do_coredump()
672 cprm.limit = RLIM_INFINITY; in do_coredump()
696 umh_pipe_setup, NULL, &cprm); in do_coredump()
[all …]
Dbinfmt_elf.c81 static int elf_core_dump(struct coredump_params *cprm);
1453 static int writenote(struct memelfnote *men, struct coredump_params *cprm) in writenote() argument
1460 return dump_emit(cprm, &en, sizeof(en)) && in writenote()
1461 dump_emit(cprm, men->name, en.n_namesz) && dump_align(cprm, 4) && in writenote()
1462 dump_emit(cprm, men->data, men->datasz) && dump_align(cprm, 4); in writenote()
1801 struct coredump_params *cprm) in fill_note_info() argument
1873 if (!fill_thread_core_info(t, view, cprm->siginfo->si_signo, &info->size)) in fill_note_info()
1882 fill_siginfo_note(&info->signote, &info->csigdata, cprm->siginfo); in fill_note_info()
1904 struct coredump_params *cprm) in write_note_info() argument
1912 if (!writenote(&t->notes[0], cprm)) in write_note_info()
[all …]
Dbinfmt_elf_fdpic.c78 static int elf_fdpic_core_dump(struct coredump_params *cprm);
1240 static int writenote(struct memelfnote *men, struct coredump_params *cprm) in writenote() argument
1247 return dump_emit(cprm, &en, sizeof(en)) && in writenote()
1248 dump_emit(cprm, men->name, en.n_namesz) && dump_align(cprm, 4) && in writenote()
1249 dump_emit(cprm, men->data, men->datasz) && dump_align(cprm, 4); in writenote()
1457 static bool elf_fdpic_dump_segments(struct coredump_params *cprm, in elf_fdpic_dump_segments() argument
1466 if (!dump_user_range(cprm, meta->start, meta->dump_size)) in elf_fdpic_dump_segments()
1479 static int elf_fdpic_core_dump(struct coredump_params *cprm) in elf_fdpic_core_dump() argument
1508 if (dump_vma_snapshot(cprm, &vma_count, &vma_meta, &vma_data_size)) in elf_fdpic_core_dump()
1513 tmp = elf_dump_thread_status(cprm->siginfo->si_signo, in elf_fdpic_core_dump()
[all …]
Dbinfmt_flat.c94 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()