From owner-freebsd-bugs Thu Jan 30 18:40:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA24626 for bugs-outgoing; Thu, 30 Jan 1997 18:40:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA24605; Thu, 30 Jan 1997 18:40:04 -0800 (PST) Resent-Date: Thu, 30 Jan 1997 18:40:04 -0800 (PST) Resent-Message-Id: <199701310240.SAA24605@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, ghelmer Received: (from ghelmer@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA23487; Thu, 30 Jan 1997 18:31:39 -0800 (PST) Message-Id: <199701310231.SAA23487@freefall.freebsd.org> Date: Thu, 30 Jan 1997 18:31:39 -0800 (PST) From: Guy Helmer Reply-To: ghelmer To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2624: kdump unaware of semsys and several other system calls Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2624 >Category: bin >Synopsis: kdump unaware of semsys and several other system calls >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 30 18:40:01 PST 1997 >Last-Modified: >Originator: Guy Helmer >Organization: Iowa State University Department of Computer Science >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: >Description: kdump(1) fails to recognize syssem, msgsys, shmsys, lfs, and nfs system calls >How-To-Repeat: ktrace(1) a process that uses SYSV semaphores, SYSV messages, SYSV shared memory, or lfs or nfs system calls, then use kdump(1) to output the ktrace data file; kdump(1) will not output names of semsys, msgsys, shmsys, nfssvc, getfh, or lfs_* sys calls. >Fix: Define NFS, SYSVSEM, SYSVMSG, SYSVSHM, and LFS before the line where sys/kern/syscalls.c is included in kdump.c: *** kdump.c.ORIG Thu Jan 30 20:07:47 1997 --- kdump.c Thu Jan 30 20:11:20 1997 *************** *** 232,239 **** --- 232,250 ---- #include #define KTRACE + #define NFS + #define SYSVSEM + #define SYSVMSG + #define SYSVSHM + #define LFS #include #undef KTRACE + #undef NFS + #undef SYSVSEM + #undef SYSVMSG + #undef SYSVSHM + #undef LFS + int nsyscalls = sizeof (syscallnames) / sizeof (syscallnames[0]); static char *ptrace_ops[] = { >Audit-Trail: >Unformatted: