1 $FreeBSD: head/sys/amd64/linux32/syscalls.master 143197 2005-03-07 00:18:06Z sobomax $ |
2 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 4; System call name/number master file (or rather, slave, from LINUX). 5; Processed to create linux_sysent.c, linux_proto.h and linux_syscall.h. 6 7; Columns: number type nargs name alt{name,tag,rtyp}/comments 8; number system call number, must be in order 9; type one of STD, OBSOL, UNIMPL, COMPAT --- 10 unchanged lines hidden (view full) --- 20; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h 21; OBSOL obsolete, not included in system, only specifies name 22; UNIMPL not implemented, placeholder only 23 24#include "opt_compat.h" 25#include <sys/param.h> 26#include <sys/sysent.h> 27#include <sys/sysproto.h> |
28#include <compat/linux/linux_sysproto.h> |
29#include <amd64/linux32/linux.h> 30#include <amd64/linux32/linux32_proto.h> 31 |
32; Isn't pretty, but there seems to be no other way to trap nosys 33#define nosys linux_nosys 34 |
35; #ifdef's, etc. may be included, and are copied to the output files. 36 370 UNIMPL setup 381 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void 392 MSTD { int linux_fork(void); } 403 MNOPROTO { int read(int fd, char *buf, u_int nbyte); } 414 MNOPROTO { int write(int fd, char *buf, u_int nbyte); } 425 STD { int linux_open(char *path, l_int flags, l_int mode); } --- 307 unchanged lines hidden --- |