diff --git a/sys/compat/linux/arch/m68k/linux_syscall.h b/sys/compat/linux/arch/m68k/linux_syscall.h index 80c55e7a9391..95f545982083 100644 --- a/sys/compat/linux/arch/m68k/linux_syscall.h +++ b/sys/compat/linux/arch/m68k/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.26 2000/12/18 14:37:36 fvdl Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.27 2000/12/26 01:57:57 itohy Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp + * created from NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -453,8 +453,8 @@ /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */ #define LINUX_SYS_pwrite 181 -/* syscall: "lchown" ret: "int" args: "const char *" "int" "int" */ -#define LINUX_SYS_lchown 182 +/* syscall: "lchown16" ret: "int" args: "const char *" "int" "int" */ +#define LINUX_SYS_lchown16 182 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */ #define LINUX_SYS___getcwd 183 diff --git a/sys/compat/linux/arch/m68k/linux_syscallargs.h b/sys/compat/linux/arch/m68k/linux_syscallargs.h index 11493dc82a18..0c1c9bbcea26 100644 --- a/sys/compat/linux/arch/m68k/linux_syscallargs.h +++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.26 2000/12/18 14:37:36 fvdl Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.27 2000/12/26 01:57:57 itohy Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp + * created from NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp */ #ifndef _LINUX_SYS__SYSCALLARGS_H_ @@ -142,6 +142,10 @@ struct linux_sys_brk_args { syscallarg(char *) nsize; }; +struct linux_sys_setgid16_args { + syscallarg(gid_t) gid; +}; + struct linux_sys_signal_args { syscallarg(int) signum; syscallarg(linux_handler_t) handler; @@ -471,7 +475,7 @@ struct linux_sys_pwrite_args { syscallarg(linux_off_t) offset; }; -struct linux_sys_lchown_args { +struct linux_sys_lchown16_args { syscallarg(const char *) path; syscallarg(int) uid; syscallarg(int) gid; @@ -663,7 +667,7 @@ int linux_sys_rt_queueinfo(struct proc *, void *, register_t *); int linux_sys_rt_sigsuspend(struct proc *, void *, register_t *); int linux_sys_pread(struct proc *, void *, register_t *); int linux_sys_pwrite(struct proc *, void *, register_t *); -int linux_sys_lchown(struct proc *, void *, register_t *); +int linux_sys_lchown16(struct proc *, void *, register_t *); int sys___getcwd(struct proc *, void *, register_t *); int linux_sys_sigaltstack(struct proc *, void *, register_t *); int sys___vfork14(struct proc *, void *, register_t *); diff --git a/sys/compat/linux/arch/m68k/linux_syscalls.c b/sys/compat/linux/arch/m68k/linux_syscalls.c index 7f3fd940f990..59de76e20635 100644 --- a/sys/compat/linux/arch/m68k/linux_syscalls.c +++ b/sys/compat/linux/arch/m68k/linux_syscalls.c @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscalls.c,v 1.27 2000/12/18 14:37:36 fvdl Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.28 2000/12/26 01:57:57 itohy Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp + * created from NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp */ #if defined(_KERNEL) && !defined(_LKM) @@ -226,7 +226,7 @@ const char *const linux_syscallnames[] = { "rt_sigsuspend", /* 179 = rt_sigsuspend */ "pread", /* 180 = pread */ "pwrite", /* 181 = pwrite */ - "lchown", /* 182 = lchown */ + "lchown16", /* 182 = lchown16 */ "__getcwd", /* 183 = __getcwd */ "#184 (unimplemented capget)", /* 184 = unimplemented capget */ "#185 (unimplemented capset)", /* 185 = unimplemented capset */ diff --git a/sys/compat/linux/arch/m68k/linux_sysent.c b/sys/compat/linux/arch/m68k/linux_sysent.c index 68cd129449df..026cf671a43f 100644 --- a/sys/compat/linux/arch/m68k/linux_sysent.c +++ b/sys/compat/linux/arch/m68k/linux_sysent.c @@ -1,10 +1,10 @@ -/* $NetBSD: linux_sysent.c,v 1.26 2000/12/18 14:37:36 fvdl Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.27 2000/12/26 01:57:57 itohy Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp + * created from NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp */ #if defined(_KERNEL) && !defined(_LKM) @@ -414,8 +414,8 @@ struct sysent linux_sysent[] = { linux_sys_pread }, /* 180 = pread */ { 4, s(struct linux_sys_pwrite_args), linux_sys_pwrite }, /* 181 = pwrite */ - { 3, s(struct linux_sys_lchown_args), - linux_sys_lchown }, /* 182 = lchown */ + { 3, s(struct linux_sys_lchown16_args), + linux_sys_lchown16 }, /* 182 = lchown16 */ { 2, s(struct sys___getcwd_args), sys___getcwd }, /* 183 = __getcwd */ { 0, 0,