syscalls.master (155374) | syscalls.master (156842) |
---|---|
1 $FreeBSD: head/sys/i386/linux/syscalls.master 155374 2006-02-06 01:40:30Z rwatson $ | 1 $FreeBSD: head/sys/i386/linux/syscalls.master 156842 2006-03-18 18:20:17Z netchild $ |
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 audit type nargs name alt{name,tag,rtyp}/comments 8; number system call number, must be in order 9; audit the audit event associated with the system call 10; A value of AUE_NULL means no auditing, but it also means that 11; there is no audit event for the call at this time. For the 12; case where the event exists, but we don't want auditing, the 13; event should be #defined to AUE_NULL in audit_kevents.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 audit type nargs name alt{name,tag,rtyp}/comments 8; number system call number, must be in order 9; audit the audit event associated with the system call 10; A value of AUE_NULL means no auditing, but it also means that 11; there is no audit event for the call at this time. For the 12; case where the event exists, but we don't want auditing, the 13; event should be #defined to AUE_NULL in audit_kevents.h. |
14; type one of STD, OBSOL, UNIMPL, COMPAT | 14; type one of STD, OBSOL, UNIMPL |
15; name psuedo-prototype of syscall routine 16; If one of the following alts is different, then all appear: 17; audit the audit event associated with the system call 18; A value of AUE_NULL means no auditing, but it also means that 19; there is no audit event for the call at this time. For the 20; case where the event exists, but we don't want auditing, the 21; event should be #defined to AUE_NULL in audit_kevents.h. 22; altname name of system call if different 23; alttag name of args struct tag if different from [o]`name'"_args" 24; altrtyp return type if not int (bogus - syscalls always return int) 25; for UNIMPL/OBSOL, name continues with comments 26 27; types: 28; AUE_NULL STD always included | 15; name psuedo-prototype of syscall routine 16; If one of the following alts is different, then all appear: 17; audit the audit event associated with the system call 18; A value of AUE_NULL means no auditing, but it also means that 19; there is no audit event for the call at this time. For the 20; case where the event exists, but we don't want auditing, the 21; event should be #defined to AUE_NULL in audit_kevents.h. 22; altname name of system call if different 23; alttag name of args struct tag if different from [o]`name'"_args" 24; altrtyp return type if not int (bogus - syscalls always return int) 25; for UNIMPL/OBSOL, name continues with comments 26 27; types: 28; AUE_NULL STD always included |
29; COMPAT included on COMPAT #ifdef 30; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h | |
31; OBSOL obsolete, not included in system, only specifies name 32; AUE_NULL UNIMPL not implemented, placeholder only 33 | 29; OBSOL obsolete, not included in system, only specifies name 30; AUE_NULL UNIMPL not implemented, placeholder only 31 |
34#include "opt_compat.h" | |
35#include <sys/param.h> 36#include <sys/sysent.h> 37#include <sys/sysproto.h> 38#include <compat/linux/linux_sysproto.h> 39#include <i386/linux/linux.h> 40#include <i386/linux/linux_proto.h> 41 42; Isn't pretty, but there seems to be no other way to trap nosys --- 25 unchanged lines hidden (view full) --- 6814 AUE_MKNOD MSTD { int linux_mknod(char *path, l_int mode, \ 69 l_dev_t dev); } 7015 AUE_CHMOD MSTD { int linux_chmod(char *path, \ 71 l_mode_t mode); } 7216 AUE_LCHOWN MSTD { int linux_lchown16(char *path, \ 73 l_uid16_t uid, l_gid16_t gid); } 7417 AUE_NULL UNIMPL break 7518 AUE_STAT MSTD { int linux_stat(char *path, \ | 32#include <sys/param.h> 33#include <sys/sysent.h> 34#include <sys/sysproto.h> 35#include <compat/linux/linux_sysproto.h> 36#include <i386/linux/linux.h> 37#include <i386/linux/linux_proto.h> 38 39; Isn't pretty, but there seems to be no other way to trap nosys --- 25 unchanged lines hidden (view full) --- 6514 AUE_MKNOD MSTD { int linux_mknod(char *path, l_int mode, \ 66 l_dev_t dev); } 6715 AUE_CHMOD MSTD { int linux_chmod(char *path, \ 68 l_mode_t mode); } 6916 AUE_LCHOWN MSTD { int linux_lchown16(char *path, \ 70 l_uid16_t uid, l_gid16_t gid); } 7117 AUE_NULL UNIMPL break 7218 AUE_STAT MSTD { int linux_stat(char *path, \ |
76 struct ostat *up); } | 73 struct linux_stat *up); } |
7719 AUE_LSEEK MSTD { int linux_lseek(l_uint fdes, l_off_t off, \ 78 l_int whence); } 7920 AUE_GETPID MSTD { int linux_getpid(void); } 8021 AUE_MOUNT STD { int linux_mount(char *specialfile, \ 81 char *dir, char *filesystemtype, \ 82 l_ulong rwflag, void *data); } 8322 AUE_UMOUNT STD { int linux_oldumount(char *path); } 8423 AUE_SETUID MSTD { int linux_setuid16(l_uid16_t uid); } 8524 AUE_GETUID MSTD { int linux_getuid16(void); } 8625 AUE_SETTIMEOFDAY MSTD { int linux_stime(void); } 8726 AUE_PTRACE MSTD { int linux_ptrace(l_long req, l_long pid, \ 88 l_long addr, l_long data); } 8927 AUE_NULL MSTD { int linux_alarm(l_uint secs); } 9028 AUE_FSTAT MSTD { int linux_fstat(l_uint fd, \ | 7419 AUE_LSEEK MSTD { int linux_lseek(l_uint fdes, l_off_t off, \ 75 l_int whence); } 7620 AUE_GETPID MSTD { int linux_getpid(void); } 7721 AUE_MOUNT STD { int linux_mount(char *specialfile, \ 78 char *dir, char *filesystemtype, \ 79 l_ulong rwflag, void *data); } 8022 AUE_UMOUNT STD { int linux_oldumount(char *path); } 8123 AUE_SETUID MSTD { int linux_setuid16(l_uid16_t uid); } 8224 AUE_GETUID MSTD { int linux_getuid16(void); } 8325 AUE_SETTIMEOFDAY MSTD { int linux_stime(void); } 8426 AUE_PTRACE MSTD { int linux_ptrace(l_long req, l_long pid, \ 85 l_long addr, l_long data); } 8627 AUE_NULL MSTD { int linux_alarm(l_uint secs); } 8728 AUE_FSTAT MSTD { int linux_fstat(l_uint fd, \ |
91 struct ostat *up); } | 88 struct linux_stat *up); } |
9229 AUE_NULL MSTD { int linux_pause(void); } 9330 AUE_UTIME MSTD { int linux_utime(char *fname, \ 94 struct l_utimbuf *times); } 9531 AUE_NULL UNIMPL stty 9632 AUE_NULL UNIMPL gtty 9733 AUE_ACCESS MSTD { int linux_access(char *path, l_int flags); } 9834 AUE_NICE MSTD { int linux_nice(l_int inc); } 9935 AUE_NULL UNIMPL ftime --- 39 unchanged lines hidden (view full) --- 13969 AUE_NULL MSTD { int linux_ssetmask(l_osigset_t mask); } 14070 AUE_SETREUID MSTD { int linux_setreuid16(l_uid16_t ruid, \ 141 l_uid16_t euid); } 14271 AUE_SETREGID MSTD { int linux_setregid16(l_gid16_t rgid, \ 143 l_gid16_t egid); } 14472 AUE_NULL MSTD { int linux_sigsuspend(l_int hist0, \ 145 l_int hist1, l_osigset_t mask); } 14673 AUE_NULL MSTD { int linux_sigpending(l_osigset_t *mask); } | 8929 AUE_NULL MSTD { int linux_pause(void); } 9030 AUE_UTIME MSTD { int linux_utime(char *fname, \ 91 struct l_utimbuf *times); } 9231 AUE_NULL UNIMPL stty 9332 AUE_NULL UNIMPL gtty 9433 AUE_ACCESS MSTD { int linux_access(char *path, l_int flags); } 9534 AUE_NICE MSTD { int linux_nice(l_int inc); } 9635 AUE_NULL UNIMPL ftime --- 39 unchanged lines hidden (view full) --- 13669 AUE_NULL MSTD { int linux_ssetmask(l_osigset_t mask); } 13770 AUE_SETREUID MSTD { int linux_setreuid16(l_uid16_t ruid, \ 138 l_uid16_t euid); } 13971 AUE_SETREGID MSTD { int linux_setregid16(l_gid16_t rgid, \ 140 l_gid16_t egid); } 14172 AUE_NULL MSTD { int linux_sigsuspend(l_int hist0, \ 142 l_int hist1, l_osigset_t mask); } 14373 AUE_NULL MSTD { int linux_sigpending(l_osigset_t *mask); } |
14774 AUE_SYSCTL MNOPROTO { int osethostname(char *hostname, \ 148 u_int len); } osethostname \ 149 sethostname_args int | 14474 AUE_SYSCTL MNOPROTO { int linux_sethostname(char *hostname, \ 145 u_int len); } |
15075 AUE_SETRLIMIT MSTD { int linux_setrlimit(l_uint resource, \ 151 struct l_rlimit *rlim); } 15276 AUE_GETRLIMIT MSTD { int linux_old_getrlimit(l_uint resource, \ 153 struct l_rlimit *rlim); } 15477 AUE_GETRUSAGE MNOPROTO { int getrusage(int who, \ 155 struct rusage *rusage); } 15678 AUE_NULL MNOPROTO { int gettimeofday( \ 157 struct timeval *tp, \ 158 struct timezone *tzp); } 15979 AUE_SETTIMEOFDAY MNOPROTO { int settimeofday( \ 160 struct timeval *tp, \ 161 struct timezone *tzp); } 16280 AUE_GETGROUPS MSTD { int linux_getgroups16(l_uint gidsetsize, \ 163 l_gid16_t *gidset); } 16481 AUE_SETGROUPS MSTD { int linux_setgroups16(l_uint gidsetsize, \ 165 l_gid16_t *gidset); } 16682 AUE_SELECT MSTD { int linux_old_select( \ 167 struct l_old_select_argv *ptr); } 16883 AUE_SYMLINK MSTD { int linux_symlink(char *path, char *to); } | 14675 AUE_SETRLIMIT MSTD { int linux_setrlimit(l_uint resource, \ 147 struct l_rlimit *rlim); } 14876 AUE_GETRLIMIT MSTD { int linux_old_getrlimit(l_uint resource, \ 149 struct l_rlimit *rlim); } 15077 AUE_GETRUSAGE MNOPROTO { int getrusage(int who, \ 151 struct rusage *rusage); } 15278 AUE_NULL MNOPROTO { int gettimeofday( \ 153 struct timeval *tp, \ 154 struct timezone *tzp); } 15579 AUE_SETTIMEOFDAY MNOPROTO { int settimeofday( \ 156 struct timeval *tp, \ 157 struct timezone *tzp); } 15880 AUE_GETGROUPS MSTD { int linux_getgroups16(l_uint gidsetsize, \ 159 l_gid16_t *gidset); } 16081 AUE_SETGROUPS MSTD { int linux_setgroups16(l_uint gidsetsize, \ 161 l_gid16_t *gidset); } 16282 AUE_SELECT MSTD { int linux_old_select( \ 163 struct l_old_select_argv *ptr); } 16483 AUE_SYMLINK MSTD { int linux_symlink(char *path, char *to); } |
16984 AUE_STAT MNOPROTO { int ostat(char *path, struct ostat *up); } | 16584 AUE_STAT MNOPROTO { int linux_stat(char *path, struct ostat *up); } |
17085 AUE_READLINK MSTD { int linux_readlink(char *name, char *buf, \ 171 l_int count); } 17286 AUE_USELIB STD { int linux_uselib(char *library); } 17387 AUE_SWAPON MNOPROTO { int swapon(char *name); } 17488 AUE_REBOOT MSTD { int linux_reboot(l_int magic1, \ 175 l_int magic2, l_uint cmd, void *arg); } 17689 AUE_O_GETDENTS STD { int linux_readdir(l_uint fd, \ 177 struct l_dirent *dent, l_uint count); } 17890 AUE_MMAP MSTD { int linux_mmap(struct l_mmap_argv *ptr); } 17991 AUE_MUNMAP MNOPROTO { int munmap(caddr_t addr, int len); } 18092 AUE_TRUNCATE MSTD { int linux_truncate(char *path, \ 181 l_ulong length); } | 16685 AUE_READLINK MSTD { int linux_readlink(char *name, char *buf, \ 167 l_int count); } 16886 AUE_USELIB STD { int linux_uselib(char *library); } 16987 AUE_SWAPON MNOPROTO { int swapon(char *name); } 17088 AUE_REBOOT MSTD { int linux_reboot(l_int magic1, \ 171 l_int magic2, l_uint cmd, void *arg); } 17289 AUE_O_GETDENTS STD { int linux_readdir(l_uint fd, \ 173 struct l_dirent *dent, l_uint count); } 17490 AUE_MMAP MSTD { int linux_mmap(struct l_mmap_argv *ptr); } 17591 AUE_MUNMAP MNOPROTO { int munmap(caddr_t addr, int len); } 17692 AUE_TRUNCATE MSTD { int linux_truncate(char *path, \ 177 l_ulong length); } |
18293 AUE_FTRUNCATE MNOPROTO { int oftruncate(int fd, long length); } | 17893 AUE_FTRUNCATE MNOPROTO { int linux_ftruncate(int fd, long length); } |
18394 AUE_FCHMOD MNOPROTO { int fchmod(int fd, int mode); } 18495 AUE_FCHOWN MNOPROTO { int fchown(int fd, int uid, int gid); } 18596 AUE_GETPRIORITY MSTD { int linux_getpriority(int which, int who); } 18697 AUE_SETPRIORITY MNOPROTO { int setpriority(int which, int who, \ 187 int prio); } 18898 AUE_AUE_PROFILE UNIMPL profil 18999 AUE_STATFS MSTD { int linux_statfs(char *path, \ 190 struct l_statfs_buf *buf); } --- 249 unchanged lines hidden --- | 17994 AUE_FCHMOD MNOPROTO { int fchmod(int fd, int mode); } 18095 AUE_FCHOWN MNOPROTO { int fchown(int fd, int uid, int gid); } 18196 AUE_GETPRIORITY MSTD { int linux_getpriority(int which, int who); } 18297 AUE_SETPRIORITY MNOPROTO { int setpriority(int which, int who, \ 183 int prio); } 18498 AUE_AUE_PROFILE UNIMPL profil 18599 AUE_STATFS MSTD { int linux_statfs(char *path, \ 186 struct l_statfs_buf *buf); } --- 249 unchanged lines hidden --- |