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>
|
|
|
|
|
2003-12-24 00:14:08 +00:00
|
|
|
0 UNIMPL nosys
|
|
|
|
1 UNIMPL isc_setostype
|
|
|
|
2 NOPROTO { int ibcs2_rename(char *from, char *to); }
|
|
|
|
3 NOPROTO { int ibcs2_sigaction(int sig, struct ibcs2_sigaction *act, \
|
|
|
|
struct ibcs2_sigaction *oact); }
|
|
|
|
4 NOPROTO { int ibcs2_sigprocmask(int how, ibcs2_sigset_t *set, \
|
|
|
|
ibcs2_sigset_t *oset); }
|
|
|
|
5 NOPROTO { int ibcs2_sigpending(ibcs2_sigset_t *mask); }
|
|
|
|
6 NOPROTO { int getgroups(u_int gidsetsize, gid_t *gidset); }
|
|
|
|
7 NOPROTO { int setgroups(u_int gidsetsize, gid_t *gidset); }
|
|
|
|
8 NOPROTO { int ibcs2_pathconf(char *path, int name); }
|
|
|
|
9 NOPROTO { int ibcs2_fpathconf(int fd, int name); }
|
|
|
|
10 UNIMPL nosys
|
|
|
|
11 NOPROTO { int ibcs2_wait(int a1, int a2, int a3); }
|
|
|
|
12 NOPROTO { int setsid(void); }
|
|
|
|
13 NOPROTO { pid_t getpid(void); }
|
|
|
|
14 UNIMPL isc_adduser
|
|
|
|
15 UNIMPL isc_setuser
|
The following compat syscalls are now mpsafe: linux_getrlimit(),
linux_setrlimit(), linux_old_getrlimit(), osf1_getrlimit(),
osf1_setrlimit(), svr4_sys_ulimit(), svr4_sys_setrlimit(),
svr4_sys_getrlimit(), svr4_sys_setrlimit64(), svr4_sys_getrlimit64(),
ibcs2_sysconf(), and ibcs2_ulimit().
2004-02-04 21:57:00 +00:00
|
|
|
16 MNOPROTO { int ibcs2_sysconf(int name); }
|
2003-12-24 00:14:08 +00:00
|
|
|
17 NOPROTO { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); }
|
|
|
|
18 NOPROTO { int ibcs2_symlink(char *path, char *link); }
|
|
|
|
19 NOPROTO { int ibcs2_readlink(char *path, char *buf, int count); }
|
|
|
|
20 UNIMPL isc_getmajor
|