Add posix_rename() syscall: regen.

This commit is contained in:
kleink 1997-05-18 20:07:27 +00:00
parent d3aadd8976
commit 2509589972
4 changed files with 104 additions and 5 deletions

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.47 1997/01/31 02:34:53 thorpej Exp
* created from NetBSD: syscalls.master,v 1.49 1997/05/18 19:56:48 kleink Exp
*/
#include <sys/param.h>
@ -628,5 +628,65 @@ struct sysent sysent[] = {
sys_nosys }, /* 239 = unimplemented timer_getoverrun */
{ 2, s(struct sys_nanosleep_args),
sys_nanosleep }, /* 240 = nanosleep */
{ 0, 0,
sys_nosys }, /* 241 = unimplemented */
{ 0, 0,
sys_nosys }, /* 242 = unimplemented */
{ 0, 0,
sys_nosys }, /* 243 = unimplemented */
{ 0, 0,
sys_nosys }, /* 244 = unimplemented */
{ 0, 0,
sys_nosys }, /* 245 = unimplemented */
{ 0, 0,
sys_nosys }, /* 246 = unimplemented */
{ 0, 0,
sys_nosys }, /* 247 = unimplemented */
{ 0, 0,
sys_nosys }, /* 248 = unimplemented */
{ 0, 0,
sys_nosys }, /* 249 = unimplemented */
{ 0, 0,
sys_nosys }, /* 250 = unimplemented */
{ 0, 0,
sys_nosys }, /* 251 = unimplemented */
{ 0, 0,
sys_nosys }, /* 252 = unimplemented */
{ 0, 0,
sys_nosys }, /* 253 = unimplemented */
{ 0, 0,
sys_nosys }, /* 254 = unimplemented */
{ 0, 0,
sys_nosys }, /* 255 = unimplemented */
{ 0, 0,
sys_nosys }, /* 256 = unimplemented */
{ 0, 0,
sys_nosys }, /* 257 = unimplemented */
{ 0, 0,
sys_nosys }, /* 258 = unimplemented */
{ 0, 0,
sys_nosys }, /* 259 = unimplemented */
{ 0, 0,
sys_nosys }, /* 260 = unimplemented */
{ 0, 0,
sys_nosys }, /* 261 = unimplemented */
{ 0, 0,
sys_nosys }, /* 262 = unimplemented */
{ 0, 0,
sys_nosys }, /* 263 = unimplemented */
{ 0, 0,
sys_nosys }, /* 264 = unimplemented */
{ 0, 0,
sys_nosys }, /* 265 = unimplemented */
{ 0, 0,
sys_nosys }, /* 266 = unimplemented */
{ 0, 0,
sys_nosys }, /* 267 = unimplemented */
{ 0, 0,
sys_nosys }, /* 268 = unimplemented */
{ 0, 0,
sys_nosys }, /* 269 = unimplemented */
{ 2, s(struct sys_posix_rename_args),
sys_posix_rename }, /* 270 = posix_rename */
};

View File

@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.47 1997/01/31 02:34:53 thorpej Exp
* created from NetBSD: syscalls.master,v 1.49 1997/05/18 19:56:48 kleink Exp
*/
char *syscallnames[] = {
@ -316,4 +316,34 @@ char *syscallnames[] = {
"#238 (unimplemented timer_gettime)", /* 238 = unimplemented timer_gettime */
"#239 (unimplemented timer_getoverrun)", /* 239 = unimplemented timer_getoverrun */
"nanosleep", /* 240 = nanosleep */
"#241 (unimplemented)", /* 241 = unimplemented */
"#242 (unimplemented)", /* 242 = unimplemented */
"#243 (unimplemented)", /* 243 = unimplemented */
"#244 (unimplemented)", /* 244 = unimplemented */
"#245 (unimplemented)", /* 245 = unimplemented */
"#246 (unimplemented)", /* 246 = unimplemented */
"#247 (unimplemented)", /* 247 = unimplemented */
"#248 (unimplemented)", /* 248 = unimplemented */
"#249 (unimplemented)", /* 249 = unimplemented */
"#250 (unimplemented)", /* 250 = unimplemented */
"#251 (unimplemented)", /* 251 = unimplemented */
"#252 (unimplemented)", /* 252 = unimplemented */
"#253 (unimplemented)", /* 253 = unimplemented */
"#254 (unimplemented)", /* 254 = unimplemented */
"#255 (unimplemented)", /* 255 = unimplemented */
"#256 (unimplemented)", /* 256 = unimplemented */
"#257 (unimplemented)", /* 257 = unimplemented */
"#258 (unimplemented)", /* 258 = unimplemented */
"#259 (unimplemented)", /* 259 = unimplemented */
"#260 (unimplemented)", /* 260 = unimplemented */
"#261 (unimplemented)", /* 261 = unimplemented */
"#262 (unimplemented)", /* 262 = unimplemented */
"#263 (unimplemented)", /* 263 = unimplemented */
"#264 (unimplemented)", /* 264 = unimplemented */
"#265 (unimplemented)", /* 265 = unimplemented */
"#266 (unimplemented)", /* 266 = unimplemented */
"#267 (unimplemented)", /* 267 = unimplemented */
"#268 (unimplemented)", /* 268 = unimplemented */
"#269 (unimplemented)", /* 269 = unimplemented */
"posix_rename", /* 270 = posix_rename */
};

View File

@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.47 1997/01/31 02:34:53 thorpej Exp
* created from NetBSD: syscalls.master,v 1.49 1997/05/18 19:56:48 kleink Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -571,4 +571,7 @@
/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
#define SYS_nanosleep 240
#define SYS_MAXSYSCALL 241
/* syscall: "posix_rename" ret: "int" args: "const char *" "const char *" */
#define SYS_posix_rename 270
#define SYS_MAXSYSCALL 271

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.47 1997/01/31 02:34:53 thorpej Exp
* created from NetBSD: syscalls.master,v 1.49 1997/05/18 19:56:48 kleink Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@ -988,6 +988,11 @@ struct sys_nanosleep_args {
syscallarg(struct timespec *) rmtp;
};
struct sys_posix_rename_args {
syscallarg(const char *) from;
syscallarg(const char *) to;
};
/*
* System call prototypes.
*/
@ -1235,3 +1240,4 @@ int sys_clock_gettime __P((struct proc *, void *, register_t *));
int sys_clock_settime __P((struct proc *, void *, register_t *));
int sys_clock_getres __P((struct proc *, void *, register_t *));
int sys_nanosleep __P((struct proc *, void *, register_t *));
int sys_posix_rename __P((struct proc *, void *, register_t *));