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


Keyword substitution: kv
Default branch: MAIN


Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jul 28 23:41:16 2023 UTC (16 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Fix some macro( usage)s

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Jul 28 18:19:00 2023 UTC (16 months, 1 week ago) by christos
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +17 -2 lines
Add epoll(2) from Theodore Preduta as part of GSoC 2023

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Feb 13 16:51:56 2022 UTC (2 years, 9 months ago) by pgoyette
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
Fix typo

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Oct 23 01:28:34 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +14 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 20 03:26:20 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +12 -1 lines
Oops, forgot to note the history of NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE,
and NOTE_READ.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Oct 20 03:08:19 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +15 -7 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 13 04:57:19 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +76 -5 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 31 14:35:28 2020 UTC (4 years, 1 month ago) by christos
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1 lines
add missing sentence.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Oct 31 10:51:59 2020 UTC (4 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
Remove trailing whitespace.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Oct 31 01:08:31 2020 UTC (4 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +105 -10 lines
PR/55663: Ruslan Nikolaev: Add support for EVFILT_USER in kqueue(2)

Revision 1.47.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:13 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.47.4.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.4.1: +11 -3 lines
Merge changes from current as of 20200406

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Dec 23 01:46:09 2019 UTC (4 years, 11 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -1 lines
Explain in kevent(2) the semantics of EINTR

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

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Dec 22 17:01:15 2019 UTC (4 years, 11 months ago) by kamil
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -3 lines
Document udata type switch in struct kevent in the kqueue(2)

Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:21 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +32 -32 lines
Sync with HEAD

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Apr 12 10:57:27 2019 UTC (5 years, 7 months ago) by abhinav
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +32 -32 lines
Markup improvements: use Dv for kqueue filters, events and note names

ok wiz@

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Jan 9 03:31:12 2018 UTC (6 years, 10 months ago) by christos
Branches: 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
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -2 lines
Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Jul 3 21:32:50 2017 UTC (7 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +27 -27 lines
Remove workaround for ancient HTML generation code.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jun 7 20:54:59 2017 UTC (7 years, 5 months ago) by kamil
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -14 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 7 05:26:19 2017 UTC (7 years, 5 months ago) by abhinav
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 6 20:12:54 2017 UTC (7 years, 6 months ago) by abhinav
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Bump date for previous
Fix typo: fileystem -> filesystem

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Jun 6 17:01:59 2017 UTC (7 years, 6 months ago) by kamil
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +15 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed May 31 01:03:01 2017 UTC (7 years, 6 months ago) by kamil
Branches: MAIN
CVS tags: netbsd-8-base, netbsd-8-3-RELEASE, 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
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -2 lines
Document transition of EV_SET() from a macro to a static inline function

Sponsored by <The NetBSD Foundation>

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:52:54 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.1: +20 -13 lines
Sync with HEAD

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:09 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +20 -13 lines
Sync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Apr 11 17:59:23 2017 UTC (7 years, 7 months ago) by abhinav
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, bouyer-socketcan-base1
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -3 lines
Use more markup for `struct timespec`
Use Xr to refer to timespec(3)
Add timespec(3) to SEE ALSO

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Apr 11 11:06:39 2017 UTC (7 years, 7 months ago) by abhinav
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2 lines
s/Sets/Set: Use style consistent with the other sentences in that list.
Add .Pp before next sentence.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Apr 2 14:27:11 2017 UTC (7 years, 8 months ago) by abhinav
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
Fix sentence.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Apr 1 14:20:45 2017 UTC (7 years, 8 months ago) by abhinav
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +13 -9 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:03 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Dec 19 07:48:35 2016 UTC (7 years, 11 months ago) by abhinav
Branches: MAIN
CVS tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3 lines
Use markup for errno
Also remove a .Pp before .Bl while there

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Dec 8 14:52:06 2015 UTC (8 years, 11 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +16 -2 lines
PR/50506: Tobias Nygren: kqueue(2) lacks EV_DISPATCH/EV_RECEIPT support

Revision 1.33.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 14 04:39:58 2015 UTC (9 years, 7 months ago) by snj
Branches: 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
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 2 19:24:19 2015 UTC (9 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -2 lines
say that we put the exit code in data.

Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:27:54 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +6 -2 lines
resync with head

Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:25 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +6 -2 lines
sync with (a bit old) head

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 24 21:40:08 2012 UTC (12 years ago) by jdc
Branches: 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
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +6 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 24 21:40:03 2012 UTC (12 years ago) by jdc
Branches: 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
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +6 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 24 15:16:52 2012 UTC (12 years ago) by christos
Branches: 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
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -2 lines
mention that kevent returns now EOPNOTSUPP.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:26 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -2 lines
sync with head

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Jan 25 00:28:35 2012 UTC (12 years, 10 months ago) by christos
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 26 16:42:41 2011 UTC (13 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +21 -2 lines
* 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 - view: text, markup, annotated - select for diffs
Tue May 24 02:31:11 2011 UTC (13 years, 6 months ago) by ryo
Branches: MAIN
CVS tags: cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
fix incorrect variable name

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Apr 13 10:45:46 2010 UTC (14 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Uncomment pdf link for paper.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Apr 13 09:24:09 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -2 lines
Add the USENIX paper of Jonathan Lemon to SEE ALSO.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Mar 22 19:30:55 2010 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Use .In for header files instead of .Ar Pa and variations.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Nov 22 18:05:50 2009 UTC (15 years ago) by mbalmer
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
remove one the to much.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Oct 24 17:49:58 2009 UTC (15 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 1 22:12:05 2009 UTC (15 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +25 -25 lines
Make HTML-ready.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Sep 1 22:01:48 2009 UTC (15 years, 3 months ago) by elad
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +72 -2 lines
Add useful example program from

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

Revision 1.20.28.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:18:28 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +11 -24 lines
Sync with HEAD.

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

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Mar 12 10:16:37 2009 UTC (15 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +11 -13 lines
Use comments instead of .ig (requested by joerg).
Sort errors while here.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Feb 25 20:50:16 2009 UTC (15 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -12 lines
Remove pointless AUTHORS sections. The names are in the source and CVS
history along with everyone else who has contributed.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Oct 13 20:58:50 2006 UTC (18 years, 1 month ago) by wiz
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Make HTML-output safe.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Dec 9 19:49:53 2003 UTC (21 years ago) by augustss
Branches: 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
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Reference kfilter_register(9) rather than the non-existent kfilter_register(2).

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Apr 16 13:34:53 2003 UTC (21 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 16 09:52:40 2003 UTC (21 years, 9 months ago) by tron
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -2 lines
After "sys/event.h" was fixed "sys/types.h" doesn't need to be included
manually any more.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Feb 4 09:07:20 2003 UTC (21 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
update copyright dates and .Dd

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Feb 4 09:05:42 2003 UTC (21 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +13 -1 lines
Introduce EVFILT_TIMER, which allows a process to establish an
arbitrary number of timers, both oneshot and periodic.

from FreeBSD

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jan 19 20:12:31 2003 UTC (21 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -2 lines
g/c the NEXTRELEASE comment tag now that the next version number is decided

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jan 18 11:33:06 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1 lines
Merge the nathanw_sa branch.

Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:23:00 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.9.2.2: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +6 -9 lines
Catch up to -current

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 4 22:14:46 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
struct kevent's udata is actually intptr_t

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:35:24 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -8 lines
update HISTORY - kqueue branch was merged
bump date

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:27:46 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
'data' field of struct kevent is actually int64_t nowadays

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:16:58 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.1: preferred, colored
Changes since revision 1.9.2.1: +545 -0 lines
Catch up to -current.

Revision 1.9.2.1
Sun Oct 13 07:37:39 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.9: +0 -545 lines
file kqueue.2 was added on branch nathanw_sa on 2002-10-18 02:16:58 +0000

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Oct 13 07:37:39 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -6 lines
no more BUGS; EVFILT_{VNODE,READ} is supported also for other filesystems
than FFS

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 1 19:53:09 2002 UTC (22 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
deprecated, not depreciated.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Oct 1 18:10:44 2002 UTC (22 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +30 -22 lines
New sentence, new line. From Robert Elz.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Sep 25 00:55:16 2002 UTC (22 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +46 -42 lines
Drop trailing whitespace, and some mdoc fixes and improvements.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Sep 24 11:38:16 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
add missing comma

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Sep 24 10:29:29 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
'data' contains amount of space remaining in the write buffer also
for ttys

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 22 13:11:47 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +93 -17 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 7 08:24:11 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.1.1.2.2: preferred, colored; branchpoint 1.1.1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.1.1.2.2: +2 -2 lines
kevent(2): nchanges and nevents changed to size_t

Revision 1.1.1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 18 21:35:32 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.1.1.2.1: preferred, colored; branchpoint 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1.2.1: +4 -1 lines
credit Luke in HISTORY section

Revision 1.1.1.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 10 12:25:12 2001 UTC (23 years, 5 months ago) by lukem
Branches: kqueue
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +82 -16 lines
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 (23 years, 5 months ago) by lukem
Branches: MAIN
FILE REMOVED
Changes since revision 1.1: +0 -0 lines
move to kqueue branch for now

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Jun 28 08:01:35 2001 UTC (23 years, 5 months ago) by lukem
Branches: FreeBSD
CVS tags: kqueue-base, FreeBSD-20010710
Branch point for: kqueue
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
freebsd kqueue implementation

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jun 28 08:01:35 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>