1999-08-28 01:08:13 +00:00
|
|
|
$FreeBSD$
|
Remove old files no longer needed.
Add new files created for emulator.
Modify NetBSD import to work with FreeBSD and add new features and
code. The complete emulator is essentially a combination of work/code
implemented by Sean Eric Fagan, Soren Schmidt, Scott Bartram, and myself,
Steven Wallace.
Features of this new emulator system include:
o "clean" code, including strict prototyping.
o Auto-generation of ibcs2 system calls, xenix system calls, isc system
calls. Generation includes system tables, structure definitions,
and prototyping of function calls.
o ibcs2 emulator does not rely on any COMPAT_43 system calls.
o embedded socksys support
o ibcs2 msgsys, semsys, shmsys calls supported if supported in kernel
o alternate /emul/ibcs2 namespace searched first for files in ibcs2
system. Usefull to keep sysv libraries, binaries in /emul/ibcs2.
o many other finer details and functions fixed or implemented.
1995-10-10 07:59:30 +00:00
|
|
|
|
|
|
|
#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_proto.h>
|
|
|
|
#include <i386/ibcs2/ibcs2_xenix.h>
|
|
|
|
|
2005-06-29 17:27:40 +00:00
|
|
|
0 AUE_NULL UNIMPL nosys
|
|
|
|
1 AUE_NULL UNIMPL isc_setostype
|
2006-07-28 19:05:28 +00:00
|
|
|
2 AUE_RENAME NOPROTO { int ibcs2_rename(char *from, char *to); }
|
|
|
|
3 AUE_NULL NOPROTO { int ibcs2_sigaction(int sig, \
|
2006-02-05 23:15:22 +00:00
|
|
|
struct ibcs2_sigaction *act, \
|
|
|
|
struct ibcs2_sigaction *oact); }
|
2006-07-28 19:05:28 +00:00
|
|
|
4 AUE_NULL NOPROTO { int ibcs2_sigprocmask(int how, \
|
2006-02-05 23:15:22 +00:00
|
|
|
ibcs2_sigset_t *set, \
|
|
|
|
ibcs2_sigset_t *oset); }
|
2006-07-28 19:05:28 +00:00
|
|
|
5 AUE_NULL NOPROTO { int ibcs2_sigpending(ibcs2_sigset_t *mask); }
|
|
|
|
6 AUE_GETGROUPS NOPROTO { int getgroups(u_int gidsetsize, \
|
2006-02-05 23:15:22 +00:00
|
|
|
gid_t *gidset); }
|
2006-07-28 19:05:28 +00:00
|
|
|
7 AUE_SETGROUPS NOPROTO { int setgroups(u_int gidsetsize, \
|
2006-02-05 23:15:22 +00:00
|
|
|
gid_t *gidset); }
|
2006-07-28 19:05:28 +00:00
|
|
|
8 AUE_PATHCONF NOPROTO { int ibcs2_pathconf(char *path, int name); }
|
|
|
|
9 AUE_FPATHCONF NOPROTO { int ibcs2_fpathconf(int fd, int name); }
|
2005-06-29 17:27:40 +00:00
|
|
|
10 AUE_NULL UNIMPL nosys
|
2006-07-28 19:05:28 +00:00
|
|
|
11 AUE_WAIT4 NOPROTO { int ibcs2_wait(int a1, int a2, int a3); }
|
|
|
|
12 AUE_SETSID NOPROTO { int setsid(void); }
|
|
|
|
13 AUE_GETPID NOPROTO { pid_t getpid(void); }
|
2005-06-29 17:27:40 +00:00
|
|
|
14 AUE_NULL UNIMPL isc_adduser
|
|
|
|
15 AUE_NULL UNIMPL isc_setuser
|
2006-07-28 19:05:28 +00:00
|
|
|
16 AUE_NULL NOPROTO { int ibcs2_sysconf(int name); }
|
|
|
|
17 AUE_NULL NOPROTO { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); }
|
|
|
|
18 AUE_SYMLINK NOPROTO { int ibcs2_symlink(char *path, char *link); }
|
|
|
|
19 AUE_READLINK NOPROTO { int ibcs2_readlink(char *path, char *buf, \
|
2006-02-05 23:15:22 +00:00
|
|
|
int count); }
|
2005-06-29 17:27:40 +00:00
|
|
|
20 AUE_NULL UNIMPL isc_getmajor
|