NetBSD/sys/compat/linux
christos 4d9a6e0930 - Pass the Elf32_Ehdr in the linux probe function, and use it!
Since linux binaries are (mostly) always compiled with gcc, look for
the gcc signature in the .comment section header: "\0 GCC: (GNU) ".
I've changed the probe order in kern/exec_elf.c to probe for linux ELF
binaries first and fall back to SVR4 binaries. This makes statically
linked binaries work for both linux and svr4. Note that gcc-compiled
svr4 binaries, still contain the operating system signature first and
then the GCC signature, so there is no conflict. Yes this is a hack.
1996-06-13 18:42:01 +00:00
..
arch/i386 Update list of Linux syscalls and implement the ones that are likely to be 1996-05-20 01:59:09 +00:00
common - Pass the Elf32_Ehdr in the linux probe function, and use it! 1996-06-13 18:42:01 +00:00
i386 Update list of Linux syscalls and implement the ones that are likely to be 1996-05-20 01:59:09 +00:00
include - Pass the Elf32_Ehdr in the linux probe function, and use it! 1996-06-13 18:42:01 +00:00
multiarch Update list of Linux syscalls and implement the ones that are likely to be 1996-05-20 01:59:09 +00:00
files.linux Separate ioctl emulation by group. Add (minimal) audio emulation. 1996-03-08 04:55:59 +00:00
linux_audio.c Separate ioctl emulation by group. Add (minimal) audio emulation. 1996-03-08 04:55:59 +00:00
linux_audio.h Separate ioctl emulation by group. Add (minimal) audio emulation. 1996-03-08 04:55:59 +00:00
linux_dirent.h Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
linux_errno.h
linux_error.c
linux_exec.c - Pass the Elf32_Ehdr in the linux probe function, and use it! 1996-06-13 18:42:01 +00:00
linux_exec.h - Pass the Elf32_Ehdr in the linux probe function, and use it! 1996-06-13 18:42:01 +00:00
linux_fcntl.h
linux_file.c Update list of Linux syscalls and implement the ones that are likely to be 1996-05-20 01:59:09 +00:00
linux_ioctl.c Prototyping changes. 1996-04-05 00:01:10 +00:00
linux_ioctl.h Prototyping changes. 1996-04-05 00:01:10 +00:00
linux_ipc.c Prototyping changes. 1996-04-05 00:01:10 +00:00
linux_ipc.h
linux_ipccall.h
linux_misc.c Update list of Linux syscalls and implement the ones that are likely to be 1996-05-20 01:59:09 +00:00
linux_mmap.h
linux_msg.h
linux_sem.h
linux_shm.h
linux_signal.c - Add missing prototypes 1996-04-04 23:51:36 +00:00
linux_signal.h
linux_socket.c Prototyping changes. 1996-04-05 00:01:10 +00:00
linux_socket.h
linux_socketcall.h
linux_sockio.h Separate ioctl emulation by group. Add (minimal) audio emulation. 1996-03-08 04:55:59 +00:00
linux_syscall.h Regen. 1996-05-20 02:00:53 +00:00
linux_syscallargs.h Regen. 1996-05-20 02:00:53 +00:00
linux_syscalls.c Regen. 1996-05-20 02:00:53 +00:00
linux_sysent.c Regen. 1996-05-20 02:00:53 +00:00
linux_termios.c Prototyping changes. 1996-04-05 00:01:10 +00:00
linux_termios.h Separate ioctl emulation by group. Add (minimal) audio emulation. 1996-03-08 04:55:59 +00:00
linux_types.h Update list of Linux syscalls and implement the ones that are likely to be 1996-05-20 01:59:09 +00:00
linux_util.h
Makefile
syscalls.conf
syscalls.master Update list of Linux syscalls and implement the ones that are likely to be 1996-05-20 01:59:09 +00:00