diff options
author | 2018-06-02 10:28:52 +0000 | |
---|---|---|
committer | 2018-06-02 10:28:52 +0000 | |
commit | 43d68ce5f7265fa951bb89e2f95437563e51000d (patch) | |
tree | 12e288b30b7aaa74a9a0e6107d3e4d81f8e6291c /usr.sbin | |
parent | Put file descriptors on shared data structures when they are completely (diff) | |
download | wireguard-openbsd-43d68ce5f7265fa951bb89e2f95437563e51000d.tar.xz wireguard-openbsd-43d68ce5f7265fa951bb89e2f95437563e51000d.zip |
LARVAL fds are now invisble from userland.
From tb@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pstat/pstat.8 | 6 | ||||
-rw-r--r-- | usr.sbin/pstat/pstat.c | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8 index e4b94194169..ce7b05d0d52 100644 --- a/usr.sbin/pstat/pstat.8 +++ b/usr.sbin/pstat/pstat.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pstat.8,v 1.52 2016/11/26 11:18:43 mpi Exp $ +.\" $OpenBSD: pstat.8,v 1.53 2018/06/02 10:28:52 mpi Exp $ .\" $NetBSD: pstat.8,v 1.9.4.1 1996/06/02 09:08:17 mrg Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" from: @(#)pstat.8 8.4 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: November 26 2016 $ +.Dd $Mdocdate: June 2 2018 $ .Dt PSTAT 8 .Os .Sh NAME @@ -101,8 +101,6 @@ open for appending exclusive or shared lock present .It I signal pgrp when data ready -.It l -file descriptor slot is larval .El .It CNT Number of processes that know this open file. 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); |