Regen for extended attribute system calls.

This commit is contained in:
thorpej 2005-01-02 17:47:29 +00:00
parent aee687701e
commit 4dfb0d5670
4 changed files with 210 additions and 37 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.159 2004/05/10 22:30:41 kleink Exp $ */
/* $NetBSD: init_sysent.c,v 1.160 2005/01/02 17:47:30 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.142 2004/05/10 22:28:24 kleink Exp
* created from NetBSD: syscalls.master,v 1.143 2005/01/02 16:08:29 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.159 2004/05/10 22:30:41 kleink Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.160 2005/01/02 17:47:30 thorpej Exp $");
#include "opt_ktrace.h"
#include "opt_nfsserver.h"
@ -964,32 +964,32 @@ struct sysent sysent[] = {
sys_fstatvfs1 }, /* 358 = fstatvfs1 */
{ 3, s(struct sys_fhstatvfs1_args), 0,
sys_fhstatvfs1 }, /* 359 = fhstatvfs1 */
{ 0, 0, 0,
sys_nosys }, /* 360 = filler */
{ 0, 0, 0,
sys_nosys }, /* 361 = filler */
{ 0, 0, 0,
sys_nosys }, /* 362 = filler */
{ 0, 0, 0,
sys_nosys }, /* 363 = filler */
{ 0, 0, 0,
sys_nosys }, /* 364 = filler */
{ 0, 0, 0,
sys_nosys }, /* 365 = filler */
{ 0, 0, 0,
sys_nosys }, /* 366 = filler */
{ 0, 0, 0,
sys_nosys }, /* 367 = filler */
{ 0, 0, 0,
sys_nosys }, /* 368 = filler */
{ 0, 0, 0,
sys_nosys }, /* 369 = filler */
{ 0, 0, 0,
sys_nosys }, /* 370 = filler */
{ 0, 0, 0,
sys_nosys }, /* 371 = filler */
{ 0, 0, 0,
sys_nosys }, /* 372 = filler */
{ 5, s(struct sys_extattrctl_args), 0,
sys_extattrctl }, /* 360 = extattrctl */
{ 5, s(struct sys_extattr_set_file_args), 0,
sys_extattr_set_file }, /* 361 = extattr_set_file */
{ 5, s(struct sys_extattr_get_file_args), 0,
sys_extattr_get_file }, /* 362 = extattr_get_file */
{ 3, s(struct sys_extattr_delete_file_args), 0,
sys_extattr_delete_file }, /* 363 = extattr_delete_file */
{ 5, s(struct sys_extattr_set_fd_args), 0,
sys_extattr_set_fd }, /* 364 = extattr_set_fd */
{ 5, s(struct sys_extattr_get_fd_args), 0,
sys_extattr_get_fd }, /* 365 = extattr_get_fd */
{ 3, s(struct sys_extattr_delete_fd_args), 0,
sys_extattr_delete_fd }, /* 366 = extattr_delete_fd */
{ 5, s(struct sys_extattr_set_link_args), 0,
sys_extattr_set_link }, /* 367 = extattr_set_link */
{ 5, s(struct sys_extattr_get_link_args), 0,
sys_extattr_get_link }, /* 368 = extattr_get_link */
{ 3, s(struct sys_extattr_delete_link_args), 0,
sys_extattr_delete_link }, /* 369 = extattr_delete_link */
{ 4, s(struct sys_extattr_list_fd_args), 0,
sys_extattr_list_fd }, /* 370 = extattr_list_fd */
{ 4, s(struct sys_extattr_list_file_args), 0,
sys_extattr_list_file }, /* 371 = extattr_list_file */
{ 4, s(struct sys_extattr_list_link_args), 0,
sys_extattr_list_link }, /* 372 = extattr_list_link */
{ 0, 0, 0,
sys_nosys }, /* 373 = filler */
{ 0, 0, 0,

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.154 2004/05/10 22:30:41 kleink Exp $ */
/* $NetBSD: syscalls.c,v 1.155 2005/01/02 17:47:30 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.142 2004/05/10 22:28:24 kleink Exp
* created from NetBSD: syscalls.master,v 1.143 2005/01/02 16:08:29 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.154 2004/05/10 22:30:41 kleink Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.155 2005/01/02 17:47:30 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -495,4 +495,17 @@ const char *const syscallnames[] = {
"statvfs1", /* 357 = statvfs1 */
"fstatvfs1", /* 358 = fstatvfs1 */
"fhstatvfs1", /* 359 = fhstatvfs1 */
"extattrctl", /* 360 = extattrctl */
"extattr_set_file", /* 361 = extattr_set_file */
"extattr_get_file", /* 362 = extattr_get_file */
"extattr_delete_file", /* 363 = extattr_delete_file */
"extattr_set_fd", /* 364 = extattr_set_fd */
"extattr_get_fd", /* 365 = extattr_get_fd */
"extattr_delete_fd", /* 366 = extattr_delete_fd */
"extattr_set_link", /* 367 = extattr_set_link */
"extattr_get_link", /* 368 = extattr_get_link */
"extattr_delete_link", /* 369 = extattr_delete_link */
"extattr_list_fd", /* 370 = extattr_list_fd */
"extattr_list_file", /* 371 = extattr_list_file */
"extattr_list_link", /* 372 = extattr_list_link */
};

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.152 2004/05/10 22:30:42 kleink Exp $ */
/* $NetBSD: syscall.h,v 1.153 2005/01/02 17:47:29 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.142 2004/05/10 22:28:24 kleink Exp
* created from NetBSD: syscalls.master,v 1.143 2005/01/02 16:08:29 thorpej Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -980,5 +980,44 @@
/* syscall: "fhstatvfs1" ret: "int" args: "const fhandle_t *" "struct statvfs *" "int" */
#define SYS_fhstatvfs1 359
#define SYS_MAXSYSCALL 360
/* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */
#define SYS_extattrctl 360
/* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
#define SYS_extattr_set_file 361
/* syscall: "extattr_get_file" ret: "int" args: "const char *" "int" "const char *" "void *" "size_t" */
#define SYS_extattr_get_file 362
/* syscall: "extattr_delete_file" ret: "int" args: "const char *" "int" "const char *" */
#define SYS_extattr_delete_file 363
/* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "const void *" "size_t" */
#define SYS_extattr_set_fd 364
/* syscall: "extattr_get_fd" ret: "int" args: "int" "int" "const char *" "void *" "size_t" */
#define SYS_extattr_get_fd 365
/* syscall: "extattr_delete_fd" ret: "int" args: "int" "int" "const char *" */
#define SYS_extattr_delete_fd 366
/* syscall: "extattr_set_link" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
#define SYS_extattr_set_link 367
/* syscall: "extattr_get_link" ret: "int" args: "const char *" "int" "const char *" "void *" "size_t" */
#define SYS_extattr_get_link 368
/* syscall: "extattr_delete_link" ret: "int" args: "const char *" "int" "const char *" */
#define SYS_extattr_delete_link 369
/* syscall: "extattr_list_fd" ret: "int" args: "int" "int" "void *" "size_t" */
#define SYS_extattr_list_fd 370
/* syscall: "extattr_list_file" ret: "int" args: "const char *" "int" "void *" "size_t" */
#define SYS_extattr_list_file 371
/* syscall: "extattr_list_link" ret: "int" args: "const char *" "int" "void *" "size_t" */
#define SYS_extattr_list_link 372
#define SYS_MAXSYSCALL 373
#define SYS_NSYSENT 512

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.134 2004/05/10 22:30:42 kleink Exp $ */
/* $NetBSD: syscallargs.h,v 1.135 2005/01/02 17:47:30 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.142 2004/05/10 22:28:24 kleink Exp
* created from NetBSD: syscalls.master,v 1.143 2005/01/02 16:08:29 thorpej Exp
*/
#ifndef _SYS__SYSCALLARGS_H_
@ -1477,6 +1477,101 @@ struct sys_fhstatvfs1_args {
syscallarg(int) flags;
};
struct sys_extattrctl_args {
syscallarg(const char *) path;
syscallarg(int) cmd;
syscallarg(const char *) filename;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
};
struct sys_extattr_set_file_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
syscallarg(const void *) data;
syscallarg(size_t) nbytes;
};
struct sys_extattr_get_file_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
syscallarg(void *) data;
syscallarg(size_t) nbytes;
};
struct sys_extattr_delete_file_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
};
struct sys_extattr_set_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
syscallarg(const void *) data;
syscallarg(size_t) nbytes;
};
struct sys_extattr_get_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
syscallarg(void *) data;
syscallarg(size_t) nbytes;
};
struct sys_extattr_delete_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
};
struct sys_extattr_set_link_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
syscallarg(const void *) data;
syscallarg(size_t) nbytes;
};
struct sys_extattr_get_link_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
syscallarg(void *) data;
syscallarg(size_t) nbytes;
};
struct sys_extattr_delete_link_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
};
struct sys_extattr_list_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(void *) data;
syscallarg(size_t) nbytes;
};
struct sys_extattr_list_file_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(void *) data;
syscallarg(size_t) nbytes;
};
struct sys_extattr_list_link_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(void *) data;
syscallarg(size_t) nbytes;
};
/*
* System call prototypes.
*/
@ -2110,4 +2205,30 @@ int sys_fstatvfs1(struct lwp *, void *, register_t *);
int sys_fhstatvfs1(struct lwp *, void *, register_t *);
int sys_extattrctl(struct lwp *, void *, register_t *);
int sys_extattr_set_file(struct lwp *, void *, register_t *);
int sys_extattr_get_file(struct lwp *, void *, register_t *);
int sys_extattr_delete_file(struct lwp *, void *, register_t *);
int sys_extattr_set_fd(struct lwp *, void *, register_t *);
int sys_extattr_get_fd(struct lwp *, void *, register_t *);
int sys_extattr_delete_fd(struct lwp *, void *, register_t *);
int sys_extattr_set_link(struct lwp *, void *, register_t *);
int sys_extattr_get_link(struct lwp *, void *, register_t *);
int sys_extattr_delete_link(struct lwp *, void *, register_t *);
int sys_extattr_list_fd(struct lwp *, void *, register_t *);
int sys_extattr_list_file(struct lwp *, void *, register_t *);
int sys_extattr_list_link(struct lwp *, void *, register_t *);
#endif /* _SYS__SYSCALLARGS_H_ */