Date: Thu, 30 Jan 1997 18:31:39 -0800 (PST) From: Guy Helmer <ghelmer> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/2624: kdump unaware of semsys and several other system calls Message-ID: <199701310231.SAA23487@freefall.freebsd.org> Resent-Message-ID: <199701310240.SAA24605@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <sys/syscall.h>
#define KTRACE
+ #define NFS
+ #define SYSVSEM
+ #define SYSVMSG
+ #define SYSVSHM
+ #define LFS
#include <sys/kern/syscalls.c>
#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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701310231.SAA23487>
