diff options
| author | Ken Smith <kensmith@FreeBSD.org> | 2005-01-14 00:09:55 +0000 |
|---|---|---|
| committer | Ken Smith <kensmith@FreeBSD.org> | 2005-01-14 00:09:55 +0000 |
| commit | 7207f983383a72b3e95dcf31579cadbf437b4f00 (patch) | |
| tree | f1dcb3ba2a40ad5bb040c89dd1ab5101a46377a1 | |
| parent | 01ca612ace5f76c6e7eb834efd44e10cc6f0ab9c (diff) | |
Notes
| -rw-r--r-- | sys/i386/linux/linux_proto.h | 54 | ||||
| -rw-r--r-- | sys/i386/linux/linux_syscall.h | 18 | ||||
| -rw-r--r-- | sys/i386/linux/linux_sysent.c | 48 |
3 files changed, 116 insertions, 4 deletions
diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index 2b394c442036..1d906d0f463d 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.30.2.7 2001/11/05 19:08:23 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.30.2.8.8.1 2005/01/14 00:07:56 kensmith Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -630,6 +630,45 @@ struct linux_fcntl64_args { l_uint cmd; char cmd_[PAD_(l_uint)]; l_ulong arg; char arg_[PAD_(l_ulong)]; }; +struct linux_setxattr_args { + register_t dummy; +}; +struct linux_lsetxattr_args { + register_t dummy; +}; +struct linux_fsetxattr_args { + register_t dummy; +}; +struct linux_getxattr_args { + register_t dummy; +}; +struct linux_lgetxattr_args { + register_t dummy; +}; +struct linux_fgetxattr_args { + register_t dummy; +}; +struct linux_listxattr_args { + register_t dummy; +}; +struct linux_llistxattr_args { + register_t dummy; +}; +struct linux_flistxattr_args { + register_t dummy; +}; +struct linux_removexattr_args { + register_t dummy; +}; +struct linux_lremovexattr_args { + register_t dummy; +}; +struct linux_fremovexattr_args { + register_t dummy; +}; +struct linux_fadvise64_args { + register_t dummy; +}; int linux_fork __P((struct proc *, struct linux_fork_args *)); int linux_open __P((struct proc *, struct linux_open_args *)); int linux_waitpid __P((struct proc *, struct linux_waitpid_args *)); @@ -783,6 +822,19 @@ int linux_mincore __P((struct proc *, struct linux_mincore_args *)); int linux_madvise __P((struct proc *, struct linux_madvise_args *)); int linux_getdents64 __P((struct proc *, struct linux_getdents64_args *)); int linux_fcntl64 __P((struct proc *, struct linux_fcntl64_args *)); +int linux_setxattr __P((struct proc *, struct linux_setxattr_args *)); +int linux_lsetxattr __P((struct proc *, struct linux_lsetxattr_args *)); +int linux_fsetxattr __P((struct proc *, struct linux_fsetxattr_args *)); +int linux_getxattr __P((struct proc *, struct linux_getxattr_args *)); +int linux_lgetxattr __P((struct proc *, struct linux_lgetxattr_args *)); +int linux_fgetxattr __P((struct proc *, struct linux_fgetxattr_args *)); +int linux_listxattr __P((struct proc *, struct linux_listxattr_args *)); +int linux_llistxattr __P((struct proc *, struct linux_llistxattr_args *)); +int linux_flistxattr __P((struct proc *, struct linux_flistxattr_args *)); +int linux_removexattr __P((struct proc *, struct linux_removexattr_args *)); +int linux_lremovexattr __P((struct proc *, struct linux_lremovexattr_args *)); +int linux_fremovexattr __P((struct proc *, struct linux_fremovexattr_args *)); +int linux_fadvise64 __P((struct proc *, struct linux_fadvise64_args *)); #ifdef COMPAT_43 diff --git a/sys/i386/linux/linux_syscall.h b/sys/i386/linux/linux_syscall.h index a14c77270623..6fa3b3c9cab8 100644 --- a/sys/i386/linux/linux_syscall.h +++ b/sys/i386/linux/linux_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.30.2.7 2001/11/05 19:08:23 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.30.2.8.8.1 2005/01/14 00:07:56 kensmith Exp */ #define LINUX_SYS_exit 1 @@ -213,4 +213,18 @@ #define LINUX_SYS_linux_madvise 219 #define LINUX_SYS_linux_getdents64 220 #define LINUX_SYS_linux_fcntl64 221 -#define LINUX_SYS_MAXSYSCALL 222 +#define LINUX_SYS_linux_setxattr 226 +#define LINUX_SYS_linux_lsetxattr 227 +#define LINUX_SYS_linux_fsetxattr 228 +#define LINUX_SYS_linux_getxattr 229 +#define LINUX_SYS_linux_lgetxattr 230 +#define LINUX_SYS_linux_fgetxattr 231 +#define LINUX_SYS_linux_listxattr 232 +#define LINUX_SYS_linux_llistxattr 233 +#define LINUX_SYS_linux_flistxattr 234 +#define LINUX_SYS_linux_removexattr 235 +#define LINUX_SYS_linux_lremovexattr 236 +#define LINUX_SYS_linux_fremovexattr 237 +#define LINUX_SYS_linux_fadvise64 250 +#define LINUX_SYS_exit_group 252 +#define LINUX_SYS_MAXSYSCALL 268 diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c index 7799c8f66601..36f350be2d78 100644 --- a/sys/i386/linux/linux_sysent.c +++ b/sys/i386/linux/linux_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.30.2.7 2001/11/05 19:08:23 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.30.2.8.8.1 2005/01/14 00:07:56 kensmith Exp */ #include "opt_compat.h" @@ -239,4 +239,50 @@ struct sysent linux_sysent[] = { { 0, (sy_call_t *)linux_madvise }, /* 219 = linux_madvise */ { AS(linux_getdents64_args), (sy_call_t *)linux_getdents64 }, /* 220 = linux_getdents64 */ { AS(linux_fcntl64_args), (sy_call_t *)linux_fcntl64 }, /* 221 = linux_fcntl64 */ + { 0, (sy_call_t *)nosys }, /* 222 = */ + { 0, (sy_call_t *)nosys }, /* 223 = */ + { 0, (sy_call_t *)nosys }, /* 224 = linux_gettid */ + { 0, (sy_call_t *)nosys }, /* 225 = linux_readahead */ + { 0, (sy_call_t *)linux_setxattr }, /* 226 = linux_setxattr */ + { 0, (sy_call_t *)linux_lsetxattr }, /* 227 = linux_lsetxattr */ + { 0, (sy_call_t *)linux_fsetxattr }, /* 228 = linux_fsetxattr */ + { 0, (sy_call_t *)linux_getxattr }, /* 229 = linux_getxattr */ + { 0, (sy_call_t *)linux_lgetxattr }, /* 230 = linux_lgetxattr */ + { 0, (sy_call_t *)linux_fgetxattr }, /* 231 = linux_fgetxattr */ + { 0, (sy_call_t *)linux_listxattr }, /* 232 = linux_listxattr */ + { 0, (sy_call_t *)linux_llistxattr }, /* 233 = linux_llistxattr */ + { 0, (sy_call_t *)linux_flistxattr }, /* 234 = linux_flistxattr */ + { 0, (sy_call_t *)linux_removexattr }, /* 235 = linux_removexattr */ + { 0, (sy_call_t *)linux_lremovexattr }, /* 236 = linux_lremovexattr */ + { 0, (sy_call_t *)linux_fremovexattr }, /* 237 = linux_fremovexattr */ + { 0, (sy_call_t *)nosys }, /* 238 = linux_tkill */ + { 0, (sy_call_t *)nosys }, /* 239 = linux_sendfile64 */ + { 0, (sy_call_t *)nosys }, /* 240 = linux_futex */ + { 0, (sy_call_t *)nosys }, /* 241 = linux_sched_setaffinity */ + { 0, (sy_call_t *)nosys }, /* 242 = linux_sched_getaffinity */ + { 0, (sy_call_t *)nosys }, /* 243 = linux_set_thread_area */ + { 0, (sy_call_t *)nosys }, /* 244 = linux_get_thread_area */ + { 0, (sy_call_t *)nosys }, /* 245 = linux_io_setup */ + { 0, (sy_call_t *)nosys }, /* 246 = linux_io_destroy */ + { 0, (sy_call_t *)nosys }, /* 247 = linux_io_getevents */ + { 0, (sy_call_t *)nosys }, /* 248 = linux_io_submit */ + { 0, (sy_call_t *)nosys }, /* 249 = linux_io_cancel */ + { 0, (sy_call_t *)linux_fadvise64 }, /* 250 = linux_fadvise64 */ + { 0, (sy_call_t *)nosys }, /* 251 = */ + { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 252 = exit_group */ + { 0, (sy_call_t *)nosys }, /* 253 = linux_lookup_dcookie */ + { 0, (sy_call_t *)nosys }, /* 254 = linux_epoll_create */ + { 0, (sy_call_t *)nosys }, /* 255 = linux_epoll_ctl */ + { 0, (sy_call_t *)nosys }, /* 256 = linux_epoll_wait */ + { 0, (sy_call_t *)nosys }, /* 257 = linux_remap_file_pages */ + { 0, (sy_call_t *)nosys }, /* 258 = linux_set_tid_address */ + { 0, (sy_call_t *)nosys }, /* 259 = linux_timer_create */ + { 0, (sy_call_t *)nosys }, /* 260 = linux_timer_settime */ + { 0, (sy_call_t *)nosys }, /* 261 = linux_timer_gettime */ + { 0, (sy_call_t *)nosys }, /* 262 = linux_timer_getoverrun */ + { 0, (sy_call_t *)nosys }, /* 263 = linux_timer_delete */ + { 0, (sy_call_t *)nosys }, /* 264 = linux_clock_settime */ + { 0, (sy_call_t *)nosys }, /* 265 = linux_clock_gettime */ + { 0, (sy_call_t *)nosys }, /* 266 = linux_clock_getres */ + { 0, (sy_call_t *)nosys }, /* 267 = linux_clock_nanosleep */ }; |
