summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/fstat/fstat.19
-rw-r--r--usr.bin/fstat/fstat.c20
-rw-r--r--usr.bin/kdump/Makefile3
-rw-r--r--usr.bin/kdump/mkioctls3
4 files changed, 5 insertions, 30 deletions
diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1
index b51e2a6fae1..1ab5782c395 100644
--- a/usr.bin/fstat/fstat.1
+++ b/usr.bin/fstat/fstat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fstat.1,v 1.51 2015/01/31 19:33:45 jmc Exp $
+.\" $OpenBSD: fstat.1,v 1.52 2016/04/25 19:18:41 tedu Exp $
.\"
.\" Copyright (c) 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)fstat.1 8.3 (Berkeley) 2/25/94
.\"
-.Dd $Mdocdate: January 31 2015 $
+.Dd $Mdocdate: April 25 2016 $
.Dt FSTAT 1
.Os
.Sh NAME
@@ -273,11 +273,6 @@ Each
is printed with some information as to queue length.
Since these things are normally serviced quickly, it is likely that
nothing of real importance can be discerned.
-.Sh SYSTRACE
-Each
-.Xr systrace 4
-device is printed with only the kernel address of the
-device private data.
.Sh SEE ALSO
.Xr netstat 1 ,
.Xr nfsstat 1 ,
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index 281527019f2..2d79265868c 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fstat.c,v 1.86 2016/01/02 13:22:52 semarie Exp $ */
+/* $OpenBSD: fstat.c,v 1.87 2016/04/25 19:18:41 tedu Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -120,7 +120,6 @@ void print_inet6_details(struct kinfo_file *);
#endif
void print_sock_details(struct kinfo_file *);
void socktrans(struct kinfo_file *);
-void systracetrans(struct kinfo_file *);
void vtrans(struct kinfo_file *);
const char *inet6_addrstr(struct in6_addr *);
int signame_to_signum(char *);
@@ -386,10 +385,6 @@ fstat_dofile(struct kinfo_file *kf)
if (checkfile == 0)
kqueuetrans(kf);
break;
- case DTYPE_SYSTRACE:
- if (checkfile == 0)
- systracetrans(kf);
- break;
default:
if (vflg) {
warnx("unknown file type %d for file %d of pid %ld",
@@ -539,19 +534,6 @@ kqueuetrans(struct kinfo_file *kf)
return;
}
-void
-systracetrans(struct kinfo_file *kf)
-{
- PREFIX(kf->fd_fd);
-
- printf(" ");
-
- printf("systrace ");
- hide((void *)(uintptr_t)kf->f_data);
- printf(" npol %d\n", kf->str_npolicies);
- return;
-}
-
#ifdef INET6
const char *
inet6_addrstr(struct in6_addr *p)
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile
index 738bbbaf7c7..ebff6e37a3b 100644
--- a/usr.bin/kdump/Makefile
+++ b/usr.bin/kdump/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.32 2016/03/13 11:37:42 natano Exp $
+# $OpenBSD: Makefile,v 1.33 2016/04/25 19:18:41 tedu Exp $
LDSTATIC=${STATIC}
PROG= kdump
@@ -13,7 +13,6 @@ ioctl.c: ${.CURDIR}/Makefile ${.CURDIR}/mkioctls
/bin/sh ${.CURDIR}/mkioctls ${SYS_DIR}/sys/ioctl.h \
${SYS_DIR}/dev/biovar.h \
${SYS_DIR}/dev/ipmi.h \
- ${SYS_DIR}/dev/systrace.h \
${SYS_DIR}/dev/wscons/wsconsio.h \
${SYS_DIR}/dev/vndioctl.h \
${SYS_DIR}/dev/vscsivar.h \
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls
index 7589edde68d..2af5c504d9c 100644
--- a/usr.bin/kdump/mkioctls
+++ b/usr.bin/kdump/mkioctls
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: mkioctls,v 1.36 2016/03/13 11:37:42 natano Exp $
+# $OpenBSD: mkioctls,v 1.37 2016/04/25 19:18:41 tedu Exp $
#
# Copyright (c) 1994
@@ -80,7 +80,6 @@ BEGIN {
print "#include <sys/videoio.h>"
print "#include <dev/biovar.h>"
print "#include <dev/ipmi.h>"
- print "#include <dev/systrace.h>"
print "#include <dev/wscons/wsconsio.h>"
print "#include <dev/vndioctl.h>"
print "#include <scsi/scsi_all.h>"