| /linux/Documentation/admin-guide/ |
| H A D | binfmt-misc.rst | 8 To achieve this you must tell binfmt_misc which interpreter has to be invoked 19 ``:name:type:offset:magic:mask:interpreter:flags`` (where you can choose the 53 - ``interpreter`` 59 of the interpreter. It is a string of capital letters, each controls a 74 of the binary to the interpreter as an argument. When this flag is 77 allowing the interpreter to execute non-readable binaries. This 78 feature should be used with care - the interpreter has to be trusted 83 the interpreter. When this flag is included, these attributes are 85 This feature should be used with care as the interpreter 97 Run the interpreter transparently. The binary is handed to [all …]
|
| H A D | init.rst | 31 you should make sure that the script specifies an interpreter in its
|
| /linux/fs/ |
| H A D | binfmt_misc.c | 117 const char *interpreter; /* filename of interpreter */ member 458 return e->interpreter; in entry_select_interpreter() 537 const char *interpreter) in entry_open_interpreter() argument 552 return open_exec(interpreter); in entry_open_interpreter() 578 static int build_interp_argv(struct linux_binprm *bprm, const char *interpreter, in build_interp_argv() argument 617 retval = copy_string_kernel(interpreter, bprm); in build_interp_argv() 631 const char *interpreter; in load_misc_binary() local 648 interpreter = entry_select_interpreter(fmt, bprm); in load_misc_binary() 649 if (IS_ERR(interpreter)) in load_misc_binary() 650 return PTR_ERR(interpreter); in load_misc_binary() [all …]
|
| H A D | binfmt_elf.c | 643 struct file *interpreter, in load_elf_interp() argument 661 if (!can_mmap_file(interpreter)) in load_elf_interp() 686 map_addr = elf_load(interpreter, load_addr + vaddr, in load_elf_interp() 831 struct file *interpreter = NULL; /* to shut gcc up */ in load_elf_binary() local 904 interpreter = bprm_open_interpreter(bprm, elf_interpreter); in load_elf_binary() 906 retval = PTR_ERR(interpreter); in load_elf_binary() 907 if (IS_ERR(interpreter)) in load_elf_binary() 914 would_dump(bprm, interpreter); in load_elf_binary() 923 retval = elf_read(interpreter, interp_elf_ex, in load_elf_binary() 958 if (interpreter) { in load_elf_binary() [all …]
|
| H A D | binfmt_elf_fdpic.c | 194 struct file *interpreter = NULL; /* to shut gcc up */ in load_elf_fdpic_binary() local 266 interpreter = bprm_open_interpreter(bprm, in load_elf_fdpic_binary() 268 retval = PTR_ERR(interpreter); in load_elf_fdpic_binary() 269 if (IS_ERR(interpreter)) { in load_elf_fdpic_binary() 270 interpreter = NULL; in load_elf_fdpic_binary() 279 would_dump(bprm, interpreter); in load_elf_fdpic_binary() 282 retval = kernel_read(interpreter, bprm->buf, in load_elf_fdpic_binary() 312 if (!is_elf(&interp_params.hdr, interpreter)) in load_elf_fdpic_binary() 318 retval = elf_fdpic_fetch_phdrs(&interp_params, interpreter); in load_elf_fdpic_binary() 398 retval = elf_fdpic_map_file(&interp_params, interpreter, in load_elf_fdpic_binary() [all …]
|
| H A D | binfmt_script.c | 136 bprm->interpreter = file; in load_script()
|
| H A D | exec.c | 1327 /* Pass the opened binary to the interpreter. */ in begin_new_exec() 1440 * bprm_open_interpreter - open the interpreter the binary asks for 1442 * @path: the interpreter path named in the binary's PT_INTERP in do_close_execat() 1444 * A binfmt_misc loader entry substitutes for the interpreter the binary in do_close_execat() 1449 * Return: the interpreter on success, an ERR_PTR on failure 1540 * interpreter and an open file descriptor is not passed to in alloc_bprm() 1541 * the interpreter. This makes for a better user experience in alloc_bprm() 1542 * than having the interpreter start and then immediately fail in alloc_bprm() 1809 if (!bprm->interpreter) in exec_binprm() 1816 bprm->file = bprm->interpreter; in exec_binprm() [all...] |
| /linux/Documentation/userspace-api/ |
| H A D | ELF.rst | 20 interpreter. Other PT_INTERP headers are ignored (since Linux 2.4.11). 31 ELF interpreter's last PT_GNU_PROPERTY program header is used (since 32 Linux 5.8). If interpreter doesn't have one, then the last PT_GNU_PROPERTY
|
| H A D | check_exec.rst | 14 Whether an interpreter should check these securebits or not depends on the 38 allowed, ignoring the file format and then the related interpreter dependencies 43 interpreter instead. All files that contain executable code, from the point of 44 view of the interpreter, should be checked. However the result of this check 102 Here is the expected behavior for a script interpreter according to combination 112 script interpreter. Indeed, this check is still important to enable systems
|
| /linux/include/linux/ |
| H A D | elf.h | 31 #define ARCH_SETUP_ADDITIONAL_PAGES(bprm, ex, interpreter) \ argument 32 arch_setup_additional_pages(bprm, interpreter)
|
| H A D | binfmts.h | 67 struct file *interpreter; member
|
| /linux/tools/testing/selftests/kselftest/ |
| H A D | runner.sh | 126 interpreter=$(head -n 1 "$TEST" | cut -c 3-) 127 cmd="$stdbuf $interpreter ./$BASENAME_TEST"
|
| /linux/Documentation/gpu/nova/core/ |
| H A D | devinit.rst | 14 The devinit engine is an interpreter program that typically runs on the PMU (Power Management 15 Unit) microcontroller of the GPU. This interpreter executes a "script" of initialization
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | debug.rst | 29 specific part of the ACPI interpreter. To build the debug_layer bitmask, look 63 The ACPI interpreter uses several different levels, but the Linux
|
| H A D | osi.rst | 9 AML code includes _OSI("XYZ"), the kernel's AML interpreter 71 interpreter in the kernel would return to it a string identifying the OS: 153 supported by the OS and the OS AML interpreter.
|
| H A D | method-tracing.rst | 81 the "trace points" the AML interpreter starts/stops to execute a control
|
| /linux/arch/x86/include/asm/ |
| H A D | elf.h | 371 #define COMPAT_ARCH_SETUP_ADDITIONAL_PAGES(bprm, ex, interpreter) \ argument 372 compat_arch_setup_additional_pages(bprm, interpreter, \
|
| /linux/Documentation/bpf/ |
| H A D | bpf_licensing.rst | 35 The reference implementations of the eBPF interpreter and various just-in-time 43 There are also implementations of eBPF runtime (interpreter, JITs, helper
|
| H A D | classic_vs_extended.rst | 43 32-bit architectures run 64-bit eBPF programs via interpreter. 66 convention, then the interpreter will take them from registers and pass 104 returns will be seamless. Without JIT, __bpf_prog_run() interpreter needs to 188 interpreter. R0-R5 are scratch registers, so eBPF program needs to preserve 206 The input context pointer for invoking the interpreter function is generic,
|
| H A D | linux-notes.rst | 52 filters running in the eBPF interpreter.
|
| H A D | bpf_design_QA.rst | 226 and both interpreter and most JITed code consume necessary amount. 232 Q: Does classic BPF interpreter still exist?
|
| /linux/drivers/scsi/libsas/ |
| H A D | Kconfig | 32 option builds an SMP interpreter into libsas. Say
|
| /linux/Documentation/networking/ |
| H A D | filter.rst | 622 Internally, for the kernel interpreter, a different instruction set 642 in the eBPF interpreter. For in-kernel handlers, this all works transparently 645 bpf_prog_run(filter, ctx) transparently invokes eBPF interpreter or JITed 661 the BPF interpreter and JIT compiler. It can be found in lib/test_bpf.c and
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-script-perl.txt | 17 built-in Perl interpreter. It reads and processes the input file and
|
| /linux/Documentation/admin-guide/LSM/ |
| H A D | ipe.rst | 95 to the interpreter. This is because the way interpreters execute these 107 scripts, enforcement requires explicit interpreter integration using 109 intercepts during the execution process, this mechanism needs the interpreter
|