diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-04-25 19:18:42 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-04-25 19:18:42 +0000 |
commit | 4062b0215b25e686705f4c911a09c7846f636b05 (patch) | |
tree | 8b99e86e63b0ee67601da0b6267d0523cc31a1dc /usr.bin/fstat/fstat.c | |
parent | 2fb4663dc61adf57692df987743135ee0d9fe628 (diff) |
remove systrace support
Diffstat (limited to 'usr.bin/fstat/fstat.c')
-rw-r--r-- | usr.bin/fstat/fstat.c | 20 |
1 files changed, 1 insertions, 19 deletions
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) |