The NetBSD Project

CVS log for src/usr.bin/fstat/fstat.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / fstat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.120 / (download) - annotate - [select for diffs], Thu Nov 2 10:31:55 2023 UTC (3 months, 4 weeks ago) by martin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.119: +5 -6 lines
Diff to previous 1.119 (colored)

Back out the following revisions on behalf of core:

	sys/sys/lwp.h: revision 1.228
	sys/sys/pipe.h: revision 1.40
	sys/kern/uipc_socket.c: revision 1.306
	sys/kern/kern_sleepq.c: revision 1.84
	sys/rump/librump/rumpkern/locks_up.c: revision 1.13
	sys/kern/sys_pipe.c: revision 1.165
	usr.bin/fstat/fstat.c: revision 1.119
	sys/rump/librump/rumpkern/locks.c: revision 1.87
	sys/ddb/db_xxx.c: revision 1.78
	sys/ddb/db_command.c: revision 1.187
	sys/sys/condvar.h: revision 1.18
	sys/ddb/db_interface.h: revision 1.42
	sys/sys/socketvar.h: revision 1.166
	sys/kern/uipc_syscalls.c: revision 1.209
	sys/kern/kern_condvar.c: revision 1.60

  Add cv_fdrestart() [...]
  Use cv_fdrestart() to implement fo_restart.
  Simplify/streamline pipes a little bit [...]

This changes have caused regressions and need to be debugged.
The cv_fdrestart() addition needs more discussion.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Oct 13 19:07:09 2023 UTC (4 months, 2 weeks ago) by ad
Branch: MAIN
Changes since 1.118: +6 -5 lines
Diff to previous 1.118 (colored)

Simplify/streamline pipes a little bit:

- Allocate only one struct pipe not two (no need to be bidirectional here).
- Then use f_flag (FREAD/FWRITE) to figure out what to do in the fileops.
- Never wake the other side or acquire long-term (I/O) lock unless needed.
- Whenever possible, defer wakeups until after locks have been released.
- Do some things locklessly in pipe_ioctl() and pipe_poll().

Some notable results:

- -30% latency on a 486DX2/66 doing 1 byte ping-pong within a single process.
- 2.5x less lock contention during "make cleandir" of src on a 48 CPU machine.
- 1.5x bandwith with 1kB messages on the same 48 CPU machine (8kB: same b/w).

Revision 1.118 / (download) - annotate - [select for diffs], Mon Jul 10 02:31:55 2023 UTC (7 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.117: +3 -2 lines
Diff to previous 1.117 (colored)

Add memfd_create(2) from GSoC 2023 by Theodore Preduta

Revision 1.117 / (download) - annotate - [select for diffs], Fri Oct 28 05:27:16 2022 UTC (16 months ago) by ozaki-r
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.116: +20 -17 lines
Diff to previous 1.116 (colored)

Adjust userland commands for struct inpcb separation

Only kvm users are affected.

Revision 1.116 / (download) - annotate - [select for diffs], Fri Oct 28 05:24:07 2022 UTC (16 months ago) by ozaki-r
Branch: MAIN
Changes since 1.115: +9 -12 lines
Diff to previous 1.115 (colored)

Adjust userland commands for struct inpcb integration

Only kvm users are affected.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Jun 19 11:31:19 2022 UTC (20 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.114: +8 -2 lines
Diff to previous 1.114 (colored)

Add basic ZFS support to fstat(1).
XXX: Use a local zfs_znode.h for a znode_t definition because the ZFS
kernel code makes it too hard to include headers from userland.

Revision 1.114 / (download) - annotate - [select for diffs], Wed Aug 26 23:08:29 2020 UTC (3 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.113: +22 -2 lines
Diff to previous 1.113 (colored)

Provide a helpful error message if we don't have privs to read kernel
addresses.

Revision 1.111.14.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:42 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.111.14.1: +61 -36 lines
Diff to previous 1.111.14.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.113 / (download) - annotate - [select for diffs], Fri Sep 6 17:08:22 2019 UTC (4 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.112: +61 -36 lines
Diff to previous 1.112 (colored)

Add -O to print offsets; align columns properly.

Revision 1.111.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:19 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.111: +4 -2 lines
Diff to previous 1.111 (colored)

Sync with HEAD

Revision 1.112 / (download) - annotate - [select for diffs], Sun Feb 3 03:19:29 2019 UTC (5 years ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.111: +4 -2 lines
Diff to previous 1.111 (colored)

- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:57 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.110: +7 -7 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.111 / (download) - annotate - [select for diffs], Fri Dec 30 21:08:23 2016 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.110: +7 -7 lines
Diff to previous 1.110 (colored)

Print the interface for bpf.

Revision 1.110 / (download) - annotate - [select for diffs], Tue Dec 22 23:35:21 2015 UTC (8 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.109: +8 -4 lines
Diff to previous 1.109 (colored)

print the tag symbolically if we don't support it.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Mar 8 06:46:51 2015 UTC (8 years, 11 months ago) by mlelstv
Branch: MAIN
Changes since 1.108: +23 -14 lines
Diff to previous 1.108 (colored)

Resolve names of datagram services correctly.

Revision 1.96.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:58 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.96.2.2: +89 -57 lines
Diff to previous 1.96.2.2 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.95.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:42:44 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.95.2.3: +89 -57 lines
Diff to previous 1.95.2.3 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.108 / (download) - annotate - [select for diffs], Fri Feb 14 20:43:34 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.107: +17 -14 lines
Diff to previous 1.107 (colored)

fix protocol printing order.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jan 17 03:28:01 2014 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.106: +54 -30 lines
Diff to previous 1.106 (colored)

make fstat -f search for unix sockets.

Revision 1.106 / (download) - annotate - [select for diffs], Sun Dec 15 18:56:59 2013 UTC (10 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

Fix output for -A -f ...

Revision 1.105 / (download) - annotate - [select for diffs], Sun Dec 15 09:21:03 2013 UTC (10 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.104: +4 -4 lines
Diff to previous 1.104 (colored)

sync usage with man page

Revision 1.104 / (download) - annotate - [select for diffs], Sun Dec 15 08:16:24 2013 UTC (10 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.103: +20 -9 lines
Diff to previous 1.103 (colored)

New -A option. Add an output column with the address of the
kernel object (vnode or file) that can be matched with prstat(8) output.

Revision 1.103 / (download) - annotate - [select for diffs], Sat Oct 19 15:56:05 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

use correct function and symbolic constants

Revision 1.102 / (download) - annotate - [select for diffs], Sat Oct 19 00:28:38 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.101: +4 -10 lines
Diff to previous 1.101 (colored)

use new scopeid functions

Revision 1.101 / (download) - annotate - [select for diffs], Fri Oct 18 20:18:42 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.100: +6 -6 lines
Diff to previous 1.100 (colored)

avoid pointer gymnastics

Revision 1.96.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:34 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.96.2.1: +10 -7 lines
Diff to previous 1.96.2.1 (colored) to branchpoint 1.96 (colored)

resync with head

Revision 1.95.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:34:05 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.95.2.2: +10 -7 lines
Diff to previous 1.95.2.2 (colored) to branchpoint 1.95 (colored)

sync with (a bit old) head

Revision 1.100 / (download) - annotate - [select for diffs], Sun Nov 25 00:36:23 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Changes since 1.99: +10 -7 lines
Diff to previous 1.99 (colored)

- add more debugging.
- in misctrans() we need the file index not the file type.

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:57 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.96: +172 -61 lines
Diff to previous 1.96 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.95.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 19:00:17 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.95.2.1: +172 -61 lines
Diff to previous 1.95.2.1 (colored) to branchpoint 1.95 (colored)

sync with head

Revision 1.99 / (download) - annotate - [select for diffs], Fri Oct 19 02:49:52 2012 UTC (11 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.98: +90 -4 lines
Diff to previous 1.98 (colored)

print major device numbers symbolically from kinfo_drivers

Revision 1.98 / (download) - annotate - [select for diffs], Fri Oct 19 02:11:25 2012 UTC (11 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.97: +24 -12 lines
Diff to previous 1.97 (colored)

more info for unix sockets. XXX: chroot handling

Revision 1.97 / (download) - annotate - [select for diffs], Wed Sep 26 23:01:04 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.96: +62 -49 lines
Diff to previous 1.96 (colored)

fix non-numeric address and port printing.

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:32 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored)

sync with head

Revision 1.95.4.1 / (download) - annotate - [select for diffs], Mon Apr 2 18:22:03 2012 UTC (11 years, 11 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Pull up following revision(s) (requested by 143 in ticket #christos):
	usr.bin/fstat/fstat.c: revision 1.96
byte swap the inet6 ports.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Mar 24 21:51:23 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored)

byte swap the inet6 ports.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Oct 9 21:16:00 2011 UTC (12 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.94: +34 -26 lines
Diff to previous 1.94 (colored)

fix rdev reporting for UFS2 and ext2fs.

Revision 1.94 / (download) - annotate - [select for diffs], Fri Sep 23 07:31:39 2011 UTC (12 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.93: +4 -4 lines
Diff to previous 1.93 (colored)

apply some (uintptr_t) so that printing printers works on i386 (likely
all 32 bit.)

Revision 1.93 / (download) - annotate - [select for diffs], Thu Sep 22 17:27:50 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.92: +179 -105 lines
Diff to previous 1.92 (colored)

- factor out common code in the inet and inet6 printing.
- add appletalk (ddp) support.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Sep 10 18:35:28 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.91: +21 -9 lines
Diff to previous 1.91 (colored)

- remove bogus casts
- print recycled vnode flags

Revision 1.91 / (download) - annotate - [select for diffs], Sat Sep 3 13:24:19 2011 UTC (12 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.90: +49 -24 lines
Diff to previous 1.90 (colored)

- minor KNF
- for system processes (0, 1) where fd_lastfile == -1, fail early.
- instead of printing the pcb connection address, print the pathname if
  possible for unix domain sockets.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Apr 14 00:35:35 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored)

Add DTYPE_SEM.

Revision 1.89 / (download) - annotate - [select for diffs], Sun May 24 21:41:44 2009 UTC (14 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.88: +13 -8 lines
Diff to previous 1.88 (colored)

More changes to improve kern_descrip.c.

- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:50 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.87: +5 -5 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.88 / (download) - annotate - [select for diffs], Sun Apr 12 06:36:12 2009 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.87: +5 -5 lines
Diff to previous 1.87 (colored)

Fix sign-compare issues.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Dec 29 00:59:08 2008 UTC (15 years, 2 months ago) by christos
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.86: +8 -5 lines
Diff to previous 1.86 (colored)

64 bit dev_t

Revision 1.82.4.2 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:58 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.82.4.1: +3 -3 lines
Diff to previous 1.82.4.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:29:12 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.82: +10 -11 lines
Diff to previous 1.82 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Sep 9 00:56:23 2008 UTC (15 years, 5 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

Cast f_type to signed integer before comparison with negative values.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jul 23 00:57:53 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

Add back rev 1.83. (hi christos!)

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jul 22 22:58:04 2008 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.83: +8 -9 lines
Diff to previous 1.83 (colored)

a better attempt on printing dtype_misc

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jul 21 14:19:22 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Apr 4 21:15:30 2008 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.81: +4 -2 lines
Diff to previous 1.81 (colored)

handle NULL better.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Apr 4 21:14:08 2008 UTC (15 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.80: +13 -6 lines
Diff to previous 1.80 (colored)

elementary handling for different types of DTYPE_FOO.
XXX: DTYPE_CRYPTO is unused.
XXX: should we change fd_clone() to pass a DTYPE_FOO?

Revision 1.80 / (download) - annotate - [select for diffs], Fri Apr 4 18:27:00 2008 UTC (15 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.79: +19 -10 lines
Diff to previous 1.79 (colored)

catch up with struct filedesc changes.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Mar 23 23:01:21 2008 UTC (15 years, 11 months ago) by he
Branch: MAIN
Changes since 1.78: +2 -4 lines
Diff to previous 1.78 (colored)

Please repeat after me: I shall not define _KERNEL before including
<sys/types.h> in user-land programs.  Doing so causes build problems
for lots of our ports due to differences in how <sys/bswap.h> ends up
defining the swap functions/macros.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Mar 22 02:39:06 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.77: +7 -5 lines
Diff to previous 1.77 (colored)

Catch up with recent file descriptor changes.

Revision 1.75.12.2 / (download) - annotate - [select for diffs], Wed Jan 9 02:00:38 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.75.12.1: +3 -3 lines
Diff to previous 1.75.12.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

sync with HEAD

Revision 1.77 / (download) - annotate - [select for diffs], Sat Dec 15 19:44:50 2007 UTC (16 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

convert __attribute__s to applicable cdefs.h macros

Revision 1.75.12.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:45 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.75: +8 -12 lines
Diff to previous 1.75 (colored)

sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Sun Sep 9 01:26:55 2007 UTC (16 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.75: +8 -12 lines
Diff to previous 1.75 (colored)

Bug fix: filed.fd_ofiles is always a pointer to the open files
table, so always read the table from kernel virtual memory at that
address.  Do not ever try to read the table from filed0.fd_dfiles,
because it just isn't necessary, and sometimes we read a stale
table from there.

Revision 1.75 / (download) - annotate - [select for diffs], Thu May 11 11:56:38 2006 UTC (17 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, hpcarm-cleanup, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.74: +2 -3 lines
Diff to previous 1.74 (colored)

tweak for user.h cleanup.
while i'm here, remove unnecessary #include.

Revision 1.74 / (download) - annotate - [select for diffs], Thu May 11 01:21:23 2006 UTC (17 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.73: +5 -5 lines
Diff to previous 1.73 (colored)

maxfiles -> fstat_maxfiles.  (this _KERNEL definition code needs to not
clash with kernel headers....)

Revision 1.73 / (download) - annotate - [select for diffs], Fri Feb 10 16:01:45 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.72: +6 -2 lines
Diff to previous 1.72 (colored)

PR/32788: KAMADA Ken'ichi: add support for tmpfs

Revision 1.72 / (download) - annotate - [select for diffs], Sun Jul 17 07:36:26 2005 UTC (18 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.71: +127 -157 lines
Diff to previous 1.71 (colored)

WARNS=3, knf, ansi prototypes

Revision 1.71 / (download) - annotate - [select for diffs], Tue Dec 14 03:09:24 2004 UTC (19 years, 2 months ago) by atatat
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Cast fst.fileid to unsigned long and print it as such.  Inode numbers
are never negative.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Dec 12 22:41:03 2004 UTC (19 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.69: +10 -5 lines
Diff to previous 1.69 (colored)

Add ptyfs.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Nov 16 05:59:32 2004 UTC (19 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.68: +2 -6 lines
Diff to previous 1.68 (colored)

NI_WITHSCOPEID was not picked up by IETF standardization process.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Oct 30 17:29:47 2004 UTC (19 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Add (unsigned char) cast to ctype functions

Revision 1.67 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:47 2004 UTC (19 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Fri Apr 2 14:54:17 2004 UTC (19 years, 11 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.65: +18 -4 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Pull up revision 1.66 (requested by aymeric in ticket #50):
fix the way the ext2fs-specific size and mode variables are fetched:
they are indirectly gotten from kernel memory and as such should be read
with KVM_READ.
This fixes fstat core dumps when some process holds a reference in a Linux
ext2fs filesystem.
Thanks to Aleksy Schubert (alx.at.mimuw.dot.edu.dot.pl) for debugging this
with me.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Apr 2 14:22:05 2004 UTC (19 years, 11 months ago) by aymeric
Branch: MAIN
Changes since 1.65: +18 -4 lines
Diff to previous 1.65 (colored)

fix the way the ext2fs-specific size and mode variables are fetched:
they are indirectly gotten from kernel memory and as such should be read
with KVM_READ.
This fixes fstat core dumps when some process holds a reference in a Linux
ext2fs filesystem.
Thanks to Aleksy Schubert (alx.at.mimuw.dot.edu.dot.pl) for debugging this
with me.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Oct 21 02:16:59 2003 UTC (20 years, 4 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Don't compare integers and NULL.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Aug 7 11:13:51 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.63: +3 -7 lines
Diff to previous 1.63 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jul 15 05:56:55 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.62: +8 -8 lines
Diff to previous 1.62 (colored)

use bounded string op

Revision 1.62 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:46 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.61: +26 -5 lines
Diff to previous 1.61 (colored)

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Feb 2 02:35:58 2003 UTC (21 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.60: +2 -5 lines
Diff to previous 1.60 (colored)

undo mallocvar.h changes!

Revision 1.60 / (download) - annotate - [select for diffs], Sat Feb 1 18:31:09 2003 UTC (21 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.59: +5 -2 lines
Diff to previous 1.59 (colored)

Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
build failure because MALLOC_DECLARE() is not defined.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Jan 20 06:20:37 2003 UTC (21 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.58: +5 -5 lines
Diff to previous 1.58 (colored)

Make it compile again on LP64 archs.
XXX - we *realy* need some format string macros for size_t/off_t!

Revision 1.58 / (download) - annotate - [select for diffs], Sun Jan 19 18:14:06 2003 UTC (21 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.57: +13 -15 lines
Diff to previous 1.57 (colored)

Use kvm_getprocs2 so independant of kernel version
(change aggreed by christos)

Revision 1.57 / (download) - annotate - [select for diffs], Sat Oct 26 06:03:50 2002 UTC (21 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.56: +3 -5 lines
Diff to previous 1.56 (colored)

add VT_LFS case.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Oct 23 22:37:11 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.55: +18 -2 lines
Diff to previous 1.55 (colored)

merge rev. 1.50.2.1 (made by lukem):
rudimentary support for for displaying DTYPE_KQUEUE fds

Revision 1.42.4.2 / (download) - annotate - [select for diffs], Wed Feb 13 23:28:22 2002 UTC (22 years ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.42.4.1: +5 -5 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Pull up revision 1.55 (requested by simonb):
  Add an extra column for inode numbers, and pull back the mode field
  to just 5 columns if in "numeric" mode.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Feb 12 03:28:20 2002 UTC (22 years ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored)

Add an extra column for inode numbers, and pull back the mode field to
just 5 columns if in "numeric" mode.  Other fields should dynamically
resize, but not today...

Revision 1.54 / (download) - annotate - [select for diffs], Sun Nov 25 18:49:02 2001 UTC (22 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.53: +6 -4 lines
Diff to previous 1.53 (colored)

for (new)pipes, print 'n' if it's in nonblocking mode, and 'a' if it's
set to async

Revision 1.53 / (download) - annotate - [select for diffs], Fri Oct 26 05:56:11 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.52: +2 -3 lines
Diff to previous 1.52 (colored)

remove #include <ufs/ufs/quota.h> where it was just to appease
<ufs/ufs/inode.h>, since the latter now includes the former.  leave the former
in source that obviously uses specific bits of it (for completeness.)

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 28 20:29:04 2001 UTC (22 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.51: +6 -4 lines
Diff to previous 1.51 (colored)

remove accidentaly left debug printf

change the pipe descriptor output to include 'r' or 'w' to explicitly
indicate it's open for reading or writing, similarily to "regular" descriptors

Revision 1.51 / (download) - annotate - [select for diffs], Fri Sep 28 20:16:43 2001 UTC (22 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

the descriptor flags may also contain other stuff besides FWRITE|FREAD,
so do '& FWRITE' instead of '== FWRITE' in the check in pipe-related code

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Tue Jul 10 12:30:58 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.50: +18 -2 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

add rudimentary support for displaying DTYPE_KQUEUE fds

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jul 8 20:24:05 2001 UTC (22 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-base
Branch point for: kqueue
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

fix comment

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jun 19 12:59:18 2001 UTC (22 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

`accessible' only has one `a'.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jun 17 08:27:57 2001 UTC (22 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.47: +11 -6 lines
Diff to previous 1.47 (colored)

convert if ... else if ... tree to a switch

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jun 16 12:08:05 2001 UTC (22 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.46: +32 -2 lines
Diff to previous 1.46 (colored)

Add support for DTYPE_PIPE pipes (a.k.a NEW_PIPE)

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jun 5 09:20:12 2001 UTC (22 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.45: +2 -4 lines
Diff to previous 1.45 (colored)

don't #define _LKM to work around header lossage; it is no longer necessary.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jan 4 23:05:55 2001 UTC (23 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

use %ll_ instead of the less standard %q_

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Mon Oct 2 03:11:37 2000 UTC (23 years, 5 months ago) by enami
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.42: +78 -27 lines
Diff to previous 1.42 (colored)

Pullup rev. 1.43 and 1.44.  This makes fstat works with layered filesystem
and fixes PR#11113.  Approved by thorpej.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 14 09:17:11 2000 UTC (23 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.43: +60 -40 lines
Diff to previous 1.43 (colored)

Redo previous a bit different way so that mount point of top layer is shown
instead of lowest one and ``fstat file-on-upperlayer'' works.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 14 06:03:21 2000 UTC (23 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.42: +34 -3 lines
Diff to previous 1.42 (colored)

Print lower vnode if vnode is on a layered filesystem.

Revision 1.42 / (download) - annotate - [select for diffs], Sat May 27 15:02:04 2000 UTC (23 years, 9 months ago) by sommerfeld
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.41: +28 -19 lines
Diff to previous 1.41 (colored)

Bring into line with recent ktrace changes

Revision 1.41 / (download) - annotate - [select for diffs], Fri Feb 4 11:02:00 2000 UTC (24 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.40: +41 -3 lines
Diff to previous 1.40 (colored)

add support for msdosfs

Revision 1.40 / (download) - annotate - [select for diffs], Fri Feb 4 10:35:46 2000 UTC (24 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.39: +39 -30 lines
Diff to previous 1.39 (colored)

move the mapping of vnode type to file type to separate function getftype()
and use it where appropriate

Revision 1.39 / (download) - annotate - [select for diffs], Fri Feb 4 09:43:45 2000 UTC (24 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

fix typo

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 17 16:14:39 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.37: +106 -4 lines
Diff to previous 1.37 (colored)

IPv6 support.
NetBSD PR: 9199 (with minor changes)

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 2 17:39:13 1999 UTC (24 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.36: +6 -2 lines
Diff to previous 1.36 (colored)

add support for ntfs

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jul 8 12:07:56 1999 UTC (24 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored)

Define "_LKM" before including kernel includes with "_KERNEL" defined
so that "opt_ffs.h" gets skipped.

Revision 1.35 / (download) - annotate - [select for diffs], Sun May 2 22:50:19 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +11 -6 lines
Diff to previous 1.34 (colored)

Adjust for cwdinfo changes.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Feb 18 06:09:25 1999 UTC (25 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.33: +81 -88 lines
Diff to previous 1.33 (colored)

as suggested by chuck cranor, pull in some openbsd mods:
* display ip address details of tcp/udp connections
* display isofs details
* use %p instead of %lx in error messages

other mods by me:
* don't put \n at the end of err()/warn() format
* man page cleanups (use .Dq and .Pq as appropriate)

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 28 21:25:58 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.32: +3 -4 lines
Diff to previous 1.32 (colored)

const propagation.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jul 28 21:16:42 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

const propagation.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jul 18 05:04:38 1998 UTC (25 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

use AF_LOCAL instead of AF_UNIX

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 16 22:23:30 1998 UTC (25 years, 7 months ago) by ross
Branch: MAIN
Changes since 1.29: +6 -5 lines
Diff to previous 1.29 (colored)

Fix LP64 problems from (5!) July deltas.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 6 22:59:58 1998 UTC (25 years, 8 months ago) by fair
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

one more thing...

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 6 21:47:07 1998 UTC (25 years, 8 months ago) by fair
Branch: MAIN
Changes since 1.27: +12 -22 lines
Diff to previous 1.27 (colored)

convert the remainder of the fprintf() to {err,warn}{,x}()

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 6 21:23:40 1998 UTC (25 years, 8 months ago) by fair
Branch: MAIN
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

fix build error - forgot to #include <err.h> for errx()

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jul 6 07:50:19 1998 UTC (25 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.25: +20 -10 lines
Diff to previous 1.25 (colored)

- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
  and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jul 3 15:49:25 1998 UTC (25 years, 8 months ago) by msaitoh
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

check return value of kvm_read() more safe

Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 20 00:00:49 1997 UTC (26 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.23: +15 -8 lines
Diff to previous 1.23 (colored)

Update for changes to how nfsnode attributes are stored.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Oct 18 15:28:08 1997 UTC (26 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.22: +60 -48 lines
Diff to previous 1.22 (colored)

WARNSify, fix .Nm usage, deprecate register

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 18 14:49:52 1997 UTC (26 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

getopt returns -1 not EOF

Revision 1.21 / (download) - annotate - [select for diffs], Sat Oct 18 11:38:27 1997 UTC (26 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored)

merge lite-2.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 12 07:45:28 1997 UTC (26 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.19: +30 -6 lines
Diff to previous 1.19 (colored)

Make this compile again, and add support for ext2fs.
Also 2 ufs->ffs conversions in pstat.8.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 3 22:47:17 1997 UTC (27 years ago) by explorer
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Add a double quote to make emacs's color mode happy...

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 11 08:40:44 1997 UTC (27 years ago) by mrg
Branch: MAIN
Changes since 1.17: +10 -10 lines
Diff to previous 1.17 (colored)

remove dangerous sprintf and strcpy calls.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 9 20:19:30 1997 UTC (27 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

RCS ID police

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 5 19:12:03 1996 UTC (27 years, 10 months ago) by mhitch
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Change -N and -M option string to specify the options have an argument.
Fixes PR#2374.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 20 16:04:47 1996 UTC (28 years ago) by fvdl
Branch: MAIN
Changes since 1.14: +7 -5 lines
Diff to previous 1.14 (colored)

Fix NFS include files; sync with Lite2

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Fri Sep 1 01:44:25 1995 UTC (28 years, 6 months ago) by jtc
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +6 -4 lines
Diff to previous 1.1.1.2 (colored)

imported from 44lite2

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 28 17:24:12 1995 UTC (28 years, 11 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

KERNEL -> _KERNEL

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 15 02:10:41 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.12: +7 -1 lines
Diff to previous 1.12 (colored)

Check for bogus file descriptor tables.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 24 16:38:43 1994 UTC (29 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

type sanity

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 13 22:12:13 1994 UTC (29 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.10: +2 -16 lines
Diff to previous 1.10 (colored)

Merge local changes.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 13 15:04:00 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

include file fix

Revision 1.9 / (download) - annotate - [select for diffs], Mon May 9 07:17:08 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.8: +17 -2 lines
Diff to previous 1.8 (colored)

get it to work with old private data allocation

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 9 07:07:39 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.7: +116 -129 lines
Diff to previous 1.7 (colored)

clean up import

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon May 9 07:06:24 1994 UTC (29 years, 10 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +118 -129 lines
Diff to previous 1.1.1.1 (colored)

new fstat

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 5 02:27:31 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

update for changed flags

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 26 02:04:49 1993 UTC (30 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

Fixed multiple off-by-one bugs which caused the open file printing to
not print the last open file.  patch from David Greenman
<davidg@implode.rain.com>.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 1 18:15:37 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Add RCS identifiers.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 20 11:54:51 1993 UTC (30 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

don't explicitly include select.h, but keep header cleanup

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 10:30:40 1993 UTC (30 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

fix for new select stuff

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 11 18:29:46 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

NFS not properly defined.  glass gets another point.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
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.




CVSweb <webmaster@jp.NetBSD.org>