This commit is contained in:
mrg 2001-02-02 13:03:39 +00:00
parent b0f29c9c95
commit 674f1689f6
4 changed files with 140 additions and 9 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscall.h,v 1.20 2001/01/27 07:58:37 thorpej Exp $ */
/* $NetBSD: netbsd32_syscall.h,v 1.21 2001/02/02 13:03:39 mrg Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.17 2001/01/27 07:58:22 thorpej Exp
* created from NetBSD: syscalls.master,v 1.18 2001/02/02 13:01:44 mrg Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -708,4 +708,13 @@
#define netbsd32_SYS_netbsd32___shmctl13 303
/* 303 is excluded __shmctl13 */
#define netbsd32_SYS_MAXSYSCALL 304
/* syscall: "netbsd32_lchflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */
#define netbsd32_SYS_netbsd32_lchflags 304
/* syscall: "issetugid" ret: "int" args: */
#define netbsd32_SYS_issetugid 305
/* syscall: "netbsd32_utrace" ret: "int" args: "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_utrace 306
#define netbsd32_SYS_MAXSYSCALL 340

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscallargs.h,v 1.21 2001/01/27 07:58:37 thorpej Exp $ */
/* $NetBSD: netbsd32_syscallargs.h,v 1.22 2001/02/02 13:03:39 mrg Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.17 2001/01/27 07:58:22 thorpej Exp
* created from NetBSD: syscalls.master,v 1.18 2001/02/02 13:01:44 mrg Exp
*/
#ifndef _netbsd32_SYS__SYSCALLARGS_H_
@ -1199,6 +1199,17 @@ struct netbsd32___shmctl13_args {
syscallarg(netbsd32_shmid_dsp_t) buf;
};
struct netbsd32_lchflags_args {
syscallarg(const netbsd32_charp) path;
syscallarg(netbsd32_u_long) flags;
};
struct netbsd32_utrace_args {
syscallarg(const netbsd32_charp) label;
syscallarg(netbsd32_voidp) addr;
syscallarg(netbsd32_size_t) len;
};
/*
* System call prototypes.
*/
@ -1502,4 +1513,7 @@ int netbsd32___msgctl13(struct proc *, void *, register_t *);
int netbsd32___shmctl13(struct proc *, void *, register_t *);
#else
#endif
int netbsd32_lchflags(struct proc *, void *, register_t *);
int sys_issetugid(struct proc *, void *, register_t *);
int netbsd32_utrace(struct proc *, void *, register_t *);
#endif /* _netbsd32_SYS__SYSCALLARGS_H_ */

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscalls.c,v 1.21 2001/01/27 07:58:37 thorpej Exp $ */
/* $NetBSD: netbsd32_syscalls.c,v 1.22 2001/02/02 13:03:40 mrg Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.17 2001/01/27 07:58:22 thorpej Exp
* created from NetBSD: syscalls.master,v 1.18 2001/02/02 13:01:44 mrg Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -430,4 +430,40 @@ const char *const netbsd32_syscallnames[] = {
#else
"#303 (excluded __shmctl13)", /* 303 = excluded __shmctl13 */
#endif
"netbsd32_lchflags", /* 304 = netbsd32_lchflags */
"issetugid", /* 305 = issetugid */
"netbsd32_utrace", /* 306 = netbsd32_utrace */
"#307 (unimplemented)", /* 307 = unimplemented */
"#308 (unimplemented)", /* 308 = unimplemented */
"#309 (unimplemented)", /* 309 = unimplemented */
"#310 (unimplemented)", /* 310 = unimplemented */
"#311 (unimplemented)", /* 311 = unimplemented */
"#312 (unimplemented)", /* 312 = unimplemented */
"#313 (unimplemented)", /* 313 = unimplemented */
"#314 (unimplemented)", /* 314 = unimplemented */
"#315 (unimplemented)", /* 315 = unimplemented */
"#316 (unimplemented)", /* 316 = unimplemented */
"#317 (unimplemented)", /* 317 = unimplemented */
"#318 (unimplemented)", /* 318 = unimplemented */
"#319 (unimplemented)", /* 319 = unimplemented */
"#320 (unimplemented)", /* 320 = unimplemented */
"#321 (unimplemented)", /* 321 = unimplemented */
"#322 (unimplemented)", /* 322 = unimplemented */
"#323 (unimplemented)", /* 323 = unimplemented */
"#324 (unimplemented)", /* 324 = unimplemented */
"#325 (unimplemented)", /* 325 = unimplemented */
"#326 (unimplemented)", /* 326 = unimplemented */
"#327 (unimplemented)", /* 327 = unimplemented */
"#328 (unimplemented)", /* 328 = unimplemented */
"#329 (unimplemented)", /* 329 = unimplemented */
"#330 (unimplemented)", /* 330 = unimplemented */
"#331 (unimplemented)", /* 331 = unimplemented */
"#332 (unimplemented)", /* 332 = unimplemented */
"#333 (unimplemented)", /* 333 = unimplemented */
"#334 (unimplemented)", /* 334 = unimplemented */
"#335 (unimplemented)", /* 335 = unimplemented */
"#336 (unimplemented)", /* 336 = unimplemented */
"#337 (unimplemented)", /* 337 = unimplemented */
"#338 (unimplemented)", /* 338 = unimplemented */
"#339 (unimplemented)", /* 339 = unimplemented */
};

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_sysent.c,v 1.20 2001/01/27 07:58:37 thorpej Exp $ */
/* $NetBSD: netbsd32_sysent.c,v 1.21 2001/02/02 13:03:40 mrg Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.17 2001/01/27 07:58:22 thorpej Exp
* created from NetBSD: syscalls.master,v 1.18 2001/02/02 13:01:44 mrg Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -817,5 +817,77 @@ struct sysent netbsd32_sysent[] = {
{ 0, 0, 0,
sys_nosys }, /* 303 = excluded __shmctl13 */
#endif
{ 2, s(struct netbsd32_lchflags_args), 0,
netbsd32_lchflags }, /* 304 = netbsd32_lchflags */
{ 0, 0, 0,
sys_issetugid }, /* 305 = issetugid */
{ 3, s(struct netbsd32_utrace_args), 0,
netbsd32_utrace }, /* 306 = netbsd32_utrace */
{ 0, 0, 0,
sys_nosys }, /* 307 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 308 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 309 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 310 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 311 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 312 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 313 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 314 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 315 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 316 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 317 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 318 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 319 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 320 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 321 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 322 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 323 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 324 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 325 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 326 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 327 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 328 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 329 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 330 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 331 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 332 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 333 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 334 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 335 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 336 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 337 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 338 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 339 = unimplemented */
};