The NetBSD Project

CVS log for src/lib/libc/sys/kqueue.2

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.58 / (download) - annotate - [select for diffs], Sun Feb 13 16:51:56 2022 UTC (11 months, 2 weeks ago) by pgoyette
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Fix typo

Revision 1.57 / (download) - annotate - [select for diffs], Sat Oct 23 01:28:34 2021 UTC (15 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.56: +14 -2 lines
Diff to previous 1.56 (colored)

Add support for the EVFILT_EMPTY filter, which is activated when the
write buffer associated with the file descriptor is empty.  This is
currently implemented only for sockets, and is intended primarily to
provide visibility to applications that all previously written data
has been acknowledged by the TCP layer on the receiver.  Compatible
with the same filter in FreeBSD.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Oct 20 03:26:20 2021 UTC (15 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.55: +12 -1 lines
Diff to previous 1.55 (colored)

Oops, forgot to note the history of NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE,
and NOTE_READ.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Oct 20 03:08:19 2021 UTC (15 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.54: +15 -7 lines
Diff to previous 1.54 (colored)

Overhaul of the EVFILT_VNODE kevent(2) filter:

- Centralize vnode kevent handling in the VOP_*() wrappers, rather than
  forcing each individual file system to deal with it (except VOP_RENAME(),
  because VOP_RENAME() is a mess and we currently have 2 different ways
  of handling it; at least it's reasonably well-centralized in the "new"
  way).
- Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ,
  compatible with the same events in FreeBSD.
- Track which kevent notifications clients are interested in receiving
  to avoid doing work for events no one cares about (avoiding, e.g.
  taking locks and traversing the klist to send a NOTE_WRITE when
  someone is merely watching for a file to be deleted, for example).

In support of the above:

- Add support in vnode_if.sh for specifying PRE- and POST-op handlers,
  to be invoked before and after vop_pre() and vop_post(), respectively.
  Basic idea from FreeBSD, but implemented differently.
- Add support in vnode_if.sh for specifying CONTEXT fields in the
  vop_*_args structures.  These context fields are used to convey information
  between the file system VOP function and the VOP wrapper, but do not
  occupy an argument slot in the VOP_*() call itself.  These context fields
  are initialized and subsequently interpreted by PRE- and POST-op handlers.
- Version VOP_REMOVE(), uses the a context field for the file system to report
  back the resulting link count of the target vnode.  Return this in tmpfs,
  udf, nfs, chfs, ext2fs, lfs, and ufs.

NetBSD 9.99.92.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 13 04:57:19 2021 UTC (15 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.53: +76 -5 lines
Diff to previous 1.53 (colored)

Add support for the NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS,
NOTE_NSECONDS, and NOTE_ABSTIME filter flags to EVFILT_TIMER,
API-compatible with the same in FreeBSD.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Oct 31 14:35:28 2020 UTC (2 years, 3 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.52: +2 -1 lines
Diff to previous 1.52 (colored)

add missing sentence.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Oct 31 10:51:59 2020 UTC (2 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Remove trailing whitespace.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Oct 31 01:08:31 2020 UTC (2 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.50: +105 -10 lines
Diff to previous 1.50 (colored)

PR/55663: Ruslan Nikolaev: Add support for EVFILT_USER in kqueue(2)

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:13 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.47.4.1: +11 -3 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Merge changes from current as of 20200406

Revision 1.50 / (download) - annotate - [select for diffs], Mon Dec 23 01:46:09 2019 UTC (3 years, 1 month ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 (colored)

Explain in kevent(2) the semantics of EINTR

All changes contained in the changelist are applied before returning this
error.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Dec 22 17:01:15 2019 UTC (3 years, 1 month ago) by kamil
Branch: MAIN
Changes since 1.48: +8 -3 lines
Diff to previous 1.48 (colored)

Document udata type switch in struct kevent in the kqueue(2)

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:21 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.47: +32 -32 lines
Diff to previous 1.47 (colored)

Sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Fri Apr 12 10:57:27 2019 UTC (3 years, 9 months ago) by abhinav
Branch: MAIN
CVS Tags: phil-wifi-20191119, 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.47: +32 -32 lines
Diff to previous 1.47 (colored)

Markup improvements: use Dv for kqueue filters, events and note names

ok wiz@

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jan 9 03:31:12 2018 UTC (5 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, 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
Branch point for: phil-wifi
Changes since 1.46: +5 -2 lines
Diff to previous 1.46 (colored)

Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jul 3 21:32:50 2017 UTC (5 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.45: +27 -27 lines
Diff to previous 1.45 (colored)

Remove workaround for ancient HTML generation code.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 7 20:54:59 2017 UTC (5 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.44: +4 -14 lines
Diff to previous 1.44 (colored)

EV_SET(2) - simplify description

Note only the information that it does not evaluate multiple times its
parameters.

Suggested by <wiz>.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 7 05:26:19 2017 UTC (5 years, 7 months ago) by abhinav
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

s/filesystem/file system/

Thanks to Thomas for pointing out that in NetBSD man pages we try to use the convention of writing it
as "file system".

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jun 6 20:12:54 2017 UTC (5 years, 7 months ago) by abhinav
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Bump date for previous
Fix typo: fileystem -> filesystem

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 6 17:01:59 2017 UTC (5 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.41: +15 -6 lines
Diff to previous 1.41 (colored)

Update the EV_SET() description with newer implementation.

EV_SET(2) is a macro again, that wraps an inline function which is still
new in NetBSD 8.0.

Sponsored by <The NetBSD Foundation>

Revision 1.41 / (download) - annotate - [select for diffs], Wed May 31 01:03:01 2017 UTC (5 years, 8 months ago) by kamil
Branch: MAIN
CVS Tags: 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
Changes since 1.40: +8 -2 lines
Diff to previous 1.40 (colored)

Document transition of EV_SET() from a macro to a static inline function

Sponsored by <The NetBSD Foundation>

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:54 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.35.2.1: +20 -13 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:09 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.36: +20 -13 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 11 17:59:23 2017 UTC (5 years, 9 months ago) by abhinav
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.39: +5 -3 lines
Diff to previous 1.39 (colored)

Use more markup for `struct timespec`
Use Xr to refer to timespec(3)
Add timespec(3) to SEE ALSO

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 11 11:06:39 2017 UTC (5 years, 9 months ago) by abhinav
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

s/Sets/Set: Use style consistent with the other sentences in that list.
Add .Pp before next sentence.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Apr 2 14:27:11 2017 UTC (5 years, 10 months ago) by abhinav
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Fix sentence.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Apr 1 14:20:45 2017 UTC (5 years, 10 months ago) by abhinav
Branch: MAIN
Changes since 1.36: +13 -9 lines
Diff to previous 1.36 (colored)

Add EV_SET() to the NAME section
Use Xr instead of Fn to refer other man pages
Add some more entries to SEE ALSO

Reviewed by wiz@

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:03 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored)

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

Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 19 07:48:35 2016 UTC (6 years, 1 month ago) by abhinav
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored)

Use markup for errno
Also remove a .Pp before .Bl while there

Revision 1.35 / (download) - annotate - [select for diffs], Tue Dec 8 14:52:06 2015 UTC (7 years, 1 month 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.34: +16 -2 lines
Diff to previous 1.34 (colored)

PR/50506: Tobias Nygren: kqueue(2) lacks EV_DISPATCH/EV_RECEIPT support

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Tue Apr 14 04:39:58 2015 UTC (7 years, 9 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up following revision(s) (requested by christos in ticket #677):
	lib/libc/sys/kqueue.2: revision 1.34
	sys/kern/kern_event.c: revision 1.83
put the exit code of the process in data, like FreeBSD does.
--
say that we put the exit code in data.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 2 19:24:19 2015 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored)

say that we put the exit code in data.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:54 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.32: +6 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

resync with head

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:25 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.31.2.1: +6 -2 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with (a bit old) head

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Sat Nov 24 21:40:08 2012 UTC (10 years, 2 months ago) by jdc
Branch: netbsd-6-0
CVS Tags: 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
Changes since 1.32: +6 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Pull up revisions:
  src/sys/kern/kern_event.c revision 1.79
  src/sys/kern/kern_descrip.c revision 1.219
  src/lib/libc/sys/kqueue.2 revision 1.33
  src/tests/lib/libc/sys/t_kevent.c revision 1.2-1.5
(requested by christos in ticket #716).

- initialize kn_id
- in close, invalidate f_data and f_type early to prevent accidental re-use
- add a DIAGNOSTIC for when we use unsupported fd's and a KASSERT for f_event
  being NULL.

Return EOPNOTSUPP for fnullop_kqfilter to prevent registration of unsupported
fds. XXX: We should really fix the fd's to be supported in the future.
Unsupported fd's have a NULL f_event, so registering crashes the kernel with
a NULL function dereference of f_event.

mention that kevent returns now EOPNOTSUPP.

Move the references to PRs from code comments to the test description. Once
ATF has the ability to output the metadata in the HTML reports, it should be
easy to traverse between releng and gnats -reports via links.

Add a (skipped for now) test case for PR 46463

adapt to new reality

Add a test for adding an event to an unsupported fd.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Nov 24 21:40:03 2012 UTC (10 years, 2 months ago) by jdc
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
Changes since 1.32: +6 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Pull up revisions:
  src/sys/kern/kern_event.c revision 1.79
  src/sys/kern/kern_descrip.c revision 1.219
  src/lib/libc/sys/kqueue.2 revision 1.33
  src/tests/lib/libc/sys/t_kevent.c revision 1.2-1.5
(requested by christos in ticket #716).

- initialize kn_id
- in close, invalidate f_data and f_type early to prevent accidental re-use
- add a DIAGNOSTIC for when we use unsupported fd's and a KASSERT for f_event
  being NULL.

Return EOPNOTSUPP for fnullop_kqfilter to prevent registration of unsupported
fds. XXX: We should really fix the fd's to be supported in the future.
Unsupported fd's have a NULL f_event, so registering crashes the kernel with
a NULL function dereference of f_event.

mention that kevent returns now EOPNOTSUPP.

Move the references to PRs from code comments to the test description. Once
ATF has the ability to output the metadata in the HTML reports, it should be
easy to traverse between releng and gnats -reports via links.

Add a (skipped for now) test case for PR 46463

adapt to new reality

Add a test for adding an event to an unsupported fd.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Nov 24 15:16:52 2012 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, agc-symver-base, agc-symver
Branch point for: netbsd-7
Changes since 1.32: +6 -2 lines
Diff to previous 1.32 (colored)

mention that kevent returns now EOPNOTSUPP.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:26 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.31: +7 -2 lines
Diff to previous 1.31 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 25 00:28:35 2012 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: tls-maxphys, netbsd-6-0, netbsd-6
Changes since 1.31: +7 -2 lines
Diff to previous 1.31 (colored)

As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE
on EPIPE for all file descriptor types:

- provide O_NOSIGPIPE for open,kqueue1,pipe2,dup3,fcntl(F_{G,S}ETFL) [NetBSD]
- provide SOCK_NOSIGPIPE for socket,socketpair [NetBSD]
- provide SO_NOSIGPIPE for {g,s}seckopt [NetBSD/FreeBSD/MacOSX]
- provide F_{G,S}ETNOSIGPIPE for fcntl [MacOSX]

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jun 26 16:42:41 2011 UTC (11 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.30: +21 -2 lines
Diff to previous 1.30 (colored)

* Arrange for interfaces that create new file descriptors to be able to
  set close-on-exec on creation (http://udrepper.livejournal.com/20407.html).

    - Add F_DUPFD_CLOEXEC to fcntl(2).
    - Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
    - Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
      for socket(2) and socketpair(2).
    - Add new paccept(2) syscall that takes an additional sigset_t to alter
      the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
      SOCK_NONBLOCK.
    - Add new mode character 'e' to fopen(3) and popen(3) to open pipes
      and file descriptors for close on exec.
    - Add new kqueue1(2) syscall with a new flags argument to open the
      kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.

* Fix the system calls that take socklen_t arguments to actually do so.

* Don't include userland header files (signal.h) from system header files
  (rump_syscallargs.h).

* Bump libc version for the new syscalls.

Revision 1.30 / (download) - annotate - [select for diffs], Tue May 24 02:31:11 2011 UTC (11 years, 8 months ago) by ryo
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

fix incorrect variable name

Revision 1.29 / (download) - annotate - [select for diffs], Tue Apr 13 10:45:46 2010 UTC (12 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Uncomment pdf link for paper.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Apr 13 09:24:09 2010 UTC (12 years, 9 months ago) by jruoho
Branch: MAIN
Changes since 1.27: +10 -2 lines
Diff to previous 1.27 (colored)

Add the USENIX paper of Jonathan Lemon to SEE ALSO.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 22 19:30:55 2010 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Use .In for header files instead of .Ar Pa and variations.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Nov 22 18:05:50 2009 UTC (13 years, 2 months ago) by mbalmer
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

remove one the to much.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Oct 24 17:49:58 2009 UTC (13 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.24: +8 -6 lines
Diff to previous 1.24 (colored)

simplify the example; only register the set of events to watch once since
it does not change. Also print that ATTR means changing times too.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Sep 1 22:12:05 2009 UTC (13 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.23: +25 -25 lines
Diff to previous 1.23 (colored)

Make HTML-ready.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Sep 1 22:01:48 2009 UTC (13 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.22: +72 -2 lines
Diff to previous 1.22 (colored)

Add useful example program from

	http://mail-index.netbsd.org/tech-kern/2009/09/01/msg006020.html

Revision 1.20.28.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:28 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.20: +11 -24 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

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

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 12 10:16:37 2009 UTC (13 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.21: +11 -13 lines
Diff to previous 1.21 (colored)

Use comments instead of .ig (requested by joerg).
Sort errors while here.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 25 20:50:16 2009 UTC (13 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.20: +1 -12 lines
Diff to previous 1.20 (colored)

Remove pointless AUTHORS sections. The names are in the source and CVS
history along with everyone else who has contributed.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 13 20:58:50 2006 UTC (16 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, 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-devfs2-base, mjf-devfs2, 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, christos-time_t
Branch point for: jym-xensuspend
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Make HTML-output safe.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Dec 9 19:49:53 2003 UTC (19 years, 1 month ago) by augustss
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, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Reference kfilter_register(9) rather than the non-existent kfilter_register(2).

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 16 13:34:53 2003 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 16 09:52:40 2003 UTC (19 years, 11 months ago) by tron
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

After "sys/event.h" was fixed "sys/types.h" doesn't need to be included
manually any more.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 4 09:07:20 2003 UTC (20 years ago) by jdolecek
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

update copyright dates and .Dd

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 4 09:05:42 2003 UTC (20 years ago) by jdolecek
Branch: MAIN
Changes since 1.14: +13 -1 lines
Diff to previous 1.14 (colored)

Introduce EVFILT_TIMER, which allows a process to establish an
arbitrary number of timers, both oneshot and periodic.

from FreeBSD

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 19 20:12:31 2003 UTC (20 years ago) by jdolecek
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

g/c the NEXTRELEASE comment tag now that the next version number is decided

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 18 11:33:06 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

Merge the nathanw_sa branch.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Mon Nov 11 22:23:00 2002 UTC (20 years, 2 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.9.2.2: +6 -9 lines
Diff to previous 1.9.2.2 (colored) next main 1.10 (colored)

Catch up to -current

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 4 22:14:46 2002 UTC (20 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

struct kevent's udata is actually intptr_t

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 23 09:35:24 2002 UTC (20 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.10: +5 -8 lines
Diff to previous 1.10 (colored)

update HISTORY - kqueue branch was merged
bump date

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 23 09:27:46 2002 UTC (20 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

'data' field of struct kevent is actually int64_t nowadays

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Fri Oct 18 02:16:58 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.1: +545 -0 lines
Diff to previous 1.9.2.1 (colored)

Catch up to -current.

Revision 1.9.2.1, Sun Oct 13 07:37:39 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9: +0 -545 lines
FILE REMOVED

file kqueue.2 was added on branch nathanw_sa on 2002-10-18 02:16:58 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 13 07:37:39 2002 UTC (20 years, 3 months ago) by jdolecek
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.8: +1 -6 lines
Diff to previous 1.8 (colored)

no more BUGS; EVFILT_{VNODE,READ} is supported also for other filesystems
than FFS

Revision 1.8 / (download) - annotate - [select for diffs], Tue Oct 1 19:53:09 2002 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

deprecated, not depreciated.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 1 18:10:44 2002 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.6: +30 -22 lines
Diff to previous 1.6 (colored)

New sentence, new line. From Robert Elz.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 25 00:55:16 2002 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.5: +46 -42 lines
Diff to previous 1.5 (colored)

Drop trailing whitespace, and some mdoc fixes and improvements.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 24 11:38:16 2002 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

add missing comma

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 24 10:29:29 2002 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

'data' contains amount of space remaining in the write buffer also
for ttys

Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 22 13:11:47 2002 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.2: +93 -17 lines
Diff to previous 1.2 (colored)

add kqueue(2)/kevent(2) manpage to mainline, to reduce difference between
the kqueue branch and -current and thus make testing easier

change HISTORY to clearly state this interface is only available with
  experimental kernel branch
add Jason Thorpe and me to AUTHORS
update .Dd

Revision 1.1.1.1.2.3 / (download) - annotate - [select for diffs], Fri Jun 7 08:24:11 2002 UTC (20 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.1.1.2.2: +2 -2 lines
Diff to previous 1.1.1.1.2.2 (colored) to branchpoint 1.1.1.1 (colored) next main 1.2 (colored)

kevent(2): nchanges and nevents changed to size_t

Revision 1.1.1.1.2.2 / (download) - annotate - [select for diffs], Mon Mar 18 21:35:32 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.1.1.2.1: +4 -1 lines
Diff to previous 1.1.1.1.2.1 (colored) to branchpoint 1.1.1.1 (colored)

credit Luke in HISTORY section

Revision 1.1.1.1.2.1 / (download) - annotate - [select for diffs], Tue Jul 10 12:25:12 2001 UTC (21 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.1.1.1: +82 -16 lines
Diff to previous 1.1.1.1 (colored)

document differences in netbsd implementation:
* we don't have rfork or AIO, so don't talk about it
* filter, flags and fflags are now uint32_t
* document KFILTER_BYFILTER and KFILTER_BYNAME ioctls
* expand filter description

Revision 1.2, Tue Jul 10 12:10:47 2001 UTC (21 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED

move to kqueue branch for now

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Jun 28 08:01:35 2001 UTC (21 years, 7 months ago) by lukem
Branch: FreeBSD
CVS Tags: kqueue-base, FreeBSD-20010710
Branch point for: kqueue
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

freebsd kqueue implementation

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 28 08:01:35 2001 UTC (21 years, 7 months ago) by lukem
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>