Home
last modified time | relevance | path

Searched refs:binfmt (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/
H A Dcoredump.c586 struct linux_binfmt * binfmt; in do_coredump() local
613 binfmt = mm->binfmt; in do_coredump()
614 if (!binfmt || !binfmt->core_dump) in do_coredump()
716 if (cprm.limit < binfmt->min_coredump) in do_coredump()
818 core_dumped = binfmt->core_dump(&cprm); in do_coredump()
H A Dexec.c481 * - the remaining binfmt code will not run out of stack space, in bprm_stack_limits()
673 * the binfmt code determines where the new stack should reside, we shift it to
1498 /* If a binfmt changed the interp, free it. */ in free_bprm()
1540 /* If a binfmt changed the interp, free it first. */ in bprm_change_interp()
1745 if (request_module("binfmt-%04x", *(ushort *)(bprm->buf + 2)) < 0) in search_binary_handler()
1765 /* This allows 4 levels of binfmt rewrites before failing hard. */ in exec_binprm()
2072 if (mm->binfmt) in set_binfmt()
2073 module_put(mm->binfmt->module); in set_binfmt()
2075 mm->binfmt = new; in set_binfmt()
/kernel/linux/linux-6.6/fs/
H A Dcoredump.c524 struct linux_binfmt * binfmt; in do_coredump() local
550 binfmt = mm->binfmt; in do_coredump()
551 if (!binfmt || !binfmt->core_dump) in do_coredump()
654 if (cprm.limit < binfmt->min_coredump) in do_coredump()
764 core_dumped = binfmt->core_dump(&cprm); in do_coredump()
H A Dexec.c486 * - the remaining binfmt code will not run out of stack space, in bprm_stack_limits()
674 * the binfmt code determines where the new stack should reside, we shift it to
1509 /* If a binfmt changed the interp, free it. */ in free_bprm()
1551 /* If a binfmt changed the interp, free it first. */ in bprm_change_interp()
1758 if (request_module("binfmt-%04x", *(ushort *)(bprm->buf + 2)) < 0) in search_binary_handler()
1767 /* binfmt handlers will call back into begin_new_exec() on success. */
1779 /* This allows 4 levels of binfmt rewrites before failing hard. */ in exec_binprm()
2094 if (mm->binfmt) in set_binfmt()
2095 module_put(mm->binfmt->module); in set_binfmt()
2097 mm->binfmt in set_binfmt()
[all...]
/kernel/linux/linux-5.10/mm/
H A Ddebug.c232 "binfmt %px flags %lx core_state %px\n" in dump_mm()
264 mm->binfmt, mm->flags, mm->core_state, in dump_mm()
/kernel/linux/linux-6.6/mm/
H A Ddebug.c175 "binfmt %px flags %lx\n" in dump_mm()
207 mm->binfmt, mm->flags, in dump_mm()
/kernel/linux/linux-5.10/include/linux/
H A Dmm_types.h538 struct linux_binfmt *binfmt; member
/kernel/linux/linux-5.10/kernel/
H A Dfork.c1126 if (mm->binfmt) in __mmput()
1127 module_put(mm->binfmt->module); in __mmput()
1404 if (mm->binfmt && !try_module_get(mm->binfmt->module)) in dup_mm()
1410 /* don't put binfmt in mmput, we haven't got module yet */ in dup_mm()
1411 mm->binfmt = NULL; in dup_mm()
/kernel/linux/linux-6.6/kernel/
H A Dfork.c1371 if (mm->binfmt) in __mmput()
1372 module_put(mm->binfmt->module); in __mmput()
1707 if (mm->binfmt && !try_module_get(mm->binfmt->module)) in dup_mm()
1713 /* don't put binfmt in mmput, we haven't got module yet */ in dup_mm()
1714 mm->binfmt = NULL; in dup_mm()
/kernel/linux/linux-6.6/include/linux/
H A Dmm_types.h822 struct linux_binfmt *binfmt; member

Completed in 20 milliseconds