Home
last modified time | relevance | path

Searched refs:interpreter (Results 1 – 25 of 34) sorted by relevance

12

/linux/Documentation/admin-guide/
H A Dbinfmt-misc.rst8 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 Dinit.rst31 you should make sure that the script specifies an interpreter in its
/linux/fs/
H A Dbinfmt_misc.c117 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 Dbinfmt_elf.c643 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 Dbinfmt_elf_fdpic.c194 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 Dbinfmt_script.c136 bprm->interpreter = file; in load_script()
H A Dexec.c1327 /* 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 DELF.rst20 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 Dcheck_exec.rst14 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 Delf.h31 #define ARCH_SETUP_ADDITIONAL_PAGES(bprm, ex, interpreter) \ argument
32 arch_setup_additional_pages(bprm, interpreter)
H A Dbinfmts.h67 struct file *interpreter; member
/linux/tools/testing/selftests/kselftest/
H A Drunner.sh126 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
127 cmd="$stdbuf $interpreter ./$BASENAME_TEST"
/linux/Documentation/gpu/nova/core/
H A Ddevinit.rst14 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 Ddebug.rst29 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 Dosi.rst9 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 Dmethod-tracing.rst81 the "trace points" the AML interpreter starts/stops to execute a control
/linux/arch/x86/include/asm/
H A Delf.h371 #define COMPAT_ARCH_SETUP_ADDITIONAL_PAGES(bprm, ex, interpreter) \ argument
372 compat_arch_setup_additional_pages(bprm, interpreter, \
/linux/Documentation/bpf/
H A Dbpf_licensing.rst35 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 Dclassic_vs_extended.rst43 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 Dlinux-notes.rst52 filters running in the eBPF interpreter.
H A Dbpf_design_QA.rst226 and both interpreter and most JITed code consume necessary amount.
232 Q: Does classic BPF interpreter still exist?
/linux/drivers/scsi/libsas/
H A DKconfig32 option builds an SMP interpreter into libsas. Say
/linux/Documentation/networking/
H A Dfilter.rst622 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 Dperf-script-perl.txt17 built-in Perl interpreter. It reads and processes the input file and
/linux/Documentation/admin-guide/LSM/
H A Dipe.rst95 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

12