* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.10 1997/01/26 23:02:24 downsj Exp
+ * created from OpenBSD: syscalls.master,v 1.11 1997/02/13 19:45:27 niklas Exp
*/
#define SVR4_SYS_syscall 0
#define SVR4_SYS_getuid 24
#define SVR4_SYS_alarm 27
#define SVR4_SYS_fstat 28
+#define SVR4_SYS_pause 29
#define SVR4_SYS_utime 30
#define SVR4_SYS_access 33
#define SVR4_SYS_sync 36
#define SVR4_SYS_setrlimit 128
#define SVR4_SYS_getrlimit 129
#define SVR4_SYS_lchown 130
+#define SVR4_SYS_memcntl 131
#define SVR4_SYS_rename 134
#define SVR4_SYS_uname 135
#define SVR4_SYS_setegid 136
#define SVR4_SYS_gettimeofday 156
#define SVR4_SYS_getitimer 157
#define SVR4_SYS_setitimer 158
+#define SVR4_SYS_acl 185
+#define SVR4_SYS_facl 200
+#define SVR4_SYS_setreuid 202
+#define SVR4_SYS_setregid 203
#define SVR4_SYS_MAXSYSCALL 213
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.10 1997/01/26 23:02:24 downsj Exp
+ * created from OpenBSD: syscalls.master,v 1.11 1997/02/13 19:45:27 niklas Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
syscallarg(struct ogetrlimit *) rlp;
};
+struct svr4_sys_memcntl_args {
+ syscallarg(svr4_caddr_t) addr;
+ syscallarg(svr4_size_t) len;
+ syscallarg(int) cmd;
+ syscallarg(svr4_caddr_t) arg;
+ syscallarg(int) attr;
+ syscallarg(int) mask;
+};
+
struct svr4_sys_uname_args {
syscallarg(struct svr4_utsname *) name;
syscallarg(int) dummy;
syscallarg(struct timeval *) tp;
};
+struct svr4_sys_acl_args {
+ syscallarg(char *) path;
+ syscallarg(int) cmd;
+ syscallarg(int) num;
+ syscallarg(struct svr4_aclent *) buf;
+};
+
+struct svr4_sys_facl_args {
+ syscallarg(int) fd;
+ syscallarg(int) cmd;
+ syscallarg(int) num;
+ syscallarg(struct svr4_aclent *) buf;
+};
+
/*
* System call prototypes.
*/
int sys_getuid __P((struct proc *, void *, register_t *));
int svr4_sys_alarm __P((struct proc *, void *, register_t *));
int svr4_sys_fstat __P((struct proc *, void *, register_t *));
+int svr4_sys_pause __P((struct proc *, void *, register_t *));
int svr4_sys_utime __P((struct proc *, void *, register_t *));
int svr4_sys_access __P((struct proc *, void *, register_t *));
int sys_sync __P((struct proc *, void *, register_t *));
int svr4_sys_setrlimit __P((struct proc *, void *, register_t *));
int svr4_sys_getrlimit __P((struct proc *, void *, register_t *));
int sys_lchown __P((struct proc *, void *, register_t *));
+int svr4_sys_memcntl __P((struct proc *, void *, register_t *));
int sys_rename __P((struct proc *, void *, register_t *));
int svr4_sys_uname __P((struct proc *, void *, register_t *));
int sys_setegid __P((struct proc *, void *, register_t *));
int svr4_sys_gettimeofday __P((struct proc *, void *, register_t *));
int sys_getitimer __P((struct proc *, void *, register_t *));
int sys_setitimer __P((struct proc *, void *, register_t *));
+int svr4_sys_acl __P((struct proc *, void *, register_t *));
+int svr4_sys_facl __P((struct proc *, void *, register_t *));
+int compat_43_sys_setreuid __P((struct proc *, void *, register_t *));
+int compat_43_sys_setregid __P((struct proc *, void *, register_t *));
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.10 1997/01/26 23:02:24 downsj Exp
+ * created from OpenBSD: syscalls.master,v 1.11 1997/02/13 19:45:27 niklas Exp
*/
char *svr4_syscallnames[] = {
"#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
"alarm", /* 27 = alarm */
"fstat", /* 28 = fstat */
- "#29 (unimplemented pause)", /* 29 = unimplemented pause */
+ "pause", /* 29 = pause */
"utime", /* 30 = utime */
"#31 (unimplemented was stty)", /* 31 = unimplemented was stty */
"#32 (unimplemented was gtty)", /* 32 = unimplemented was gtty */
"setrlimit", /* 128 = setrlimit */
"getrlimit", /* 129 = getrlimit */
"lchown", /* 130 = lchown */
- "#131 (unimplemented memcntl)", /* 131 = unimplemented memcntl */
+ "memcntl", /* 131 = memcntl */
"#132 (unimplemented getpmsg)", /* 132 = unimplemented getpmsg */
"#133 (unimplemented putpmsg)", /* 133 = unimplemented putpmsg */
"rename", /* 134 = rename */
"#182 (unimplemented)", /* 182 = unimplemented */
"#183 (unimplemented)", /* 183 = unimplemented */
"#184 (unimplemented tsolsys)", /* 184 = unimplemented tsolsys */
- "#185 (unimplemented acl)", /* 185 = unimplemented acl */
+ "acl", /* 185 = acl */
"#186 (unimplemented auditsys)", /* 186 = unimplemented auditsys */
"#187 (unimplemented processor_bind)", /* 187 = unimplemented processor_bind */
"#188 (unimplemented processor_info)", /* 188 = unimplemented processor_info */
"#197 (unimplemented timer_gettime)", /* 197 = unimplemented timer_gettime */
"#198 (unimplemented timer_getoverrun)", /* 198 = unimplemented timer_getoverrun */
"#199 (unimplemented nanosleep)", /* 199 = unimplemented nanosleep */
- "#200 (unimplemented facl)", /* 200 = unimplemented facl */
+ "facl", /* 200 = facl */
"#201 (unimplemented door)", /* 201 = unimplemented door */
- "#202 (unimplemented setreuid)", /* 202 = unimplemented setreuid */
- "#203 (unimplemented setregid)", /* 203 = unimplemented setregid */
+ "setreuid", /* 202 = setreuid */
+ "setregid", /* 203 = setregid */
"#204 (unimplemented)", /* 204 = unimplemented */
"#205 (unimplemented)", /* 205 = unimplemented */
"#206 (unimplemented)", /* 206 = unimplemented */
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.10 1997/01/26 23:02:24 downsj Exp
+ * created from OpenBSD: syscalls.master,v 1.11 1997/02/13 19:45:27 niklas Exp
*/
#include <sys/param.h>
#include <compat/svr4/svr4_ucontext.h>
#include <compat/svr4/svr4_syscallargs.h>
#include <compat/svr4/svr4_statvfs.h>
+#include <compat/svr4/svr4_acl.h>
#ifdef COMPAT_43
#define compat_43(func) __CONCAT(compat_43_,func)
{ 2, s(struct svr4_sys_fstat_args),
svr4_sys_fstat }, /* 28 = fstat */
{ 0, 0,
- sys_nosys }, /* 29 = unimplemented pause */
+ svr4_sys_pause }, /* 29 = pause */
{ 2, s(struct svr4_sys_utime_args),
svr4_sys_utime }, /* 30 = utime */
{ 0, 0,
svr4_sys_getrlimit }, /* 129 = getrlimit */
{ 3, s(struct sys_lchown_args),
sys_lchown }, /* 130 = lchown */
- { 0, 0,
- sys_nosys }, /* 131 = unimplemented memcntl */
+ { 6, s(struct svr4_sys_memcntl_args),
+ svr4_sys_memcntl }, /* 131 = memcntl */
{ 0, 0,
sys_nosys }, /* 132 = unimplemented getpmsg */
{ 0, 0,
sys_nosys }, /* 183 = unimplemented */
{ 0, 0,
sys_nosys }, /* 184 = unimplemented tsolsys */
- { 0, 0,
- sys_nosys }, /* 185 = unimplemented acl */
+ { 4, s(struct svr4_sys_acl_args),
+ svr4_sys_acl }, /* 185 = acl */
{ 0, 0,
sys_nosys }, /* 186 = unimplemented auditsys */
{ 0, 0,
sys_nosys }, /* 198 = unimplemented timer_getoverrun */
{ 0, 0,
sys_nosys }, /* 199 = unimplemented nanosleep */
- { 0, 0,
- sys_nosys }, /* 200 = unimplemented facl */
+ { 4, s(struct svr4_sys_facl_args),
+ svr4_sys_facl }, /* 200 = facl */
{ 0, 0,
sys_nosys }, /* 201 = unimplemented door */
- { 0, 0,
- sys_nosys }, /* 202 = unimplemented setreuid */
- { 0, 0,
- sys_nosys }, /* 203 = unimplemented setregid */
+ { 2, s(struct compat_43_sys_setreuid_args),
+ compat_43_sys_setreuid }, /* 202 = setreuid */
+ { 2, s(struct compat_43_sys_setregid_args),
+ compat_43_sys_setregid }, /* 203 = setregid */
{ 0, 0,
sys_nosys }, /* 204 = unimplemented */
{ 0, 0,