summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-06-02 10:28:52 +0000
committermpi <mpi@openbsd.org>2018-06-02 10:28:52 +0000
commit43d68ce5f7265fa951bb89e2f95437563e51000d (patch)
tree12e288b30b7aaa74a9a0e6107d3e4d81f8e6291c /usr.sbin/pstat/pstat.c
parentPut file descriptors on shared data structures when they are completely (diff)
downloadwireguard-openbsd-43d68ce5f7265fa951bb89e2f95437563e51000d.tar.xz
wireguard-openbsd-43d68ce5f7265fa951bb89e2f95437563e51000d.zip
LARVAL fds are now invisble from userland.
From tb@
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-rw-r--r--usr.sbin/pstat/pstat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 14d61fb90ab..6ef1dc3f7aa 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pstat.c,v 1.114 2018/01/02 06:38:45 guenther Exp $ */
+/* $OpenBSD: pstat.c,v 1.115 2018/06/02 10:28:52 mpi Exp $ */
/* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */
/*-
@@ -1044,8 +1044,6 @@ filemode(void)
if (kf->f_iflags & FIF_HASLOCK)
*fbp++ = 'L';
- if (kf->f_iflags & FIF_LARVAL)
- *fbp++ = 'l';
*fbp = '\0';
(void)printf("%6s %3ld", flagbuf, (long)kf->f_count);