Subject: kern/1657: incomplett diff in kern/1643
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 10/20/1995 14:10:16
>Number: 1657
>Category: kern
>Synopsis: incomplett diff in kern/1643
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 20 09:35:00 1995
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current source 18-Oct-95
>Environment:
System: NetBSD arresum 1.0A NetBSD 1.0A (VEEGO) #265: Sun Oct 15 13:57:40 MET 1995 bernd@arresum:/src/sys/arch/amiga/compile/VEEGO amiga
>Description:
kern/1643 is incomplette
>How-To-Repeat:
>Fix:
use this diff:
*** syscalls.master-orig Sat Oct 14 03:31:45 1995
--- syscalls.master Thu Oct 19 19:10:05 1995
***************
*** 99,105 ****
37 NOARGS { int sys_kill(int pid, int signum); }
38 STD { int compat_43_freebsd_sys_stat(char *path, \
struct ostat *ub); } ostat
! 39 NOARGS { pid_t getppid(void); }
40 STD { int compat_43_freebsd_sys_lstat(char *path, \
struct ostat *ub); } olstat
41 NOARGS { int sys_dup(u_int fd); }
--- 99,105 ----
37 NOARGS { int sys_kill(int pid, int signum); }
38 STD { int compat_43_freebsd_sys_stat(char *path, \
struct ostat *ub); } ostat
! 39 NOARGS { pid_t sys_getppid(void); }
40 STD { int compat_43_freebsd_sys_lstat(char *path, \
struct ostat *ub); } olstat
41 NOARGS { int sys_dup(u_int fd); }
*** freebsd_sysent.c-orig Sat Oct 14 03:31:40 1995
--- freebsd_sysent.c Thu Oct 19 19:12:52 1995
***************
*** 95,101 ****
{ 2, s(struct compat_43_freebsd_sys_stat_args),
compat_43_freebsd_sys_stat }, /* 38 = ostat */
{ 0, 0,
! getppid }, /* 39 = getppid */
{ 2, s(struct compat_43_freebsd_sys_lstat_args),
compat_43_freebsd_sys_lstat }, /* 40 = olstat */
{ 1, s(struct sys_dup_args),
--- 95,101 ----
{ 2, s(struct compat_43_freebsd_sys_stat_args),
compat_43_freebsd_sys_stat }, /* 38 = ostat */
{ 0, 0,
! sys_getppid }, /* 39 = getppid */
{ 2, s(struct compat_43_freebsd_sys_lstat_args),
compat_43_freebsd_sys_lstat }, /* 40 = olstat */
{ 1, s(struct sys_dup_args),
*** freebsd_syscallargs.h-orig Sat Oct 14 03:31:37 1995
--- freebsd_syscallargs.h Thu Oct 19 19:14:03 1995
***************
*** 239,245 ****
int sys_sync __P((struct proc *, void *, register_t *));
int sys_kill __P((struct proc *, void *, register_t *));
int compat_43_freebsd_sys_stat __P((struct proc *, void *, register_t *));
! int getppid __P((struct proc *, void *, register_t *));
int compat_43_freebsd_sys_lstat __P((struct proc *, void *, register_t *));
int sys_dup __P((struct proc *, void *, register_t *));
int sys_pipe __P((struct proc *, void *, register_t *));
--- 239,245 ----
int sys_sync __P((struct proc *, void *, register_t *));
int sys_kill __P((struct proc *, void *, register_t *));
int compat_43_freebsd_sys_stat __P((struct proc *, void *, register_t *));
! int sys_getppid __P((struct proc *, void *, register_t *));
int compat_43_freebsd_sys_lstat __P((struct proc *, void *, register_t *));
int sys_dup __P((struct proc *, void *, register_t *));
int sys_pipe __P((struct proc *, void *, register_t *));
>Audit-Trail:
>Unformatted: