This commit is contained in:
christos 1996-12-06 03:26:33 +00:00
parent 88bb1b35b5
commit 4fd46ff6cb
4 changed files with 57 additions and 21 deletions

View File

@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.19 1996/09/07 14:22:02 mycroft Exp
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp
*/
#define SVR4_SYS_syscall 0
@ -30,6 +30,7 @@
#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
@ -101,6 +102,7 @@
#define SVR4_SYS_xmknod 126
#define SVR4_SYS_setrlimit 128
#define SVR4_SYS_getrlimit 129
#define SVR4_SYS_memcntl 131
#define SVR4_SYS_rename 134
#define SVR4_SYS_uname 135
#define SVR4_SYS_setegid 136
@ -114,4 +116,8 @@
#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

View File

@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.19 1996/09/07 14:22:02 mycroft Exp
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@ -278,6 +278,15 @@ struct svr4_sys_getrlimit_args {
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;
@ -306,6 +315,20 @@ struct svr4_sys_gettimeofday_args {
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.
*/
@ -335,6 +358,7 @@ int sys_setuid __P((struct proc *, void *, register_t *));
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 *));
@ -405,6 +429,7 @@ int svr4_sys_fxstat __P((struct proc *, void *, register_t *));
int svr4_sys_xmknod __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 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 *));
@ -418,3 +443,7 @@ int svr4_sys_vhangup __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 sys_setreuid __P((struct proc *, void *, register_t *));
int sys_setregid __P((struct proc *, void *, register_t *));

View File

@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.19 1996/09/07 14:22:02 mycroft Exp
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp
*/
char *svr4_syscallnames[] = {
@ -35,7 +35,7 @@ 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 */
@ -149,7 +149,7 @@ char *svr4_syscallnames[] = {
"setrlimit", /* 128 = setrlimit */
"getrlimit", /* 129 = getrlimit */
"#130 (unimplemented lchown)", /* 130 = unimplemented 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 */
@ -203,7 +203,7 @@ char *svr4_syscallnames[] = {
"#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 */
@ -218,10 +218,10 @@ char *svr4_syscallnames[] = {
"#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 */

View File

@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.19 1996/09/07 14:22:02 mycroft Exp
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp
*/
#include <sys/param.h>
@ -17,6 +17,7 @@
#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)
@ -98,7 +99,7 @@ struct sysent svr4_sysent[] = {
{ 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,
@ -316,8 +317,8 @@ struct sysent svr4_sysent[] = {
svr4_sys_getrlimit }, /* 129 = getrlimit */
{ 0, 0,
sys_nosys }, /* 130 = unimplemented 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,
@ -424,8 +425,8 @@ struct sysent svr4_sysent[] = {
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,
@ -454,14 +455,14 @@ struct sysent svr4_sysent[] = {
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 sys_setreuid_args),
sys_setreuid }, /* 202 = setreuid */
{ 2, s(struct sys_setregid_args),
sys_setregid }, /* 203 = setregid */
{ 0, 0,
sys_nosys }, /* 204 = unimplemented */
{ 0, 0,