freebsd-skq/sys/i386/ibcs2/syscalls.xenix
rwatson a31938806b Assign audit event identfiers to Xenix system calls. Note: AUE_EACCESS
is assigned to xenix_eaccess() instead of AUE_ACCESS, as that is the
intended meaning of the system call.  xenix_eaccess() should be
reimplemented using our native eaccess() implementation so that it
works as intended.

Obtained from:	TrustedBSD Project
2006-02-05 23:28:01 +00:00

78 lines
2.7 KiB
Plaintext

$FreeBSD$
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <i386/ibcs2/ibcs2_types.h>
#include <i386/ibcs2/ibcs2_signal.h>
#include <i386/ibcs2/ibcs2_xenix.h>
0 AUE_NULL UNIMPL nosys
1 AUE_NULL UNIMPL xenix_xlocking
2 AUE_NULL UNIMPL xenix_creatsem
3 AUE_NULL UNIMPL xenix_opensem
4 AUE_NULL UNIMPL xenix_sigsem
5 AUE_NULL UNIMPL xenix_waitsem
6 AUE_NULL UNIMPL xenix_nbwaitsem
7 AUE_NULL STD { int xenix_rdchk(int fd); }
8 AUE_NULL UNIMPL nosys
9 AUE_NULL UNIMPL nosys
10 AUE_FTRUNCATE MSTD { int xenix_chsize(int fd, long size); }
11 AUE_NULL MSTD { int xenix_ftime(struct timeb *tp); }
12 AUE_NULL MSTD { int xenix_nap(int millisec); }
13 AUE_NULL UNIMPL xenix_sdget
14 AUE_NULL UNIMPL xenix_sdfree
15 AUE_NULL UNIMPL xenix_sdenter
16 AUE_NULL UNIMPL xenix_sdleave
17 AUE_NULL UNIMPL xenix_sdgetv
18 AUE_NULL UNIMPL xenix_sdwaitv
19 AUE_NULL UNIMPL nosys
20 AUE_NULL UNIMPL nosys
21 AUE_NULL MSTD { int xenix_scoinfo(void); }
22 AUE_NULL UNIMPL nosys
23 AUE_NULL UNIMPL nosys
24 AUE_NULL UNIMPL nosys
25 AUE_NULL UNIMPL nosys
26 AUE_NULL UNIMPL nosys
27 AUE_NULL UNIMPL nosys
28 AUE_NULL UNIMPL nosys
29 AUE_NULL UNIMPL nosys
30 AUE_NULL UNIMPL nosys
31 AUE_NULL UNIMPL nosys
32 AUE_NULL UNIMPL xenix_proctl
33 AUE_NULL UNIMPL xenix_execseg
34 AUE_NULL UNIMPL xenix_unexecseg
35 AUE_NULL UNIMPL nosys
36 AUE_SELECT MNOPROTO { int select(u_int nd, fd_set *in, \
fd_set *ou, fd_set *ex, \
struct timeval *tv); }
37 AUE_EACCESS MSTD { int xenix_eaccess(char *path, int flags); }
38 AUE_NULL UNIMPL xenix_paccess
39 AUE_NULL MSTD { int ibcs2_sigaction(int sig, \
struct ibcs2_sigaction *act, \
struct ibcs2_sigaction *oact); }
40 AUE_NULL MSTD { int ibcs2_sigprocmask(int how, \
ibcs2_sigset_t *set, \
ibcs2_sigset_t *oset); }
41 AUE_NULL MSTD { int ibcs2_sigpending(ibcs2_sigset_t *mask); }
42 AUE_NULL MSTD { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); }
43 AUE_GETGROUPS STD { int ibcs2_getgroups(int gidsetsize, \
ibcs2_gid_t *gidset); }
44 AUE_SETGROUPS STD { int ibcs2_setgroups(int gidsetsize, \
ibcs2_gid_t *gidset); }
45 AUE_NULL MSTD { int ibcs2_sysconf(int name); }
46 AUE_PATHCONF MSTD { int ibcs2_pathconf(char *path, int name); }
47 AUE_FPATHCONF MSTD { int ibcs2_fpathconf(int fd, int name); }
48 AUE_RENAME MSTD { int ibcs2_rename(char *from, char *to); }
49 AUE_NULL UNIMPL nosys
50 AUE_NULL MSTD { int xenix_utsname(long addr); }
51 AUE_NULL UNIMPL nosys
52 AUE_NULL UNIMPL nosys
53 AUE_NULL UNIMPL nosys
54 AUE_NULL UNIMPL nosys
55 AUE_GETITIMER MNOPROTO { int getitimer(u_int which, \
struct itimerval *itv); }
56 AUE_SETITIMER MNOPROTO { int setitimer(u_int which, \
struct itimerval *itv, \
struct itimerval *otv); }