Deleted Added
full compact
syscalls.master (134838) syscalls.master (143197)
1 $FreeBSD: head/sys/i386/linux/syscalls.master 134838 2004-09-06 09:32:59Z dfr $
1 $FreeBSD: head/sys/i386/linux/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>
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>
28#include <i386/linux/linux.h>
29#include <i386/linux/linux_proto.h>
30
29#include <i386/linux/linux.h>
30#include <i386/linux/linux_proto.h>
31
32; Isn't pretty, but there seems to be no other way to trap nosys
33#define nosys linux_nosys
34
31; #ifdef's, etc. may be included, and are copied to the output files.
32
330 UNIMPL setup
341 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void
352 MSTD { int linux_fork(void); }
363 MNOPROTO { int read(int fd, char *buf, u_int nbyte); }
374 MNOPROTO { int write(int fd, char *buf, u_int nbyte); }
385 STD { int linux_open(char *path, l_int flags, l_int mode); }

--- 305 unchanged lines hidden ---
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); }

--- 305 unchanged lines hidden ---