The NetBSD Project

CVS log for src/sys/miscfs/fifofs/fifo_vnops.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / miscfs / fifofs

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.91 / (download) - annotate - [select for diffs], Mon Oct 11 01:07:36 2021 UTC (13 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.90: +6 -6 lines
Diff to previous 1.90 (colored)

Setting EV_EOF requires modifying kn->kn_flags.  However, that relies on
holding the kq_lock of that note's kq.  Rather than exposing this directly,
add new knote_set_eof() and knote_clear_eof() functions that handle the
necessary locking and don't leak as many implementation details to modules.

NetBSD 9.99.91

Revision 1.90 / (download) - annotate - [select for diffs], Sat Oct 2 18:39:15 2021 UTC (14 months ago) by thorpej
Branch: MAIN
Changes since 1.89: +5 -4 lines
Diff to previous 1.89 (colored)

- Add a new EVFILT_WRITE test case for FIFOs that correctly validates
  the writability thresholds.
- Fix a bug in fifo_kqfilter() exposed by the new test case; in the
  EVFILT_WRITE case, we were attaching the wrong end of the socket
  pair to the knote!
- In filt_fiforead(), use ">= so->so_rcv.sb_lowat" rather than "> 0"
  for consistency with fifo_poll().  NFC.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Oct 2 17:37:21 2021 UTC (14 months ago) by thorpej
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

...and correct my terrible spelling.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Oct 2 17:32:55 2021 UTC (14 months ago) by thorpej
Branch: MAIN
Changes since 1.87: +19 -2 lines
Diff to previous 1.87 (colored)

- Strenghen the poll(2) fifo_inout test to ensure that once the reader
  has read enough that exactly PIPE_BUF space is available that the FIFO
  becomes writable again.
- When creating a FIFO, ensure that the receive low water mark is 1
  (a FIFO must be readable when at least 1 byte is available); this
  was already the case implicitly, but this makes it explicit.
- Similarly, set the send low water mark to PIPE_BUF to ensure that
  the pipe is writable when at least PIPE_BUF bytes of space are available
  in the send buffer.  Without this change, the strengthened test case
  above does not pass (the default send low water mark is larger than
  PIPE_BUF; see soreserve()).
- Make the same low water mark changes to the PIPE_SOCKETPAIR case.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Oct 2 02:07:41 2021 UTC (14 months ago) by thorpej
Branch: MAIN
Changes since 1.86: +76 -17 lines
Diff to previous 1.86 (colored)

- fifo_poll(): If the last writer has disappeared, detect this and return
  POLLHUP, per POSIX.
- fifo_close(): Use the new fifo_socantrcvmore(), which is like the
  garden-variety socantrcvmore(), except it specifies POLL_HUP rather
  than POLL_IN (so the correct code for SIGIO is sent).
- sowakeup(): Allow POLL_HUP as a code (notifies poll'ers with POLLHUP).
- Add test cases for correct POLLHUP behavior with FIFOs.

Fixes PR kern/56429.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Sep 29 13:15:45 2021 UTC (14 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.85: +4 -4 lines
Diff to previous 1.85 (colored)

The kq filterops that interact with sockets are MPSAFE.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Sep 29 02:47:22 2021 UTC (14 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.84: +6 -8 lines
Diff to previous 1.84 (colored)

- Change selremove_knote() from returning void to bool, and return
  true if the last knote was removed and there are no more knotes
  on the selinfo.
- Use this new return value in filt_sordetach(), filt_sowdetach(),
  filt_fifordetach(), and filt_fifowdetach() to know when to clear
  SB_KOTE without having to know select/kqueue implementation details.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Sep 26 01:16:10 2021 UTC (14 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored)

Change the kqueue filterops::f_isfd field to filterops::f_flags, and
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd.
Field and flag name aligned with OpenBSD.

This does not constitute a functional or ABI change, as the field location
and size, and the value placed in that field, are the same as the previous
code, but we're bumping __NetBSD_Version__ so 3rd-party module source code
can adapt, as needed.

NetBSD 9.99.89

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:08 2021 UTC (17 months, 1 week ago) by dholland
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.82: +3 -2 lines
Diff to previous 1.82 (colored)

- Add a new vnode op: VOP_PARSEPATH.
 - Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath.
 - Add a parsepath entry to every vnode ops table.

VOP_PARSEPATH takes a directory vnode to be searched and a complete
following path and chooses how much of that path to consume. To begin
with, all parsepath calls are genfs_parsepath, which locates the first
'/' as always.

Note that the call doesn't take the whole struct componentname, only
the string. The other bits of struct componentname should not be
needed and there's no reason to cause potential complications by
exposing them.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Dec 19 22:09:15 2020 UTC (23 months, 2 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.81: +9 -9 lines
Diff to previous 1.81 (colored)

Use sel{record,remove}_knote().

Revision 1.81 / (download) - annotate - [select for diffs], Sat Jun 27 17:29:19 2020 UTC (2 years, 5 months ago) by christos
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Introduce genfs_pathconf() and use it for the default case in all filesystems.

Revision 1.80 / (download) - annotate - [select for diffs], Sat May 16 18:31:51 2020 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.79: +3 -2 lines
Diff to previous 1.79 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Oct 25 08:12:39 2017 UTC (5 years, 1 month ago) by maya
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.78: +15 -6 lines
Diff to previous 1.78 (colored)

Use C99 initializer for filterops

Mostly done with spatch with touchups for indentation

@@
expression a;
identifier b,c,d;
identifier p;
@@
const struct filterops p =
- 	{ a, b, c, d
+ 	{
+ 	.f_isfd = a,
+ 	.f_attach = b,
+ 	.f_detach = c,
+ 	.f_event = d,
};

Revision 1.78 / (download) - annotate - [select for diffs], Tue Apr 11 14:25:00 2017 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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
Changes since 1.77: +4 -5 lines
Diff to previous 1.77 (colored)

Make VOP_INACTIVE preserve vnode lock on return.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!

Revision 1.77 / (download) - annotate - [select for diffs], Sat Aug 9 05:33:01 2014 UTC (8 years, 4 months ago) by rtr
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: pgoyette-localcount, nick-nhusb, bouyer-socketcan
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq
switches and put into separate functions

  - always KASSERT(solocked(so)) even if not implemented
    (for PRU_CONNECT2 only)

  - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to
    pr_connect2()

  - replace calls to pr_generic() with req = PRU_PURGEIF with calls to
    pr_purgeif()

put common code from unp_connect2() (used by unp_connect() into
unp_connect1() and call out to it when needed

patch only briefly reviewed by rmind@

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:52 2014 UTC (8 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.75: +4 -2 lines
Diff to previous 1.75 (colored)

Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.

Revision 1.75 / (download) - annotate - [select for diffs], Sat May 17 23:30:24 2014 UTC (8 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.74: +4 -7 lines
Diff to previous 1.74 (colored)

fifo_open: assign v_fifoinfo once initialised; add an assert while here.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:22 2014 UTC (8 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.73 / (download) - annotate - [select for diffs], Mon Apr 8 21:12:33 2013 UTC (9 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.72: +2 -4 lines
Diff to previous 1.72 (colored)

Remove some set but unused variables

Revision 1.72 / (download) - annotate - [select for diffs], Wed Dec 21 15:27:50 2011 UTC (10 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

only set CANTRCVMORE if no error.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Dec 20 23:56:29 2011 UTC (10 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.70: +9 -18 lines
Diff to previous 1.70 (colored)

- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.
- Introduce MSG_NBIO so that we can turn non blocking i/o on a per call basis
- Use MSG_NBIO to fix the XXX: multi-threaded issues on the fifo sockets.
- Don't set SO_CANTRCVMORE, if we were interrupted (perhaps do it for all
  errors?).

Revision 1.70 / (download) - annotate - [select for diffs], Wed Aug 31 18:31:03 2011 UTC (11 years, 3 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

NULL does not need a cast

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:16 2010 UTC (12 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.68: +7 -7 lines
Diff to previous 1.68 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Mar 29 13:11:33 2010 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.67: +80 -75 lines
Diff to previous 1.67 (colored)

Stop exposing fifofs internals and leave only fifo_vnodeop_p visible.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Mar 27 02:33:11 2010 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.66: +6 -5 lines
Diff to previous 1.66 (colored)

Access fifoinfo only when it's non-NULL.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:08 2008 UTC (14 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, mjf-devfs2-base, matt-premerge-20091211, 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, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.65: +2 -9 lines
Diff to previous 1.65 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.65 / (download) - annotate - [select for diffs], Thu Apr 24 15:18:11 2008 UTC (14 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.64: +11 -9 lines
Diff to previous 1.64 (colored)

Fix locking in the fifo kqueue routines.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:37 2008 UTC (14 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.63: +133 -66 lines
Diff to previous 1.63 (colored)

Merge the socket locking patch:

- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.

With much feedback from matt@ and plunky@.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored)

Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Feb 11 23:53:32 2008 UTC (14 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: mjf-devfs2
Changes since 1.61: +15 -5 lines
Diff to previous 1.61 (colored)

sprinkle KERNEL_LOCK for socket.
a little different version was tested by Matthias Drochner.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Feb 6 21:57:54 2008 UTC (14 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.60: +7 -6 lines
Diff to previous 1.60 (colored)

Don't lock the socket to set/clear FNONBLOCK. Just set it atomically.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:15 2008 UTC (14 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.59: +2 -3 lines
Diff to previous 1.59 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Dec 5 17:19:59 2007 UTC (15 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

Do not "return 1" from kqfilter for errors.  That value is passed
directly to the userland caller and results in a mysterious EPERM.
Instead, return EINVAL or something else sensible depending on the
case.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:13 2007 UTC (15 years ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.57: +9 -10 lines
Diff to previous 1.57 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.57 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:38 2006 UTC (16 years ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

__unused removal on arguments; approved by core.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:26 2006 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.55 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (16 years, 6 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored)

integrate kauth.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:50 2005 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.53: +17 -16 lines
Diff to previous 1.53 (colored)

merge ktrace-lwp.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:59 2005 UTC (17 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.52: +2 -7 lines
Diff to previous 1.52 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.52 / (download) - annotate - [select for diffs], Tue Aug 30 20:08:01 2005 UTC (17 years, 3 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Remove __P()

Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 26 22:59:00 2005 UTC (17 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

nuke trailing whitespace

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jul 17 20:53:01 2004 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.49: +18 -16 lines
Diff to previous 1.49 (colored)

Clean up reader/writer counts for the revoke case in fifo_close().

Revision 1.49 / (download) - annotate - [select for diffs], Sat May 22 22:52:14 2004 UTC (18 years, 6 months ago) by jonathan
Branch: MAIN
Changes since 1.48: +7 -5 lines
Diff to previous 1.48 (colored)

Eliminate several uses of `curproc' from the socket-layer code and from NFS.

Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded  by Matt Thomas.

Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize.   Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.

Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.

Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.

Revision 1.48 / (download) - annotate - [select for diffs], Wed May 12 02:07:37 2004 UTC (18 years, 6 months ago) by jrf
Branch: MAIN
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored)

caddr_t -> void * and removal of some more casts.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Apr 29 16:10:54 2004 UTC (18 years, 7 months ago) by jrf
Branch: MAIN
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored)

Removed remaining caddr_t casts we do not need in miscfs. Recompiled
kernel and ran for a day or so. There are still some caddr_t types in
the arguments of some calls, I will do those separately (later) as
they touch a lot more of the system.
Approved by christos@NetBSD.org.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Mar 6 00:38:29 2004 UTC (18 years, 9 months ago) by wrstuden
Branch: MAIN
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-base, 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-0, netbsd-2
Changes since 1.45: +8 -3 lines
Diff to previous 1.45 (colored)

Handle the case of fifo_close() getting called from vclean(). In that
case, we tear down the node-specific storage as if there were no more open
users. As vclean() will VT_NON the vnode before anyone else will get access
to the vnode, this is our last chance.

Fixes memory leak in revoke(2) path noticed by tedu at openbsd dot org.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Nov 29 10:02:42 2003 UTC (19 years ago) by matt
Branch: MAIN
Changes since 1.44: +4 -3 lines
Diff to previous 1.44 (colored)

Restore a change that made AF_LOCAL sockets block on connect(2) until
accepted.  However, this time this behavor is not the default.  Instead
it must enabled by using the LOCAL_CONNWAIT socket option on either the
connecting or accepting socket.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Nov 29 06:15:00 2003 UTC (19 years ago) by perry
Branch: MAIN
Changes since 1.43: +1 -2 lines
Diff to previous 1.43 (colored)

Revert a change that altered the semantics of AF_LOCAL sockets. Sadly
this made us API incompatible with other Unixes.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Sep 3 21:30:14 2003 UTC (19 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

Change the behavor of AF_LOCAL connect() to sleep until the server has
accepted the connection.  This can prevent a client from overwhelming a
server.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:34 2003 UTC (19 years, 4 months ago) by agc
Branch: MAIN
Changes since 1.41: +3 -7 lines
Diff to previous 1.41 (colored)

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

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

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:39 2003 UTC (19 years, 5 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.40: +11 -11 lines
Diff to previous 1.40 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:01 2003 UTC (19 years, 5 months ago) by darrenr
Branch: MAIN
Changes since 1.39: +13 -13 lines
Diff to previous 1.39 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 17 00:06:24 2003 UTC (19 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Fix a race condition where a writer could already have closed the fifo
before the reader woke up - this made the reader loop again, waiting
for another writer, even though there was input available.

Thanks to Jaromir for spotting the real cause and sugesting a solution.

This should fix PR port-sparc64/20283.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 2 18:54:50 2003 UTC (19 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.37: +4 -5 lines
Diff to previous 1.37 (colored)

use different wmesg for the reader and the writer

Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 26 19:01:55 2002 UTC (20 years ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.36: +7 -7 lines
Diff to previous 1.36 (colored)

si_ -> sel_

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:35 2002 UTC (20 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.35: +93 -2 lines
Diff to previous 1.35 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 26 01:29:53 2002 UTC (20 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, gehenna-devsw-base
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (colored)

Fix a signed/unsigned comparison warning from GCC 3.3.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 27 16:43:36 2002 UTC (20 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.33: +12 -12 lines
Diff to previous 1.33 (colored)

we can't use the vnode's v_usecount to track how many times the vnode
has been VOP_OPEN()'d.  if the fifo is being accessed via a layered fs,
v_usecount is always one (representing the hold by the layered vnode)
regardless of how many times the vnode has been opened.  instead, keep a
separate counter for opens.  fixes PR 17195 and probably 17724.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Dec 6 04:27:41 2001 UTC (21 years ago) by chs
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.32: +2 -23 lines
Diff to previous 1.32 (colored)

add a VOP_PUTPAGES method for all the filesystems that don't have pages,
just unlock the interlock.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Nov 10 13:33:41 2001 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored)

add RCSIDs

Revision 1.31 / (download) - annotate - [select for diffs], Sat Sep 22 22:35:18 2001 UTC (21 years, 2 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.30: +23 -1 lines
Diff to previous 1.30 (colored)

Add fifo_putpages() placebo so that the vnode's uobj is unlocked.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 27 19:52:21 2001 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.29: +81 -83 lines
Diff to previous 1.29 (colored)

convert to ansi knf

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 22 12:17:38 2001 UTC (21 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const

Revision 1.28 / (download) - annotate - [select for diffs], Thu Mar 30 12:22:13 2000 UTC (22 years, 8 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Register, begone!

Revision 1.27 / (download) - annotate - [select for diffs], Sat Oct 31 01:18:41 1998 UTC (24 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.26: +5 -4 lines
Diff to previous 1.26 (colored)

Use the so_send and so_receive funcptrs in the socket instead of calling
sosend/soreceive directly.  [I've been meaning to commit these for months.]

Revision 1.26 / (download) - annotate - [select for diffs], Mon Aug 3 14:19:59 1998 UTC (24 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

Recognize _PC_SYNC_IO.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 1 02:21:30 1998 UTC (24 years, 9 months ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.24: +35 -37 lines
Diff to previous 1.24 (colored)

Merge with Lite2 + local changes

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 9 13:12:01 1997 UTC (25 years, 2 months ago) by mycroft
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, marc-pcmcia-base
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Make openstr[] const.

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 18 12:19:29 1997 UTC (25 years, 6 months ago) by kleink
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.22: +6 -2 lines
Diff to previous 1.22 (colored)

When reading from an empty FIFO no process has opened for writing, and
O_NONBLOCK is set, return 0.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 13 02:21:29 1996 UTC (26 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

backout previous kprintf changes

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 10 22:54:04 1996 UTC (26 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 7 12:41:11 1996 UTC (26 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +15 -13 lines
Diff to previous 1.19 (colored)

Implement poll(2).

Revision 1.19 / (download) - annotate - [select for diffs], Sun Sep 1 23:48:04 1996 UTC (26 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +9 -47 lines
Diff to previous 1.18 (colored)

Add a set of generic file system operations that most file systems use.
Also, fix some time stamp bogosities.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 16 23:52:42 1996 UTC (26 years, 8 months ago) by christos
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.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix printf format follies.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 9 22:40:16 1996 UTC (26 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.16: +76 -56 lines
Diff to previous 1.16 (colored)

miscfs prototype changes

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 14 23:30:14 1995 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.15: +60 -45 lines
Diff to previous 1.15 (colored)

Allow opening a FIFO with O_RDWR.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 2 19:27:48 1995 UTC (27 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +9 -2 lines
Diff to previous 1.14 (colored)

Emulate SCO behaviour when both FREAD and FWRITE are set, but only for SCO
executables.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 14 18:45:42 1994 UTC (27 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Remove a_fp.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 13 20:14:39 1994 UTC (28 years ago) by mycroft
Branch: MAIN
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 (colored)

Turn lease_check() into a vnode op, per CSRG.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 14 06:05:45 1994 UTC (28 years ago) by christos
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

fixed struct comment

Revision 1.11 / (download) - annotate - [select for diffs], Sat Oct 29 07:58:48 1994 UTC (28 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

light clean; make sure headers are properly included, types are OK, etc.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 20 04:26:25 1994 UTC (28 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

update for new syscall args description mechanism

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 29 06:34:24 1994 UTC (28 years, 5 months ago) by cgd
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.8: +3 -2 lines
Diff to previous 1.8 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 8 11:33:17 1994 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +203 -155 lines
Diff to previous 1.7 (colored)

Update to 4.4-Lite fs code, with local changes.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 5 11:34:51 1994 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

fix return type for fifo_print

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 18 03:49:25 1993 UTC (28 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +16 -15 lines
Diff to previous 1.5 (colored)

Canonicalize all #includes.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 27 06:01:28 1993 UTC (29 years, 5 months ago) by andrew
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base
Branch point for: magnum
Changes since 1.4: +20 -6 lines
Diff to previous 1.4 (colored)

ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 27 15:38:18 1993 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

make the sleeps on socket open interruptable.

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 02:54:13 1993 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

add $Id$ strings, and clean up file headers where necessary

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 2 20:19:48 1993 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.1: +16 -6 lines
Diff to previous 1.1 (colored)

Jay Fenlason <hack@datacube.com>:

1: the fi_readers and fi_writers fields of the fifoinfo structure were not
being initialized to 0.  This caused the driver to not sleep the first
process to open the fifo--it thought there was already another process to
talk to (most of the time.)

2: fifo_open() was calling tsleep() without unlocking the inode of the fifo
file.  This caused *any* subsequent access to the file (even an ls (!)) to
hang forever.  Note that this bug was usually masked by bug #1 above.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (29 years, 8 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>