OpenBSD CVS

CVS log for src/usr.sbin/pstat/pstat.c


[BACK] Up to [local] / src / usr.sbin / pstat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.129 / (download) - annotate - [select for diffs], Tue Feb 22 17:35:01 2022 UTC (2 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

MAXCOMLEN is no longer needed in these programs, so remove the annotation
from sys/param.h include lines, or remove the include lines entirely if
it this was the least requirement.
ok millert

Revision 1.128 / (download) - annotate - [select for diffs], Sun Feb 20 00:09:30 2022 UTC (2 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.127: +2 -1 lines
Diff to previous 1.127 (colored)

sys/proc.h requires sys/signal.h (will become visible when sys/param.h
is removed)

Revision 1.127 / (download) - annotate - [select for diffs], Mon Nov 15 15:14:24 2021 UTC (2 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.126: +1 -3 lines
Diff to previous 1.126 (colored)

No need to declare optind, optarg or opterr; unistd.h does this for us.
From Jan Stary.  OK deraadt@

Revision 1.126 / (download) - annotate - [select for diffs], Wed Oct 20 06:35:40 2021 UTC (2 years, 7 months ago) by semarie
Branch: MAIN
Changes since 1.125: +2 -0 lines
Diff to previous 1.125 (colored)

revert vnode: remove VLOCKSWORK and check locking when vop_islocked != nullop
(both kernel and userland bits)

GENERIC + VFSLCKDEBUG is broken with it.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Oct 19 14:50:05 2021 UTC (2 years, 7 months ago) by semarie
Branch: MAIN
Changes since 1.124: +1 -3 lines
Diff to previous 1.124 (colored)

vnode: remove VLOCKSWORK usage in pstat and mention in man pages

unbreak the tree. found hard way by tb@

ok tb@ which have the same diff

Revision 1.124 / (download) - annotate - [select for diffs], Mon Jul 12 15:09:21 2021 UTC (2 years, 10 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored)

Change the error reporting pattern throughout the tree when unveil
fails to report the path that the failure occured on. Suggested by
deraadt@ after some tech discussion.

Work done and verified by Ashton Fagg <ashton@fagg.id.au>

ok deraadt@ semarie@ claudio@

Revision 1.123 / (download) - annotate - [select for diffs], Mon Sep 28 15:53:13 2020 UTC (3 years, 8 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.122: +3 -2 lines
Diff to previous 1.122 (colored)

Fix segfault in pstat -v

Broken in r1.122 when the vnode list at the mount point was converted to
a TAILQ to make softdeps happy.  There was a for loop that looked a lot
like a LIST_FOREACH that was converted to a TAILQ_FOREACH. Unfortunately,
the loop is a bit more intricate. Revert to the original loop logic, but
now with TAILQ.

"looks correct" millert, "looks good" deraadt

Revision 1.122 / (download) - annotate - [select for diffs], Fri Jan 10 10:33:35 2020 UTC (4 years, 4 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.121: +2 -3 lines
Diff to previous 1.121 (colored)

Convert the vnode list at the mount point into a tailq.  During
unmount this list is traversed and the dirty vnodes are flushed to
disk.  Forced unmount expects that the list is empty after flushing,
otherwise the kernel panics with "dangling vnode".  As the write
to disk can sleep, new vnodes may be inserted.  If softdep is
enabled, resolving the dependencies creates new dirty vnodes and
inserts them to the list.  To fix the panic, let insmntque() insert
new vnodes at the tail of the list.  Then vflush() will still catch
them while traversing the list in forward direction.
OK tedu@ millert@ visa@

Revision 1.121 / (download) - annotate - [select for diffs], Tue Feb 5 02:17:32 2019 UTC (5 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.120: +5 -5 lines
Diff to previous 1.120 (colored)

dev_t is signed to permit passing -1 as an invalid condition, but the
decomposition into major and minor is unsigned, so we should print them
with %u instead of %d.
ok guenther

Revision 1.120 / (download) - annotate - [select for diffs], Mon Sep 10 06:40:06 2018 UTC (5 years, 8 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

Fix previous commit.  It mistakenly included a change for debug.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Sep 7 07:24:05 2018 UTC (5 years, 8 months ago) by yasuoka
Branch: MAIN
Changes since 1.118: +4 -4 lines
Diff to previous 1.118 (colored)

Fix "_nfiles" reference for crash dump.
Diff from fukaumi at soum.co.jp

ok mpi

Revision 1.118 / (download) - annotate - [select for diffs], Fri Aug 3 14:39:55 2018 UTC (5 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.117: +3 -1 lines
Diff to previous 1.117 (colored)

unveil _PATH_DEVDB for devname().   All other filenames are opened
before unveil/pledge.

Revision 1.117 / (download) - annotate - [select for diffs], Mon Jun 18 09:15:05 2018 UTC (5 years, 11 months ago) by mpi
Branch: MAIN
Changes since 1.116: +1 -3 lines
Diff to previous 1.116 (colored)

Put file descriptors on shared data structures when they are completely
setup, take 3.

LARVAL fd still exist, but they are no longer marked with a flag and no
longer reachable via `fd_ofiles[]' or the global linked list.  This allows
us to simplifies a lot code grabbing new references to fds.

All of this is now possible because dup2(2) refuses to clone LARVAL fds.

Note that the `fdplock' could now be release in all open(2)-like syscalls,
just like it is done in accept(2).

With inputs from Mathieu Masson, visa@, guenther@ and art@

Previous version ok bluhm@, ok visa@, sthen@

Revision 1.116 / (download) - annotate - [select for diffs], Tue Jun 5 09:29:05 2018 UTC (5 years, 11 months ago) by mpi
Branch: MAIN
Changes since 1.115: +3 -1 lines
Diff to previous 1.115 (colored)

Revert introduction of fdinsert(), a sanitify check triggers when
closing a LARVAL file.

Found the hardway by sthen@.

Revision 1.115 / (download) - annotate - [select for diffs], Sat Jun 2 10:28:52 2018 UTC (6 years ago) by mpi
Branch: MAIN
Changes since 1.114: +1 -3 lines
Diff to previous 1.114 (colored)

LARVAL fds are now invisble from userland.

From tb@

Revision 1.114 / (download) - annotate - [select for diffs], Tue Jan 2 06:38:45 2018 UTC (6 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.113: +2 -1 lines
Diff to previous 1.113 (colored)

Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.

ok millert@ sthen@

Revision 1.113 / (download) - annotate - [select for diffs], Thu Feb 9 22:21:53 2017 UTC (7 years, 3 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.112: +3 -2 lines
Diff to previous 1.112 (colored)

Teach pstat -d to also print untyped kernel symbols.

Storage defined in assembly code often doesn't define its type and size,
thus the nlist interface can't present it as N_DATA.  Instead of fixing
all the assembly by adding .type pseudo ops, work around the problem in
pstat.  Let's hope that allowing N_COMM is sufficient.  This makes
''pstat -d u cpuid_level'' useful.

Reported by mikeb@, "looks sane" mikeb@ guenther@

Revision 1.112 / (download) - annotate - [select for diffs], Sat Nov 26 11:18:43 2016 UTC (7 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.111: +1 -10 lines
Diff to previous 1.111 (colored)

Remove leftovers of line disciplines that are no more.

ok mikeb@

Revision 1.111 / (download) - annotate - [select for diffs], Sun Oct 23 18:14:01 2016 UTC (7 years, 7 months ago) by kettenis
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored)

For -d, if there is no modifier, don't go down the "longformat" path.
Fixes cases like "pstat -d x ticks" on armv7.

ok jca@, deraadt@

Revision 1.110 / (download) - annotate - [select for diffs], Mon Sep 19 20:10:54 2016 UTC (7 years, 8 months ago) by tb
Branch: MAIN
Changes since 1.109: +118 -75 lines
Diff to previous 1.109 (colored)

Add pledge support to pstat

The filemode(), ttymode() and vnodemode() functions can be split into two
pieces. The *_prep() piece must be hoisted to before pledge and the rest
can run under pledge "stdio rpath vminfo". The magic block that decides
which ones of the *_prep() pieces must be run with which combination of
command line switches is quite impressive.

Patch from Rob Pierce, thanks!

ok deraadt

Revision 1.109 / (download) - annotate - [select for diffs], Mon Sep 19 20:08:12 2016 UTC (7 years, 8 months ago) by tb
Branch: MAIN
Changes since 1.108: +5 -4 lines
Diff to previous 1.108 (colored)

Fix pstat -ft.  In presence of the -f flag, a logic error in ttymode()
leads to entering codepaths that try to work with only partially
initialized kvm structures -- with unsurprising outcomes.

Problem found by Rob Pierce, ok deraadt

Revision 1.108 / (download) - annotate - [select for diffs], Sun Aug 14 22:47:26 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored)

Convert %q to %ll and cast opaque system values to long long.
Use uint64_t for the KERN_INTRCNT_CNT sysctl()

ok krw@

Revision 1.107 / (download) - annotate - [select for diffs], Mon Jul 18 11:48:55 2016 UTC (7 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.106: +4 -3 lines
Diff to previous 1.106 (colored)

Fix VFLAG formatting

ok bluhm@

Revision 1.106 / (download) - annotate - [select for diffs], Fri Jun 3 20:38:48 2016 UTC (8 years ago) by deraadt
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored)

correct synopsis to make -d usage clearer.
The shed fell over because 15 layers of paint exceeded engineering margins.

Revision 1.105 / (download) - annotate - [select for diffs], Fri May 27 19:45:04 2016 UTC (8 years ago) by deraadt
Branch: MAIN
Changes since 1.104: +6 -1 lines
Diff to previous 1.104 (colored)

W^X violations are no longer permitted by default.  A kernel log message
is generated, and mprotect/mmap return ENOTSUP.  If the sysctl(8) flag
kern.wxabort is set then a SIGABRT occurs instead, for gdb use or coredump
creation.

W^X violating programs can be permitted on a ffs/nfs filesystem-basis,
using the "wxallowed" mount option.  One day far in the future
upstream software developers will understand that W^X violations are a
tremendously risky practice and that style of programming will be
banished outright.  Until then, we recommend most users need to use the
wxallowed option on their /usr/local filesystem.  At least your other
filesystems don't permit such programs.

ok jca kettenis mlarkin natano

Revision 1.104 / (download) - annotate - [select for diffs], Wed May 25 13:32:29 2016 UTC (8 years ago) by deraadt
Branch: MAIN
Changes since 1.103: +1 -6 lines
Diff to previous 1.103 (colored)

remove code to display MNT_EXKERB bit

Revision 1.103 / (download) - annotate - [select for diffs], Mon Apr 25 19:19:34 2016 UTC (8 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

remove systrace

Revision 1.102 / (download) - annotate - [select for diffs], Tue Apr 12 16:53:42 2016 UTC (8 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored)

The -T flag consumes the same data as the -f flag so it requires
nlist too.  Fixes a crash when the -T flag is specified due to
calling kvm_read() with a NULL kvm_t.  From Rob Pierce

Revision 1.101 / (download) - annotate - [select for diffs], Fri Dec 11 11:53:52 2015 UTC (8 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored)

dformat is pointer, don't compare with 0

Revision 1.100 / (download) - annotate - [select for diffs], Fri Aug 28 04:38:47 2015 UTC (8 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.99: +1 -5 lines
Diff to previous 1.99 (colored)

Rework the UNIX domain socket garbage collector, including ideas from
{Free,Net}BSD
 - when a socket is closed with fds in its input, defer closing them to
   a task to avoid recursing.  This eliminates the complicated extra
   reference taking which had a 37 line(!) comment explanation
 - move flags, counts, and links only needed for this from struct file to
   struct unpcb
 - document the flow of the mark/sweep collector

much help from claudio@ who made me explain the GC to him until we trusted it
ok claudio@ mpi@ deraadt@

Revision 1.99 / (download) - annotate - [select for diffs], Wed Mar 11 14:59:04 2015 UTC (9 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.98: +5 -14 lines
Diff to previous 1.98 (colored)

Remove setgid kmem support.  As a result, -d and -v will require you to
run this as root.
ok millert, also discussed with guenther

Revision 1.98 / (download) - annotate - [select for diffs], Tue Feb 10 11:16:04 2015 UTC (9 years, 3 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.97: +20 -5 lines
Diff to previous 1.97 (colored)

Fix -d output of smaller than 64 bit values on big-endian systems.
ok mpi@ tedu@

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:19 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.96: +3 -2 lines
Diff to previous 1.96 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.96 / (download) - annotate - [select for diffs], Fri Dec 19 14:12:00 2014 UTC (9 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.95: +3 -1 lines
Diff to previous 1.95 (colored)

don't print vnodes if we didn't read them

Revision 1.95 / (download) - annotate - [select for diffs], Fri Dec 19 14:08:20 2014 UTC (9 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.94: +5 -4 lines
Diff to previous 1.94 (colored)

1. -T (totalflag) requires nlist too.
2. If we can't read a vnode, there's no way LIST_NEXT is going to be
meaningful.
3. set numvnodes before looping in case we return early.
getting better, but still not all fixed

Revision 1.94 / (download) - annotate - [select for diffs], Sun Nov 23 04:34:48 2014 UTC (9 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.93: +1 -2 lines
Diff to previous 1.93 (colored)

<sys/buf.h> isn't actually needed here

ok tedu@

Revision 1.93 / (download) - annotate - [select for diffs], Wed Nov 19 18:04:54 2014 UTC (9 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.92: +9 -33 lines
Diff to previous 1.92 (colored)

delete the KERN_VNODE sysctl. it fails to provide any isolation from the
kernel struct vnode defintion, and the only consumer (pstat) still needs
kvm to read much of the required information. no great loss to always use
kvm until there's a better replacement interface.
ok deraadt millert uebayasi

Revision 1.92 / (download) - annotate - [select for diffs], Wed Oct 8 04:52:54 2014 UTC (9 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

use reallocarray(NULL, a, b) instead of malloc(a*b)
ok doug

Revision 1.91 / (download) - annotate - [select for diffs], Wed Aug 20 11:23:42 2014 UTC (9 years, 9 months ago) by mikeb
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

Remove userland bits related to the crypto(4) interface;  ok deraadt

Revision 1.90 / (download) - annotate - [select for diffs], Wed Mar 19 04:17:33 2014 UTC (10 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.89: +3 -1 lines
Diff to previous 1.89 (colored)

Pull in FreeBSD r37363 and r37887:
--
Sync timestamp changes for inodes of special files to disk as late
as possible (when the inode is reclaimed).  Temporarily only do
this if option UFS_LAZYMOD configured and softupdates aren't enabled.
UFS_LAZYMOD is intentionally left out of /sys/conf/options.

This is mainly to avoid almost useless disk i/o on battery powered
machines.  It's silly to write to disk (on the next sync or when the
inode becomes inactive) just because someone hit a key or something
wrote to the screen or /dev/null.
--
Made lazy syncing of timestamps for special files non-optional.
--

Also, include support in 'pstat -v' to display the IN_LAZYMOD flag.

ok tedu@ millert@

Revision 1.89 / (download) - annotate - [select for diffs], Sun Dec 1 16:40:56 2013 UTC (10 years, 6 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.88: +3 -5 lines
Diff to previous 1.88 (colored)

Change 'mountlist' from CIRCLEQ to TAILQ. Be paranoid and
use TAILQ_*_SAFE more than might be needed.

Bulk ports build by sthen@ showed nobody sticking their fingers
so deep into the kernel.

Feedback and suggestions from millert@. ok jsing@

Revision 1.88 / (download) - annotate - [select for diffs], Tue Nov 12 22:27:11 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored)

ensure there are prototypes

Revision 1.87 / (download) - annotate - [select for diffs], Tue Oct 22 16:40:27 2013 UTC (10 years, 7 months ago) by guenther
Branch: MAIN
Changes since 1.86: +4 -4 lines
Diff to previous 1.86 (colored)

- add UNIX-domain socket info to struct kinfo_file2
- convert netstat from kvm_getfiles() to kvm_getfile2() using that
- delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major)
- rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file
  and KERN_FILE2 to KERN_FILE.

ok deraadt@, millert@
ports scan sthen@

Revision 1.86 / (download) - annotate - [select for diffs], Thu Aug 22 04:43:41 2013 UTC (10 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Correct format string mismatches turned up by -Wformat=2

suggestions and ok millert@

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jun 5 01:26:00 2013 UTC (10 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passing
O_* flags and eliminating an XXX comment.

ok matthew@ deraadt@

Revision 1.84 / (download) - annotate - [select for diffs], Sun Apr 21 20:49:39 2013 UTC (11 years, 1 month ago) by guenther
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Tweak #include order to work during the big time_t transition

noted by matthieu@

Revision 1.83 / (download) - annotate - [select for diffs], Sun Mar 24 15:09:12 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.82: +17 -8 lines
Diff to previous 1.82 (colored)

Do not leak kernel pointers, unless operating as root.  Some other display
functionality is lost, but one can argue that privacy was being violated
there...
ok various, including bluhm and guenther

Revision 1.82 / (download) - annotate - [select for diffs], Tue Dec 18 21:28:45 2012 UTC (11 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.81: +2 -1 lines
Diff to previous 1.81 (colored)

We no longer use struct eproc for kinfo_proc in sysctl.h so there
is no direct need for sys/proc.h or sys/resource.h.  Some consumers
of kinfo_proc need these for the proc flags and rlimit defines like
RLIM_INF so add the appropriate includes to them.
OK deraadt@ sthen@

Revision 1.81 / (download) - annotate - [select for diffs], Wed Jul 11 07:50:39 2012 UTC (11 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.80: +7 -7 lines
Diff to previous 1.80 (colored)

Don't skip pipe, kqueue, crypto, or systrace files in pstat -f output
Also, cast to long to make printf formatting portable

with help from matthew; ok deraadt@

Revision 1.80 / (download) - annotate - [select for diffs], Mon Jul 9 22:41:45 2012 UTC (11 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

According to miod, KERNBASE used as a userland symbol should die
in a fire.  Start by removing the definitions, before we clean the
headers later.

Revision 1.79 / (download) - annotate - [select for diffs], Thu May 17 17:53:22 2012 UTC (12 years ago) by deraadt
Branch: MAIN
Changes since 1.78: +9 -1 lines
Diff to previous 1.78 (colored)

show the f_iflags; ok guenther

Revision 1.78 / (download) - annotate - [select for diffs], Tue Jun 28 06:55:30 2011 UTC (12 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.77: +44 -71 lines
Diff to previous 1.77 (colored)

Use kvm_getfile2() instead of sysctl(KERN_FILE) for the -f option
Make -T behave as documented: only report totals
Only open the kvm files when necessary

prompted by a comment from matthew@
ok and corrections millert@, ok tedu@

Revision 1.77 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:53 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.76: +1 -15 lines
Diff to previous 1.76 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.76 / (download) - annotate - [select for diffs], Sun May 31 19:31:23 2009 UTC (15 years ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.75: +0 -2 lines
Diff to previous 1.75 (colored)

Don't define NFS before including kernel header files,
besides it being gnarly its useless since no magic is
done if it is define.

pointed out by deraadt@

Revision 1.75 / (download) - annotate - [select for diffs], Tue Oct 7 02:30:02 2008 UTC (15 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.74: +5 -3 lines
Diff to previous 1.74 (colored)

pstat can hide information too; also based on PR 5113

Revision 1.74 / (download) - annotate - [select for diffs], Mon Sep 1 08:50:07 2008 UTC (15 years, 9 months ago) by sobrado
Branch: MAIN
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

sync synopsis and usage; KNF.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Feb 20 09:49:08 2008 UTC (16 years, 3 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.72: +4 -2 lines
Diff to previous 1.72 (colored)

set globalnl to vnodenl in filemode() so we access the right
thing in the KGET() macros. Fixes a segfault when pstat is
called with '-vT';

ok miod@,krw@,beck@

Revision 1.72 / (download) - annotate - [select for diffs], Fri Dec 28 19:22:07 2007 UTC (16 years, 5 months ago) by chl
Branch: MAIN
Changes since 1.71: +7 -7 lines
Diff to previous 1.71 (colored)

printf field widths are always int, so add casts to remove
"warning: field width is not type int"

"looks good" otto@

Revision 1.71 / (download) - annotate - [select for diffs], Sat Dec 8 18:23:24 2007 UTC (16 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.70: +2 -4 lines
Diff to previous 1.70 (colored)

no need to pre-check for % in dformat, it will fail later anyways

Revision 1.70 / (download) - annotate - [select for diffs], Wed Nov 28 17:02:56 2007 UTC (16 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.69: +23 -16 lines
Diff to previous 1.69 (colored)

refine format string, support hh and c for real. ok deraadt

Revision 1.69 / (download) - annotate - [select for diffs], Wed Nov 28 16:33:43 2007 UTC (16 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.68: +69 -24 lines
Diff to previous 1.68 (colored)

Be more careful with printf-style formats, and fix a few other niggles
ok tedu

Revision 1.68 / (download) - annotate - [select for diffs], Wed Nov 28 11:37:41 2007 UTC (16 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.67: +63 -6 lines
Diff to previous 1.67 (colored)

add a -d argument, which can be used to peek at values in the kernel.
this is easier than using the ddb console.  ok deraadt

Revision 1.67 / (download) - annotate - [select for diffs], Mon Nov 26 18:32:33 2007 UTC (16 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.66: +10 -6 lines
Diff to previous 1.66 (colored)

cleanup.  nl is a poor name for a global (accessed via macro no less).
also, man page says nlist ends with NULL name, not "".
ok art bob deraadt

Revision 1.66 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:54 2007 UTC (16 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

malloc(n * m) -> calloc(n, m); ok espie

Revision 1.65 / (download) - annotate - [select for diffs], Sun Sep 2 15:19:40 2007 UTC (16 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jun 4 01:39:32 2006 UTC (18 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.63: +5 -2 lines
Diff to previous 1.63 (colored)

teach this about NMEADISC too

Revision 1.63 / (download) - annotate - [select for diffs], Tue Apr 18 17:50:51 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.62: +12 -12 lines
Diff to previous 1.62 (colored)

simple variable renaming to please lint

Revision 1.62 / (download) - annotate - [select for diffs], Mon Mar 27 14:08:14 2006 UTC (18 years, 2 months ago) by pedro
Branch: MAIN
Changes since 1.61: +9 -8 lines
Diff to previous 1.61 (colored)

Check for syncer vnodes before the file system specific routine gets
called, so that we handle NFS and ext2fs as well, okay deraadt@.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Mar 26 20:15:50 2006 UTC (18 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.60: +7 -7 lines
Diff to previous 1.60 (colored)

Pretty-print addresses on 64-bit architectures; with input and ok deraadt@

Revision 1.60 / (download) - annotate - [select for diffs], Sun Mar 26 16:49:17 2006 UTC (18 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored)

Back out -r1.59. I did not follow the process.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Mar 26 15:04:10 2006 UTC (18 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.58: +7 -7 lines
Diff to previous 1.58 (colored)

Set the width of address columns based on the machine word width.
pedro@ likes the diff.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 25 23:35:13 2006 UTC (18 years, 2 months ago) by pedro
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Kill double word

Revision 1.57 / (download) - annotate - [select for diffs], Sat Mar 25 21:11:52 2006 UTC (18 years, 2 months ago) by pedro
Branch: MAIN
Changes since 1.56: +8 -2 lines
Diff to previous 1.56 (colored)

Handle syncer vnodes gracefully, okay deraadt@

Revision 1.56 / (download) - annotate - [select for diffs], Wed Dec 28 20:48:18 2005 UTC (18 years, 5 months ago) by pedro
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.55: +7 -7 lines
Diff to previous 1.55 (colored)

Use the DIP macros to uniformly access fields from UFS1 and UFS2 dinodes.
No functional change, okay tedu@.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Dec 17 13:56:02 2005 UTC (18 years, 5 months ago) by pedro
Branch: MAIN
Changes since 1.54: +7 -2 lines
Diff to previous 1.54 (colored)

Remove the 'on disk' inode (dinode) from the 'in memory' inode in UFS.
Instead of having the dinode inside the inode structure itself, we now
have just a pointer to it, and use a separate pool to allocate dinodes
as needed. Inspiration from FreeBSD, various testing for a while, thanks.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 11 20:46:29 2005 UTC (18 years, 5 months ago) by pedro
Branch: MAIN
Changes since 1.53: +8 -2 lines
Diff to previous 1.53 (colored)

inode/dinode separation for ext2fs

Revision 1.53 / (download) - annotate - [select for diffs], Sat Oct 15 18:33:51 2005 UTC (18 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.52: +11 -9 lines
Diff to previous 1.52 (colored)

Use queue macros instead of directly accessing fields. ok miod@ pat@ millert@

Revision 1.52 / (download) - annotate - [select for diffs], Thu May 26 01:45:02 2005 UTC (19 years ago) by pedro
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

typo

Revision 1.51 / (download) - annotate - [select for diffs], Thu May 26 01:44:38 2005 UTC (19 years ago) by pedro
Branch: MAIN
Changes since 1.50: +2 -7 lines
Diff to previous 1.50 (colored)

remove reference to MNT_UNION

Revision 1.50 / (download) - annotate - [select for diffs], Tue May 3 03:41:11 2005 UTC (19 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.49: +10 -8 lines
Diff to previous 1.49 (colored)

setresgid; ok deraadt@

Revision 1.49 / (download) - annotate - [select for diffs], Tue Feb 8 14:48:08 2005 UTC (19 years, 3 months ago) by pat
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

* plug memory leaks in some paths. From Andrey Matveev

ok otto

Revision 1.48 / (download) - annotate - [select for diffs], Tue Sep 14 22:33:00 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.47: +7 -6 lines
Diff to previous 1.47 (colored)

remove unused variables

Revision 1.47 / (download) - annotate - [select for diffs], Tue Aug 3 04:11:49 2004 UTC (19 years, 10 months ago) by mjc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.46: +4 -8 lines
Diff to previous 1.46 (colored)

make pstat -f show locking

ok art@ tedu@
much help from pedro@

Revision 1.46 / (download) - annotate - [select for diffs], Tue Mar 16 23:11:20 2004 UTC (20 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

add -M and -N to options list;
sort options;
sync usage();

Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 8 23:31:55 2003 UTC (20 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

insufficient size for mib; andrushock@korovino.net

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 2 23:36:54 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.43: +3 -7 lines
Diff to previous 1.43 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jan 6 18:33:15 2003 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.42: +7 -5 lines
Diff to previous 1.42 (colored)

some cleanup; andrushock@korovino.net

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jan 6 05:32:39 2003 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.41: +9 -6 lines
Diff to previous 1.41 (colored)

only do kvm_openfiles for -v, all others use sysctl

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jan 6 05:23:34 2003 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored)

minor tweaks

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 12 04:17:14 2002 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.39: +45 -17 lines
Diff to previous 1.39 (colored)

can now get _ttylist via sysctl; millert ok

Revision 1.39 / (download) - annotate - [select for diffs], Mon Dec 9 11:19:39 2002 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

knf

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jul 13 00:34:03 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.37: +57 -76 lines
Diff to previous 1.37 (colored)

slight cleanup

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 12 05:32:51 2002 UTC (21 years, 10 months ago) by art
Branch: MAIN
Changes since 1.36: +2 -27 lines
Diff to previous 1.36 (colored)

remove printing of soon-to-be-gone flags.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 19 08:45:52 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.35: +10 -11 lines
Diff to previous 1.35 (colored)

mark which nlist[] kmem entries are not needed in the sysctl case, and which are

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 18 23:41:32 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +10 -10 lines
Diff to previous 1.34 (colored)

size_t cleanups

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jun 16 16:54:29 2002 UTC (21 years, 11 months ago) by miod
Branch: MAIN
Changes since 1.33: +3 -8 lines
Diff to previous 1.33 (colored)

When processing the KERN_VNODE sysctl, the kernel builds a packed structure,
while pstat(8) expects a C structure abiding the regular structure packing
rules. This caused pstat -v to break on powerpc.

Unbreak the confusion by defining the structure in a common header file,
and having the kernel use it.

ok millert@ deraadt@

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jun 8 23:41:42 2002 UTC (21 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.32: +44 -11 lines
Diff to previous 1.32 (colored)

Take advantage of sysctls for stats --- not in use, as we need the
mountlist and the ttylist. To come.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jun 2 22:38:57 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

KNF

Revision 1.31 / (download) - annotate - [select for diffs], Thu May 30 19:09:05 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.30: +18 -18 lines
Diff to previous 1.30 (colored)

minor KNF

Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 14 16:44:25 2002 UTC (22 years, 2 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.29: +13 -13 lines
Diff to previous 1.29 (colored)

kill more registers.

millert@ ok

Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:07 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.28: +21 -21 lines
Diff to previous 1.28 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 19 00:03:29 2002 UTC (22 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

We don't have <sys/map.h> any more; Tim Tickel

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 11 01:27:47 2001 UTC (22 years, 9 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored)

cleanup; ok millert

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jun 24 17:03:19 2001 UTC (22 years, 11 months ago) by csapuntz
Branch: MAIN
Changes since 1.25: +2 -8 lines
Diff to previous 1.25 (colored)



Get rid of NQNFS options

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 25 05:33:08 2001 UTC (23 years, 3 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.24: +6 -7 lines
Diff to previous 1.24 (colored)



Update pstat to reflect vnode changes

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 16 19:03:48 2000 UTC (23 years, 11 months ago) by assar
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.23: +47 -10 lines
Diff to previous 1.23 (colored)

update and sort list of vflags, iflags, nfsflags, mntflags.  also
update man-page to be compatible with the code.

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 24 03:24:23 2000 UTC (24 years ago) by deraadt
Branch: MAIN
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored)

handle 64 bit arch in -f; janjaap@stack.nl

Revision 1.22 / (download) - annotate - [select for diffs], Sun Dec 5 08:49:18 1999 UTC (24 years, 6 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored)

Learn pstat about soft updates.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 23 15:56:36 1999 UTC (24 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.20: +6 -4 lines
Diff to previous 1.20 (colored)

Use DEV_BSIZE instead of hard-coding 512

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 3 15:49:31 1999 UTC (25 years ago) by deraadt
Branch: MAIN
Changes since 1.19: +21 -19 lines
Diff to previous 1.19 (colored)

sysctl of KERN_FILE returns a list of mis-aligned file structs; compensate
by copying to private space... since changing the kernel API will be difficult.

Revision 1.19 / (download) - annotate - [select for diffs], Sat May 22 21:43:52 1999 UTC (25 years ago) by weingart
Branch: MAIN
Changes since 1.18: +55 -163 lines
Diff to previous 1.18 (colored)

Update for new vmswap code.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 8 22:13:29 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.17: +6 -2 lines
Diff to previous 1.17 (colored)

whack kmem gid after kvm_openfiles()

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 25 17:04:29 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +19 -9 lines
Diff to previous 1.16 (colored)

handle no swap case

Revision 1.16 / (download) - annotate - [select for diffs], Sun Nov 9 22:03:29 1997 UTC (26 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.15: +10 -6 lines
Diff to previous 1.15 (colored)

#if 0 out references to IN_LOCKED, IN_WANTED, IN_LWAIT.
Need to merge in changes from lite2 pstat.c but this will do for now.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Sep 18 08:59:54 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

make pstat -f columns line up

Revision 1.14 / (download) - annotate - [select for diffs], Thu Sep 18 08:54:09 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

lengthen terminal name, make columns line up

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 12 04:07:19 1997 UTC (26 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Kill extra newline in err()/warn().

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 10 04:55:18 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Line up better with -t.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 7 20:58:30 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.10: +14 -7 lines
Diff to previous 1.10 (colored)

Support -n in conjunction with -s.  Problem noted by
Carsten Hammer <chammer@vogon.party.de>.  Fixes PR#297.
Also made "pstat -tn" consistent with -n in other modes
(and it now lines up correctly).

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 31 08:48:20 1997 UTC (27 years ago) by deraadt
Branch: MAIN
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored)

various

Revision 1.9 / (download) - annotate - [select for diffs], Sat May 31 07:37:58 1997 UTC (27 years ago) by downsj
Branch: MAIN
Changes since 1.8: +56 -2 lines
Diff to previous 1.8 (colored)

Support for ext2fs vnodes.

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 30 13:28:38 1997 UTC (27 years ago) by downsj
Branch: MAIN
Changes since 1.7: +8 -7 lines
Diff to previous 1.7 (colored)

FFS changes.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 22 03:29:03 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (colored)

Deal with _POSIX_SAVED_IDS when relinquishing privileges

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 24 23:42:11 1996 UTC (27 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.5: +31 -5 lines
Diff to previous 1.5 (colored)

Add recognition for remaining mount flags (from <sys/mount.h>)
that make sense to "pstat -v".  From NetBSD.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 10 08:37:05 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +34 -193 lines
Diff to previous 1.4 (colored)

update ttystats

Revision 1.4 / (download) - annotate - [select for diffs], Sun May 5 16:15:48 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.3: +13 -6 lines
Diff to previous 1.3 (colored)

from netbsd:
handle the VISTTY vnode flag with the same letter ('I') that BSDI used.
Update the documentation of the vnode flags so that it lists only (and all)
of the flags understood by the program.  (The documentation is likely in need
of more cleanup.)

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 25 15:56:06 1996 UTC (28 years, 2 months ago) by niklas
Branch: MAIN
Changes since 1.2: +11 -2 lines
Diff to previous 1.2 (colored)

From NetBSD: merge of 960317

Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 6 21:19:02 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

complete ufs -> ffs change (From John Kohl; PR #1403)

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:48:01 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:48:01 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.