Regen (*xattr(2)).

This commit is contained in:
cube 2005-07-12 07:46:19 +00:00
parent 728e5e01bd
commit e937141b42
4 changed files with 185 additions and 35 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscall.h,v 1.41 2005/07/11 20:18:52 cube Exp $ */
/* $NetBSD: netbsd32_syscall.h,v 1.42 2005/07/12 07:46:19 cube Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.34 2005/07/11 20:18:05 cube Exp
* created from NetBSD: syscalls.master,v 1.35 2005/07/12 07:45:34 cube Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -905,5 +905,41 @@
/* syscall: "netbsd32_pollts" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */
#define netbsd32_SYS_netbsd32_pollts 374
#define netbsd32_SYS_MAXSYSCALL 375
/* syscall: "netbsd32_setxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
#define netbsd32_SYS_netbsd32_setxattr 375
/* syscall: "netbsd32_lsetxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
#define netbsd32_SYS_netbsd32_lsetxattr 376
/* syscall: "netbsd32_fsetxattr" ret: "int" args: "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
#define netbsd32_SYS_netbsd32_fsetxattr 377
/* syscall: "netbsd32_getxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_getxattr 378
/* syscall: "netbsd32_lgetxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_lgetxattr 379
/* syscall: "netbsd32_fgetxattr" ret: "int" args: "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_fgetxattr 380
/* syscall: "netbsd32_listxattr" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_listxattr 381
/* syscall: "netbsd32_llistxattr" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_llistxattr 382
/* syscall: "netbsd32_flistxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_flistxattr 383
/* syscall: "netbsd32_removexattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_removexattr 384
/* syscall: "netbsd32_lremovexattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_lremovexattr 385
/* syscall: "netbsd32_fremovexattr" ret: "int" args: "int" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_fremovexattr 386
#define netbsd32_SYS_MAXSYSCALL 387
#define netbsd32_SYS_NSYSENT 512

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscallargs.h,v 1.41 2005/07/11 20:18:52 cube Exp $ */
/* $NetBSD: netbsd32_syscallargs.h,v 1.42 2005/07/12 07:46:19 cube Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.34 2005/07/11 20:18:05 cube Exp
* created from NetBSD: syscalls.master,v 1.35 2005/07/12 07:45:34 cube Exp
*/
#ifndef _netbsd32_SYS__SYSCALLARGS_H_
@ -1445,6 +1445,84 @@ struct netbsd32_pollts_args {
syscallarg(const netbsd32_sigsetp_t) mask;
};
struct netbsd32_setxattr_args {
syscallarg(const netbsd32_charp) path;
syscallarg(const netbsd32_charp) name;
syscallarg(netbsd32_voidp) value;
syscallarg(netbsd32_size_t) size;
syscallarg(int) flags;
};
struct netbsd32_lsetxattr_args {
syscallarg(const netbsd32_charp) path;
syscallarg(const netbsd32_charp) name;
syscallarg(netbsd32_voidp) value;
syscallarg(netbsd32_size_t) size;
syscallarg(int) flags;
};
struct netbsd32_fsetxattr_args {
syscallarg(int) fd;
syscallarg(const netbsd32_charp) name;
syscallarg(netbsd32_voidp) value;
syscallarg(netbsd32_size_t) size;
syscallarg(int) flags;
};
struct netbsd32_getxattr_args {
syscallarg(const netbsd32_charp) path;
syscallarg(const netbsd32_charp) name;
syscallarg(netbsd32_voidp) value;
syscallarg(netbsd32_size_t) size;
};
struct netbsd32_lgetxattr_args {
syscallarg(const netbsd32_charp) path;
syscallarg(const netbsd32_charp) name;
syscallarg(netbsd32_voidp) value;
syscallarg(netbsd32_size_t) size;
};
struct netbsd32_fgetxattr_args {
syscallarg(int) fd;
syscallarg(const netbsd32_charp) name;
syscallarg(netbsd32_voidp) value;
syscallarg(netbsd32_size_t) size;
};
struct netbsd32_listxattr_args {
syscallarg(const netbsd32_charp) path;
syscallarg(netbsd32_charp) list;
syscallarg(netbsd32_size_t) size;
};
struct netbsd32_llistxattr_args {
syscallarg(const netbsd32_charp) path;
syscallarg(netbsd32_charp) list;
syscallarg(netbsd32_size_t) size;
};
struct netbsd32_flistxattr_args {
syscallarg(int) fd;
syscallarg(netbsd32_charp) list;
syscallarg(netbsd32_size_t) size;
};
struct netbsd32_removexattr_args {
syscallarg(const netbsd32_charp) path;
syscallarg(const netbsd32_charp) name;
};
struct netbsd32_lremovexattr_args {
syscallarg(const netbsd32_charp) path;
syscallarg(const netbsd32_charp) name;
};
struct netbsd32_fremovexattr_args {
syscallarg(int) fd;
syscallarg(const netbsd32_charp) name;
};
/*
* System call prototypes.
*/
@ -2031,4 +2109,28 @@ int netbsd32_pselect(struct lwp *, void *, register_t *);
int netbsd32_pollts(struct lwp *, void *, register_t *);
int netbsd32_setxattr(struct lwp *, void *, register_t *);
int netbsd32_lsetxattr(struct lwp *, void *, register_t *);
int netbsd32_fsetxattr(struct lwp *, void *, register_t *);
int netbsd32_getxattr(struct lwp *, void *, register_t *);
int netbsd32_lgetxattr(struct lwp *, void *, register_t *);
int netbsd32_fgetxattr(struct lwp *, void *, register_t *);
int netbsd32_listxattr(struct lwp *, void *, register_t *);
int netbsd32_llistxattr(struct lwp *, void *, register_t *);
int netbsd32_flistxattr(struct lwp *, void *, register_t *);
int netbsd32_removexattr(struct lwp *, void *, register_t *);
int netbsd32_lremovexattr(struct lwp *, void *, register_t *);
int netbsd32_fremovexattr(struct lwp *, void *, register_t *);
#endif /* _netbsd32_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_syscalls.c,v 1.41 2005/07/11 20:18:52 cube Exp $ */
/* $NetBSD: netbsd32_syscalls.c,v 1.42 2005/07/12 07:46:19 cube Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.34 2005/07/11 20:18:05 cube Exp
* created from NetBSD: syscalls.master,v 1.35 2005/07/12 07:45:34 cube Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.41 2005/07/11 20:18:52 cube Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.42 2005/07/12 07:46:19 cube Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -501,4 +501,16 @@ const char *const netbsd32_syscallnames[] = {
"netbsd32_extattr_list_link", /* 372 = netbsd32_extattr_list_link */
"netbsd32_pselect", /* 373 = netbsd32_pselect */
"netbsd32_pollts", /* 374 = netbsd32_pollts */
"netbsd32_setxattr", /* 375 = netbsd32_setxattr */
"netbsd32_lsetxattr", /* 376 = netbsd32_lsetxattr */
"netbsd32_fsetxattr", /* 377 = netbsd32_fsetxattr */
"netbsd32_getxattr", /* 378 = netbsd32_getxattr */
"netbsd32_lgetxattr", /* 379 = netbsd32_lgetxattr */
"netbsd32_fgetxattr", /* 380 = netbsd32_fgetxattr */
"netbsd32_listxattr", /* 381 = netbsd32_listxattr */
"netbsd32_llistxattr", /* 382 = netbsd32_llistxattr */
"netbsd32_flistxattr", /* 383 = netbsd32_flistxattr */
"netbsd32_removexattr", /* 384 = netbsd32_removexattr */
"netbsd32_lremovexattr", /* 385 = netbsd32_lremovexattr */
"netbsd32_fremovexattr", /* 386 = netbsd32_fremovexattr */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_sysent.c,v 1.41 2005/07/11 20:18:52 cube Exp $ */
/* $NetBSD: netbsd32_sysent.c,v 1.42 2005/07/12 07:46:19 cube Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.34 2005/07/11 20:18:05 cube Exp
* created from NetBSD: syscalls.master,v 1.35 2005/07/12 07:45:34 cube Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.41 2005/07/11 20:18:52 cube Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.42 2005/07/12 07:46:19 cube Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -976,30 +976,30 @@ struct sysent netbsd32_sysent[] = {
netbsd32_pselect }, /* 373 = netbsd32_pselect */
{ 4, s(struct netbsd32_pollts_args), 0,
netbsd32_pollts }, /* 374 = netbsd32_pollts */
{ 0, 0, 0,
sys_nosys }, /* 375 = filler */
{ 0, 0, 0,
sys_nosys }, /* 376 = filler */
{ 0, 0, 0,
sys_nosys }, /* 377 = filler */
{ 0, 0, 0,
sys_nosys }, /* 378 = filler */
{ 0, 0, 0,
sys_nosys }, /* 379 = filler */
{ 0, 0, 0,
sys_nosys }, /* 380 = filler */
{ 0, 0, 0,
sys_nosys }, /* 381 = filler */
{ 0, 0, 0,
sys_nosys }, /* 382 = filler */
{ 0, 0, 0,
sys_nosys }, /* 383 = filler */
{ 0, 0, 0,
sys_nosys }, /* 384 = filler */
{ 0, 0, 0,
sys_nosys }, /* 385 = filler */
{ 0, 0, 0,
sys_nosys }, /* 386 = filler */
{ 5, s(struct netbsd32_setxattr_args), 0,
netbsd32_setxattr }, /* 375 = netbsd32_setxattr */
{ 5, s(struct netbsd32_lsetxattr_args), 0,
netbsd32_lsetxattr }, /* 376 = netbsd32_lsetxattr */
{ 5, s(struct netbsd32_fsetxattr_args), 0,
netbsd32_fsetxattr }, /* 377 = netbsd32_fsetxattr */
{ 4, s(struct netbsd32_getxattr_args), 0,
netbsd32_getxattr }, /* 378 = netbsd32_getxattr */
{ 4, s(struct netbsd32_lgetxattr_args), 0,
netbsd32_lgetxattr }, /* 379 = netbsd32_lgetxattr */
{ 4, s(struct netbsd32_fgetxattr_args), 0,
netbsd32_fgetxattr }, /* 380 = netbsd32_fgetxattr */
{ 3, s(struct netbsd32_listxattr_args), 0,
netbsd32_listxattr }, /* 381 = netbsd32_listxattr */
{ 3, s(struct netbsd32_llistxattr_args), 0,
netbsd32_llistxattr }, /* 382 = netbsd32_llistxattr */
{ 3, s(struct netbsd32_flistxattr_args), 0,
netbsd32_flistxattr }, /* 383 = netbsd32_flistxattr */
{ 2, s(struct netbsd32_removexattr_args), 0,
netbsd32_removexattr }, /* 384 = netbsd32_removexattr */
{ 2, s(struct netbsd32_lremovexattr_args), 0,
netbsd32_lremovexattr }, /* 385 = netbsd32_lremovexattr */
{ 2, s(struct netbsd32_fremovexattr_args), 0,
netbsd32_fremovexattr }, /* 386 = netbsd32_fremovexattr */
{ 0, 0, 0,
sys_nosys }, /* 387 = filler */
{ 0, 0, 0,