Home | History | Annotate | Download | only in common

Lines Matching defs:linux

66 #include <compat/linux/common/linux_types.h>
67 #include <compat/linux/common/linux_signal.h>
68 #include <compat/linux/common/linux_util.h>
69 #include <compat/linux/common/linux_exec.h>
70 #include <compat/linux/common/linux_machdep.h>
71 #include <compat/linux/common/linux_ipc.h>
72 #include <compat/linux/common/linux_sem.h>
74 #include <compat/linux/linux_syscallargs.h>
75 #include <compat/linux/linux_syscall.h>
85 * On the PowerPC, statically linked Linux binaries are not recognized
88 * have a Linux binary if we find this section.
91 ELFNAME2(linux,atexit_signature)(
148 * Take advantage of the fact that all the linux binaries are compiled
156 * XXX NetBSD binaries as Linux.
159 ELFNAME2(linux,gcc_signature)(
219 ELFNAME2(linux,debuglink_signature)(struct lwp *l, struct exec_package *epp, Elf_Ehdr *eh)
277 ELFNAME2(linux,go_rt0_signature)(struct lwp *l, struct exec_package *epp, Elf_Ehdr *eh)
367 ELFNAME2(linux,signature)(struct lwp *l, struct exec_package *epp, Elf_Ehdr *eh, char *itp)
373 static const char linux[] = "Linux";
376 memcmp(&eh->e_ident[EI_ABIVERSION], linux, sizeof(linux)) == 0)
409 /* Make sure the OS is Linux. */
426 if (!strncmp(itp, "/lib/ld-linux", 13) ||
428 !strncmp(itp, "/lib64/ld-linux", 15) ||
444 ELFNAME2(linux,probe)(struct lwp *l, struct exec_package *epp, void *eh,
449 if (((error = ELFNAME2(linux,signature)(l, epp, eh, itp)) != 0) &&
451 ((error = ELFNAME2(linux,gcc_signature)(l, epp, eh)) != 0) &&
454 ((error = ELFNAME2(linux,atexit_signature)(l, epp, eh)) != 0) &&
457 ((error = ELFNAME2(linux,debuglink_signature)(l, epp, eh)) != 0) &&
460 ((error = ELFNAME2(linux,go_rt0_signature)(l, epp, eh)) != 0) &&
482 ELFNAME2(linux,copyargs)(struct lwp *l, struct exec_package *pack,
536 /* Linux-specific items */