The NetBSD Project

CVS log for src/sys/compat/netbsd32/netbsd32_ioctl.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / netbsd32

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.103.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 20 14:01:59 2024 UTC (3 weeks ago) by martin
Branches: netbsd-9
Diff to: previous 1.103.2.2: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.2.2: +3 -2 lines
Pull up following revision(s) (requested by riastradh in ticket #1921):

	sys/kern/kern_event.c: revision 1.106
	sys/kern/sys_select.c: revision 1.51
	sys/kern/subr_exec_fd.c: revision 1.10
	sys/kern/sys_aio.c: revision 1.46
	sys/kern/kern_descrip.c: revision 1.244
	sys/kern/kern_descrip.c: revision 1.245
	sys/ddb/db_xxx.c: revision 1.72
	sys/ddb/db_xxx.c: revision 1.73
	sys/miscfs/fdesc/fdesc_vnops.c: revision 1.132
	sys/kern/uipc_usrreq.c: revision 1.195
	sys/kern/sys_descrip.c: revision 1.36
	sys/kern/uipc_usrreq.c: revision 1.196
	sys/kern/uipc_socket2.c: revision 1.135
	sys/kern/uipc_socket2.c: revision 1.136
	sys/kern/kern_sig.c: revision 1.383
	sys/kern/kern_sig.c: revision 1.384
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.107
	sys/miscfs/procfs/procfs_vnops.c: revision 1.208
	sys/kern/subr_exec_fd.c: revision 1.9
	sys/kern/kern_descrip.c: revision 1.252
	(all via patch)

Load struct filedesc::fd_dt with atomic_load_consume.

Exceptions: when fd_refcnt <= 1, or when holding fd_lock.

While here:
- Restore KASSERT(mutex_owned(&fdp->fd_lock)) in fd_unused.
  => This is used only in fd_close and fd_abort, where it holds.
- Move bounds check assertion in fd_putfile to where it matters.
- Store fd_dt with atomic_store_release.
- Move load of fd_dt under lock in knote_fdclose.
- Omit membar_consumer in fdesc_readdir.
  => atomic_load_consume serves the same purpose now.
  => Was needed only on alpha anyway.

Load struct fdfile::ff_file with atomic_load_consume.
Exceptions: when we're only testing whether it's there, not about to
dereference it.

Note: We do not use atomic_store_release to set it because the
preceding mutex_exit should be enough.

(That said, it's not clear the mutex_enter/exit is needed unless
refcnt > 0 already, in which case maybe it would be a win to switch
from the membar implied by mutex_enter to the membar implied by
atomic_store_release -- which I would generally expect to be much
cheaper.  And a little clearer without a long comment.)
kern_descrip.c: Fix membars around reference count decrement.

In general, the `last one out hit the lights' style of reference
counting (as opposed to the `whoever's destroying must wait for
pending users to finish' style) requires memory barriers like so:

        ... usage of resources associated with object ...
        membar_release();
        if (atomic_dec_uint_nv(&obj->refcnt) != 0)
                return;
        membar_acquire();
        ... freeing of resources associated with object ...

This way, all usage happens-before all freeing.  This fixes several
errors:
- fd_close failed to ensure whatever its caller did would
  happen-before the freeing, in the case where another thread is
  concurrently trying to close the fd (ff->ff_file == NULL).
  Fix: Add membar_release before atomic_dec_uint(&ff->ff_refcnt) in
  that branch.
- fd_close failed to ensure all loads its caller had issued will have
  happened-before the freeing, in the case where the fd is still in
  use by another thread (fdp->fd_refcnt > 1 and ff->ff_refcnt-- > 0).
  Fix: Change membar_producer to membar_release before
  atomic_dec_uint(&ff->ff_refcnt).
- fd_close failed to ensure that any usage of fp by other callers
  would happen-before any freeing it does.
  Fix: Add membar_acquire after atomic_dec_uint_nv(&ff->ff_refcnt).
- fd_free failed to ensure that any usage of fdp by other callers
  would happen-before any freeing it does.
  Fix: Add membar_acquire after atomic_dec_uint_nv(&fdp->fd_refcnt).

While here, change membar_exit -> membar_release.  No semantic
change, just updating away from the legacy API.

Revision 1.103.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 18 17:38:03 2024 UTC (3 weeks, 2 days ago) by martin
Branches: netbsd-9
Diff to: previous 1.103.2.1: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.2.1: +3 -12 lines
Pull up following revision(s) (requested by 1922):

	tests/kernel/Makefile: revision 1.83
	sys/sys/filedesc.h: revision 1.71
	distrib/sets/lists/tests/mi: revision 1.1346
	tests/kernel/h_cloexec.c: revision 1.1
	tests/kernel/t_cloexec.c: revision 1.1
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.122
	distrib/sets/lists/debug/mi: revision 1.454

tests/kernel/t_cloexec: New tests for close-on-exec.

Verified that the following tests fail on a netbsd-10 kernel:
- clonedev_posixspawn
- dup3_posixspawn
- fcntldupfd_posixspawn

PR kern/58822: close-on-exec is broken for dup3 and opening cloning
devices
sys/filedesc.h: Add a note about writing to ff_exclose.
No functional change intended -- just a reminder to avoid repeating a
class of bugs we've had.

PR kern/58822: close-on-exec is broken for dup3 and opening cloning
devices

netbsd32_ioctl: Use fd_set_exclose instead of open-coding it.
No functional change intended -- this just reduces unnecessary
copies of open-coded logic which, when copied incompletely, led to:

PR kern/58822: close-on-exec is broken for dup3 and opening cloning
devices

Revision 1.120.4.2: download - view: text, markup, annotated - select for diffs
Sun Nov 17 16:16:11 2024 UTC (3 weeks, 3 days ago) by martin
Branches: netbsd-10
Diff to: previous 1.120.4.1: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.4.1: +4 -13 lines
Pull up following revision(s) (requested by riastradh in ticket #1007):

	tests/kernel/Makefile: revision 1.83
	sys/sys/filedesc.h: revision 1.71
	distrib/sets/lists/tests/mi: revision 1.1346
	tests/kernel/h_cloexec.c: revision 1.1
	tests/kernel/t_cloexec.c: revision 1.1
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.122
	distrib/sets/lists/debug/mi: revision 1.454

tests/kernel/t_cloexec: New tests for close-on-exec.
Verified that the following tests fail on a netbsd-10 kernel:
- clonedev_posixspawn
- dup3_posixspawn
- fcntldupfd_posixspawn
PR kern/58822: close-on-exec is broken for dup3 and opening cloning
devices


sys/filedesc.h: Add a note about writing to ff_exclose.
No functional change intended -- just a reminder to avoid repeating a
class of bugs we've had.
PR kern/58822: close-on-exec is broken for dup3 and opening cloning
devices


netbsd32_ioctl: Use fd_set_exclose instead of open-coding it.
No functional change intended -- this just reduces unnecessary
copies of open-coded logic which, when copied incompletely, led to:
PR kern/58822: close-on-exec is broken for dup3 and opening cloning
devices

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Nov 10 16:20:12 2024 UTC (4 weeks, 3 days ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +4 -13 lines
netbsd32_ioctl: Use fd_set_exclose instead of open-coding it.

No functional change intended -- this just reduces unnecessary
copies of open-coded logic which, when copied incompletely, led to:

PR kern/58822: close-on-exec is broken for dup3 and opening cloning
devices

Revision 1.120.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 26 15:53:47 2024 UTC (6 weeks, 4 days ago) by martin
Branches: netbsd-10
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +34 -2 lines
Pull up following revision(s) (requested by rin in ticket #988):

	sys/compat/netbsd32/netbsd32_ioctl.h: revision 1.80
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.121

PR 58235: add support for SIOCGIFDATA and SIOCZIFDATA ioctls.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat May 11 10:22:17 2024 UTC (7 months ago) by martin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +34 -2 lines
PR 58235: add support for SIOCGIFDATA and SIOCZIFDATA ioctls.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Dec 22 00:21:32 2021 UTC (2 years, 11 months ago) by roy
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +28 -3 lines
Handle the SIOCGNBRINFO ioctl for compat32.
arp -a works with compat32 now.

Credit to simonb@ for the ndp fix from which this is cribbed.

Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:17 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +4 -2 lines
Sync with HEAD.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Wed Apr 14 16:26:23 2021 UTC (3 years, 7 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +4 -2 lines
Add DIOCGDISKINFO compat.

Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:42 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +114 -6 lines
Sync with HEAD.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Jan 17 10:50:01 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +35 -2 lines
Handle the SIOCGNBRINFO_IN6 ioctl for compat32.  ndp -a works with
compat32 now.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Thu Jan 14 23:30:50 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -7 lines
Remove some blank lines to group the VND and FSS ioctls together.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Jan 14 08:22:51 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +27 -2 lines
Handle the KFILTER_BYFILTER and KFILTER_BYNAME ioctls for compat32.
Passes "atf kernel/kqueue/t_ioctl".

Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Jan 14 08:00:45 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +57 -2 lines
Handle FSSIOCSET and FSSIOCGET; vndconfig(8) works with compat32 now.
XXX: FSSIOCSET50 and FSSIOCGET50 are not (yet) handled.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Tue Jul 21 05:33:51 2020 UTC (4 years, 4 months ago) by simonb
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +55 -2 lines
Add lockstat(1) ioctl handling.

mrg@: "looks ok."

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Jul 18 12:46:19 2020 UTC (4 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +4 -2 lines
Add BIOCSETWF32 (bpf)

Revision 1.92.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:16 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.92.2.2: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +6 -0 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.92.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:01 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.92.2.1: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.1: +34 -12 lines
Merge changes from current as of 20200406

Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon Mar 16 01:37:51 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +79 -2 lines
Unfortunately all the clockctl ioctls contain pointers to structs instead
of the structs themselves, so they need special handling. Undo previous
and do the permissions checks explicitly. It would be better to fix the
clockctl ioctls to contain the structs themselves...

Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Mar 16 00:05:29 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -60 lines
Don't open-code ioctls, pass back to the 64 bit ones (found by maxv@),

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Mar 14 04:39:15 2020 UTC (4 years, 8 months ago) by maxv
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3 lines
wrong size passed to copyout

Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:00 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +10 -9 lines
Sync with head.

Revision 1.89.8.3: download - view: text, markup, annotated - select for diffs
Thu Feb 13 19:34:29 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE
Diff to: previous 1.89.8.2: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.8.2: +8 -8 lines
Pull up following revision(s) (requested by mlelstv in ticket #1504):

	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.108
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.109

Don't use strlcpy to copy untrusted input, it may not be NUL-terminated.

Where did the +1 came from ?

Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Thu Feb 13 19:28:15 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +8 -8 lines
Pull up following revision(s) (requested by mlelstv in ticket #706):

	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.108
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.109

Don't use strlcpy to copy untrusted input, it may not be NUL-terminated.

Where did the +1 came from ?

Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Feb 11 06:33:51 2020 UTC (4 years, 10 months ago) by mlelstv
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3 lines
Where did the +1 came from ?

Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Feb 10 22:33:28 2020 UTC (4 years, 10 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +8 -8 lines
Don't use strlcpy to copy untrusted input, it may not be NUL-terminated.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Feb 1 02:23:03 2020 UTC (4 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -3 lines
Load struct filedesc::fd_dt with atomic_load_consume.

Exceptions: when fd_refcnt <= 1, or when holding fd_lock.

While here:

- Restore KASSERT(mutex_owned(&fdp->fd_lock)) in fd_unused.
  => This is used only in fd_close and fd_abort, where it holds.
- Move bounds check assertion in fd_putfile to where it matters.
- Store fd_dt with atomic_store_release.
- Move load of fd_dt under lock in knote_fdclose.
- Omit membar_consumer in fdesc_readdir.
  => atomic_load_consume serves the same purpose now.
  => Was needed only on alpha anyway.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Nov 18 04:17:08 2019 UTC (5 years ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +1 -37 lines
Sorry, revert unintentional parts of the previous commit:
http://mail-index.netbsd.org/source-changes/2019/11/18/msg110946.html

I was going to commit only netbsd32_signal.c.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Nov 18 04:09:53 2019 UTC (5 years ago) by rin
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +39 -3 lines
Belatedly catch up with kern_sig.c rev 1.358:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/kern_sig.c#rev1.358

Provide syscall information with SIGTRAP TRAP_SCE/TRAP_SCX so that
picotrace/truss, for example, works fine on COMPAT_NETBSD32.

With some minor changes:

- Centralize netbsd32_si{,32}_si{32,}() into netbsd32_ksi{,32}_ksi{32,}().
- Provide si_status with SIGCHLD.
- Remove the remaining of SA.

XXX
pullup to netbsd-9

Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Aug 20 09:32:21 2019 UTC (5 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +8 -2 lines
compat32 drm ioctl support from Surya Shankar at GSoC 2019

Revision 1.89.8.2: download - view: text, markup, annotated - select for diffs
Mon Jul 22 16:27:29 2019 UTC (5 years, 4 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.89.8.1: preferred, colored; branchpoint 1.89: preferred, colored
Changes since revision 1.89.8.1: +8 -2 lines
Pull up following revision(s) (requested by rin in ticket #1054):

	sys/compat/netbsd32/netbsd32_ioctl.h: revision 1.65
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.98
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.99

PR/53666: Rin Okuyama: tcpdump for i386 does not work with COMPAT_NETBSD32
on amd64. Add BIOCSRTIMEOUT32.

 -

Correct misleading names of dummy variables. No binary changes intended.

Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:01 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +235 -179 lines
Sync with HEAD

Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri May 17 07:37:12 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -2 lines
 The max subtype of the ifmedia word is 31. It's too small for Ethernet now.
We currently use use it up to 30. We should extend the limit to be able to use
more than 10Gbps speeds. Our ifmedia(4) is inconvenience and have some problem
so we should redesign the interface, but it's too late for netbsd-9 to do it.
So, we keep the data structure size and modify the structure a bit. The
strategy is almost the same as FreeBSD. Many bits of IFM_OMASK for Ethernet
have not used, so use some of them for Ethernet's subtype.

The differences against FreeBSD are:
 - We use NetBSD style compat code (i.e. no SIOCGIFXMEDIA).
 - FreeBSD's IFM_ETH_XTYPE's bit location is from 11 to "14" even though
   IFM_OMASK is from 8 to "15". We use _IFM_ETH_XTMASK from bit 13 to "15".
 - FreeBSD changed the meaning of IFM_TYPE_MATCH(). I think we should
   not do it. We keep it not changing and added new IFM_TYPE_SUBTYPE_MATCH()
   macro for matching both TYPE and SUBTYPE.
 - Added up to 400GBASE-SR16.

New layout of the media word is as follows (from ifmedia_h):

 * if_media Options word:
 *	Bits	Use
 *	----	-------
 *	0-4	Media subtype	MAX SUBTYPE == 255 for ETH and 31 for others
 *	5-7	Media type
 *	8-15	Type specific options
 *	16-18	Mode (for multi-mode devices)
 *	19	(Reserved for Future Use)
 *	20-27	Shared (global) options
 *	28-31	Instance
 *
 *   3                     2                   1
 *   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
 *  +-------+---------------+-+-----+---------------+-----+---------+
 *  |       |               |R|     |               |     |         |
 *  | IMASK |     GMASK     |F|MMASK+-----+ OMASK   |NMASK|  TMASK  |
 *  |       |               |U|     |XTMSK|         |     |         |
 *  +-------+---------------+-+-----+-----+---------+-----+---------+
 *   <----->                   <--->                 <--->
 *  IFM_INST()               IFM_MODE()            IFM_TYPE()
 *
 *                              IFM_SUBTYPE(other than ETH)<------->
 *
 *                                   <---> IFM_SUBTYPE(ETH)<------->
 *
 *
 *           <------------->         <------------->
 *                        IFM_OPTIONS()

Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Apr 23 07:45:06 2019 UTC (5 years, 7 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +142 -141 lines
 KNF. No functional change.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:40 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: MAIN
CVS tags: isaki-audio2-base, isaki-audio2
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +7 -3 lines
Merge the [pgoyette-compat] branch

Revision 1.91.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:29 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.91.2.5: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.2.5: +77 -6 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Nov 25 17:58:29 2018 UTC (6 years ago) by mlelstv
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +77 -6 lines
Restore netbsd32 compat code for new NPF ABI.

Revision 1.91.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:30 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.91.2.4: preferred, colored; branchpoint 1.91: preferred, colored
Changes since revision 1.91.2.4: +12 -3 lines
Sync with head

Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Oct 12 05:06:05 2018 UTC (6 years, 2 months ago) by rin
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3 lines
PR kern/53666
Correct misleading names of dummy variables. No binary changes intended.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Oct 11 15:23:22 2018 UTC (6 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +8 -2 lines
PR/53666: Rin Okuyama: tcpdump for i386 does not work with COMPAT_NETBSD32
on amd64. Add BIOCSRTIMEOUT32.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:22:16 2018 UTC (6 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +6 -3 lines
comment out unused

Revision 1.91.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:49 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.91.2.3: preferred, colored; branchpoint 1.91: preferred, colored
Changes since revision 1.91.2.3: +30 -61 lines
Ssync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Sep 29 14:41:35 2018 UTC (6 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: pgoyette-compat-0930
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -59 lines
NPF: Major rework -- migrate NPF to the libnv library.
- This conversion significantly simplifies the code and moves NPF to
  a binary serialisation format (replacing the XML-like format).
- Fix some memory/reference leaks and possibly use-after-free bugs.
- Bump NPF_VERSION as this change makes libnpf incompatible with the
  previous versions.  Also, different serialisation format means NPF
  connection/config saving and loading is not compatible with the
  previous versions either.

Thanks to christos@ for extra testing.

Revision 1.91.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 25 21:41:30 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.91.2.2: preferred, colored; branchpoint 1.91: preferred, colored
Changes since revision 1.91.2.2: +7 -3 lines
Additional use of NTP function pointers, since the NTP code might not
exist in the kernel.  (NTP is not (yet) a module, so we don't need to
use the MP-safe mechanism.)

Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Sep 24 21:15:39 2018 UTC (6 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -4 lines
fix DIOCLWEDGES to at least not fail with ENOTTY due to struct size difference,
but probably more needs to be done to work if any actual wedges are configured

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Sep 24 21:08:08 2018 UTC (6 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +28 -2 lines
add support for DIOCGSTRATEGY and DIOCSSTRATEGY

Revision 1.91.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:46 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.91.2.1: preferred, colored; branchpoint 1.91: preferred, colored
Changes since revision 1.91.2.1: +4 -4 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:29 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -4 lines
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 15 09:12:05 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +29 -2 lines
Synch with HEAD

Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Mar 6 07:59:59 2018 UTC (6 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-base, 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
Branch point for: phil-wifi
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +29 -2 lines
Add DIOCLWEDGES

Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Jan 19 23:38:56 2018 UTC (6 years, 10 months ago) by macallan
Branches: MAIN
CVS tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +46 -2 lines
add conversion goop for WSDISPLAYIO_LDFONT and _SFONT
tested on mips64

Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:56 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.1: +357 -32 lines
update from HEAD

Revision 1.89.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 27 14:07:53 2017 UTC (7 years ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +21 -4 lines
Pull up following revision(s) (requested by jmcneill in ticket #396):
	sys/compat/netbsd32/netbsd32_ioctl.h: revision 1.57
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.90
Add support for SIOCGIFGENERIC and SIOCSIFGENERIC ioctls.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Nov 26 17:46:13 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +21 -4 lines
Add support for SIOCGIFGENERIC and SIOCSIFGENERIC ioctls.

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:25 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.1: +6 -6 lines
Sync with HEAD

Revision 1.69.6.6: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:26 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.69.6.5: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.6.5: +8 -12 lines
Sync with HEAD

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Jan 14 16:34:44 2017 UTC (7 years, 10 months ago) by maya
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +6 -6 lines
appease coverity by using strlcpy instead of strncpy

ok riastradh

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:30 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +63 -10 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Dec 26 23:05:06 2016 UTC (7 years, 11 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20170107
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -8 lines
Sync NPF with the version on github: backport standalone NPF changes,
which allow us to create and run separate NPF instances. Minor fixes.
(from rmind@)

Revision 1.69.6.5: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:00 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.69.6.4: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.6.4: +61 -4 lines
Sync with HEAD

Revision 1.87: download - view: text, markup, annotated - select for diffs
Mon Nov 21 03:50:50 2016 UTC (8 years ago) by rin
Branches: MAIN
CVS tags: nick-nhusb-base-20161204
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +7 -4 lines
Handle CLOCKCTL_NTP_ADJTIME32 even when compiled with !NTP;
just return ENOTTY in order to avoid possible failure when
main kernel and compat_netbsd32 module are compiled with
different NTP options in future.

Suggested and approved by mlelstv

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Nov 15 10:57:57 2016 UTC (8 years ago) by rin
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +14 -2 lines
Protect NPT stuff by "#ifdef NTP". Fix non-NTP kernel.
Approved by martin.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Nov 12 16:06:04 2016 UTC (8 years, 1 month ago) by mlelstv
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +46 -4 lines
Fix netbsd32 emulation for clockctl_ntp_adjtime.

The ioctl args reference a timex structure that needs to be
transformed to 64bit layout and back.

The 32bit ioctl definition was wrong for mips, as register_t is 64bit
for N32 abi.

Revision 1.69.6.4: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:39 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.69.6.3: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.6.3: +58 -2 lines
Sync with HEAD

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Jul 13 11:11:53 2016 UTC (8 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +58 -2 lines
Add netbsd32 support for drvctl(4)

Revision 1.69.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:47 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.69.6.2: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.6.2: +2 -20 lines
Sync with HEAD (as of 26th Dec)

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Dec 8 20:36:14 2015 UTC (9 years ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -20 lines
Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.

Revision 1.69.6.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:55 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.69.6.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.6.1: +4 -4 lines
Sync with HEAD

Revision 1.64.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 2 12:54:34 2015 UTC (9 years, 4 months ago) by martin
Branches: netbsd-6-0
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +4 -4 lines
Pull up following revision(s) (requested by maxv in ticket #1318):
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.82
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok martin@ christos@

Revision 1.64.14.1: download - view: text, markup, annotated - select for diffs
Sun Aug 2 12:52:59 2015 UTC (9 years, 4 months ago) by martin
Branches: netbsd-6-1
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +4 -4 lines
Pull up following revision(s) (requested by maxv in ticket #1318):
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.82
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok martin@ christos@

Revision 1.64.8.2: download - view: text, markup, annotated - select for diffs
Sun Aug 2 12:50:48 2015 UTC (9 years, 4 months ago) by martin
Branches: netbsd-6
Diff to: previous 1.64.8.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.8.1: +4 -4 lines
Pull up following revision(s) (requested by maxv in ticket #1318):
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.82
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok martin@ christos@

Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Sun Aug 2 11:29:10 2015 UTC (9 years, 4 months ago) by martin
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-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +4 -4 lines
Pull up following revision(s) (requested by maxv in ticket #930):
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.82
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.
ok martin@ christos@

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Aug 2 07:37:57 2015 UTC (9 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -4 lines
Wrong logic. Here, userland can control the size and the data copied, which
basically means it can overflow kernel memory.

ok martin@ christos@

Revision 1.69.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:05 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +225 -8 lines
Sync with HEAD

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Jun 1 16:07:27 2015 UTC (9 years, 6 months ago) by roy
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +78 -2 lines
Add support for NPF ioctls.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Jun 1 00:15:08 2015 UTC (9 years, 6 months ago) by roy
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -21 lines
Back out prior

gimpy1@ we don't #include driver .h in netbsd32

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun May 31 23:40:20 2015 UTC (9 years, 6 months ago) by roy
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +21 -2 lines
Revert prior change, optionally include PPPOE and SPPP support again.
Fix compat_netbsd32 module building by enforcing both.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun May 31 22:58:50 2015 UTC (9 years, 6 months ago) by roy
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -21 lines
It seems we cannot depend on kernel config in modules, so always compile
in PPP(,oE) support.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun May 31 22:19:41 2015 UTC (9 years, 6 months ago) by roy
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +42 -2 lines
Add support for PPPOEGETPARMS and PPPOESETPARMS.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun May 31 22:16:16 2015 UTC (9 years, 6 months ago) by roy
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +59 -2 lines
Support SPPPGETAUTHCFG and SPPPSETAUTHCFG.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun May 31 15:08:14 2015 UTC (9 years, 6 months ago) by roy
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -4 lines
Fixup ifdrv parameter order.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed May 27 21:56:43 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +9 -9 lines
Fix netbsd32 ifdrv copy routines to not use memcpy.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed May 27 21:42:43 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -2 lines
Add missing SIOCGDRVSPEC32
Fix SIOCGETSGCNT32

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed May 20 04:37:45 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -2 lines
Rework ksym defines and includes.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed May 20 02:45:20 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +50 -2 lines
Change the ksyms ioctls to more compat_netbsd32 friendly.  Use _IOWR ioctls
to avoid extra copyouts.  With these changes, netstat and vmstat work on
mips64eb with the normal N32 userland and a N64 kernel.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon May 18 06:38:59 2015 UTC (9 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +13 -2 lines
Implement SIOCIFGCLONERS for netbsd32, so ifconfig -C works.

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:33 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +69 -2 lines
Rebase to HEAD as of a few days ago.

Revision 1.64.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:17 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.64.2.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.2: +69 -2 lines
sync with head.

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

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

Revision 1.67.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:33 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +69 -2 lines
sync with head

Revision 1.64.8.1: download - view: text, markup, annotated - select for diffs
Tue Mar 18 07:18:22 2014 UTC (10 years, 8 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +40 -2 lines
Pull up following revision(s) (requested by manu in ticket #1022):
	sys/compat/netbsd32/netbsd32_ioctl.h: revision 1.44
	sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.68
Add ATAIOCCOMMAND ioctl form COMPAT_NETBSD32
This enables SMART monitoring by a netbsd32 binary.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Jan 24 12:16:10 2014 UTC (10 years, 10 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, netbsd-7-0-RC2, netbsd-7-0-RC1
Branch point for: nick-nhusb, netbsd-7
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +31 -2 lines
Support WSDISPLAYIO_GETCMAP/WSDISPLAYIO_PUTCMAP. Tested on evbmips/loongson

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Jan 24 10:41:07 2014 UTC (10 years, 10 months ago) by manu
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +40 -2 lines
Add ATAIOCCOMMAND ioctl form COMPAT_NETBSD32

This enables SMART monitoring by a netbsd32 binary.

Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:47 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.2.1: +30 -4 lines
sync with head

Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Aug 6 08:27:49 2012 UTC (12 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4 lines
Ensure correct alignment for stack buffers when long != 64-bit, e.g.
arm.

Revision 1.64.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:15 2012 UTC (12 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +129 -59 lines
sync to latest -current.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon May 28 14:19:10 2012 UTC (12 years, 6 months ago) by christos
Branches: MAIN
CVS tags: jmcneill-usbmp-base10
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +28 -2 lines
compat for 80211 ioctls from jmcneill

Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:54 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +103 -59 lines
sync with head.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri May 11 19:00:36 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base5
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +103 -59 lines
provide clockctl ioctl emulation

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Oct 6 03:19:32 2011 UTC (13 years, 2 months ago) by macallan
Branches: MAIN
CVS tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, 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-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6-1, netbsd-6-0, netbsd-6, jmcneill-usbmp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3 lines
fix pasto, now SIOCS80211NWKEY and SIOCG80211NWKEY actually work

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Oct 5 14:17:41 2011 UTC (13 years, 2 months ago) by macallan
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -2 lines
forgot SIOCG80211NWKEY32 when adding SIOCS80211NWKEY32

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Sep 28 01:46:39 2011 UTC (13 years, 2 months ago) by macallan
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +51 -2 lines
support WSDISPLAYIO_GCURSOR and WSDISPLAYIO_SCURSOR

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Sep 7 02:35:00 2011 UTC (13 years, 3 months ago) by macallan
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -2 lines
support ioctl(POWER_EVENT_RECVDICT) - now powerd turns my gdium's backlight
off when the lid is closed

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Aug 30 14:22:22 2011 UTC (13 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +44 -2 lines
Provide netbsd32 compat for bpf. Beside the ioctls, the structure
returned to userland by read(2) also needs to be converted.
For this, the bpf descriptor is flagged as compat32 (or not) in the
open and ioctl functions (where the user process's pid is also updated
in the descriptor). When the bpf buffer is filled in, the 32bits or native
header is used depending on the information stored in the descriptor.

This won't work if a 64bit binary does the open and ioctls, and then
exec a 32bit program which will do the read. But this is very
unlikely to happen in real life ...

Tested on i386 and loongson; with these changes my loongson can run
dhclient and tcpdump with a n32 userland.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Aug 30 07:54:15 2011 UTC (13 years, 3 months ago) by macallan
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +39 -2 lines
support SIOCG80211NWKEY

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Aug 30 07:06:39 2011 UTC (13 years, 3 months ago) by macallan
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +33 -2 lines
add WSDISPLAYIO_ADDSCREEN

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Aug 27 19:25:35 2011 UTC (13 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +22 -2 lines
translate WDOGIOC_GWDOGS

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:33 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +114 -39 lines
Sync with HEAD.

Revision 1.46.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:42 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.46.4.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.4.2: +0 -1 lines
sync with head

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Apr 4 18:24:56 2011 UTC (13 years, 8 months ago) by ahoka
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -26 lines
remove FLASH_GET_INFO compat as it is no longer using size_t

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Mar 19 04:07:35 2011 UTC (13 years, 8 months ago) by cliff
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +25 -2 lines
compat/netbsd32 ioctl support for FLASH_GET_INFO

Revision 1.46.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:55 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.46.4.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.1: +230 -38 lines
sync with head

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:47 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +34 -3 lines
Sync with HEAD

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 1 00:53:22 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +33 -2 lines
Define 32bit version of SIOC[GS]IFADDRPREF32.  We wouldn't need this to
if i386 actually aligned a uint64_t on a 64bit boundary but it doesn't.
So all that work in sockaddr_storage goes for naught.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jan 22 20:51:21 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Fix c&p error.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jan 18 19:52:24 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Branch point for: bouyer-quota2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +83 -38 lines
Make struct disklabel 8 byte aligned.  This increases its size by 4 bytes
on IPL32 platforms so add code in sys_ioctl (and netbsd32_ioctl) to deal
with the older/smaller diskabel size.  This change makes disklabel the
same for both IPL32 and LP64 platforms.

Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:48 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.46.2.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.1: +116 -0 lines
Sync with HEAD (-D20101022).

Revision 1.38.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:02 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38.4.4: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.4.4: +118 -2 lines
sync with head

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Sep 24 13:12:53 2010 UTC (14 years, 2 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +26 -2 lines
Add support for envsys(4) version 2 ioctls.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Sep 19 10:33:31 2010 UTC (14 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +19 -2 lines
add (runtime untested) support for AUDIO_WSEEK.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Sep 19 09:46:59 2010 UTC (14 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +29 -2 lines
add support for the netbsd 5.0 versions of the VND* ioctls.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Sep 19 09:09:30 2010 UTC (14 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +50 -2 lines
support VND* ioctls.

Revision 1.38.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:11 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38.4.3: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.3: +3 -4 lines
sync with head.

Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:15 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -4 lines
sync with head

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:00 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -4 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Apr 23 15:19:20 2010 UTC (14 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -4 lines
Replace M_IOV and some malloc(9)s with kmem(9), and while there:
- Fix invalid free (M_TEMP vs M_IOV) in do_sys_recvmsg(), spotted by jakllsch@.
  Also, same fix in osf1_sys_sendmsg_xopen().
- Fix attempt to free non-allocated memory in error path in netbsd32___getfh30().
- Plug a memory leak in compat_43_netbsd32_orecvmsg().

Revision 1.38.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:18 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38.4.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.2: +42 -3 lines
sync with head

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Dec 11 11:14:34 2009 UTC (15 years ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4 lines
In netbsd32_from_{ifreq,oifreq}(), use the compat structure size for
memcpy.

From mrg.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Dec 10 15:47:23 2009 UTC (15 years ago) by njoly
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -3 lines
Kill debug printf.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Dec 10 14:58:28 2009 UTC (15 years ago) by njoly
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -6 lines
Make netbsd32_from_{ifreq,oifreq}() copy the whole structure, not only
the interface name. Finally fix my own PR/39424.

ok by christos.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Dec 9 04:50:47 2009 UTC (15 years ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +45 -3 lines
Add netbsd32_oifreq and fix issue in copying the interface name. With this
patch OSIOC{G,S}IFFLAGS is supposed to work, but unfortunately getifaddrs
seems to be the next problem getting the 4.99.x i386 ifconfig working on an
amd64 current machine.

Revision 1.41.12.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:43 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +3 -3 lines
Sync with HEAD.

Revision 1.38.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:18 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38.4.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.1: +3 -3 lines
sync with head

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun May 24 21:41:25 2009 UTC (15 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base, jym-xensuspend-nbase
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
More changes to improve kern_descrip.c.

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

Some measurements with libmicro:

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

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:25 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +9 -9 lines
sync with head.

Revision 1.38.6.4: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:46 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.38.6.3: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.6.3: +9 -7 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:58 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.39.2.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.1: +7 -7 lines
Sync with head.

Revision 1.37.6.4: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:08:19 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.37.6.3: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.6.3: +5 -5 lines
Sync with HEAD.

Revision 1.41.10.2: download - view: text, markup, annotated - select for diffs
Wed Jul 2 16:45:21 2008 UTC (16 years, 5 months ago) by matt
Branches: christos-time_t
Diff to: previous 1.41.10.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.10.1: +547 -0 lines
Change {ff,fd}_exclose and ff_allocated to bool.  Change exclose arg to
fd_dup to bool.  Switch assignments from 1/0 to true/false.

This make alpha kernels compile.  Bump kern to 4.99.69 since structure
changed.

Revision 1.41.10.1
Wed Jul 2 16:45:20 2008 UTC (16 years, 5 months ago) by matt
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.41: +0 -547 lines
file netbsd32_ioctl.c was added on branch christos-time_t on 2008-07-02 16:45:21 +0000

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Jul 2 16:45:20 2008 UTC (16 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, 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-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, jym-xensuspend-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend, christos-time_t
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -7 lines
Change {ff,fd}_exclose and ff_allocated to bool.  Change exclose arg to
fd_dup to bool.  Switch assignments from 1/0 to true/false.

This make alpha kernels compile.  Bump kern to 4.99.69 since structure
changed.

Revision 1.37.6.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:04 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.37.6.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.6.2: +2 -0 lines
Sync with HEAD.

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:19 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -2 lines
Sync with head.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jun 23 23:14:42 2008 UTC (16 years, 5 months ago) by njoly
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -2 lines
Update compat netbsd32 SIOCGIFCONF ioctls definitions to follow native
ones.

Revision 1.38.6.3: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:55 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.38.6.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.6.2: +2 -4 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:05 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +2 -4 lines
sync with head

Revision 1.37.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:06 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.37.6.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.6.1: +0 -2 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu May 29 14:51:26 2008 UTC (16 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -4 lines
remove clause #3 from my license where there are no other
copyright holders involved.

Revision 1.38.6.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:09 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.38.6.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.6.1: +2 -3 lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.38.6.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:57 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2 lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.37.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:33 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +26 -20 lines
Sync with HEAD.

Revision 1.23.4.6: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:41 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.4.5: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.4.5: +26 -20 lines
sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:58 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, hpcarm-cleanup-nbase, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +26 -20 lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.23.4.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:51 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.4.4: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.4.4: +21 -72 lines
sync with head

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:37 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +21 -72 lines
sync with HEAD

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:53:09 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +5 -5 lines
Sync with HEAD

Revision 1.35.10.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:49:32 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +21 -72 lines
Sync with head.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:03:01 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -5 lines
Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.34.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:19 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.34.6.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.6.1: +19 -70 lines
Sync with HEAD.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:18 2007 UTC (17 years ago) by dsl
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +19 -70 lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.23.4.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:39 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.4.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.4.3: +27 -22 lines
sync with head.

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:01 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +6 -26 lines
Sync with HEAD.

Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:25:58 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.30.2.2: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.2: +6 -26 lines
Sync with HEAD.

Revision 1.34.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:02:54 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -26 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Aug 15 12:07:31 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, mjf-devfs, matt-armv6-prevmlocking, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, matt-armv6
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -26 lines
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:30 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +39 -14 lines
Sync with head.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:57:44 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.30.2.1: preferred, colored
Changes since revision 1.30.2.1: +4 -2 lines
Sync with head.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed May 30 00:00:59 2007 UTC (17 years, 6 months ago) by christos
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -2 lines
make this compile again
XXX: The ioctls will need to be fixed.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:28 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +37 -14 lines
Sync with head.

Revision 1.30.6.2: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:41 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.30.6.1: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.6.1: +33 -10 lines
Pullup to -current

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:14 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.1: +37 -14 lines
sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Mar 20 11:02:18 2007 UTC (17 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +29 -3 lines
Add ktrace I/O support to netbsd32_ioctl() syscall.
Reviewed by cube.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Mar 18 21:38:33 2007 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -9 lines
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).

Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Sun Mar 18 00:06:36 2007 UTC (17 years, 9 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -6 lines
First attempt to bring branch in sync with HEAD

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Mar 16 22:21:41 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -6 lines
remove all the double (and triple) casts used to convert 32bit userspace
pointers to and from 64bit kernel pointers.  Instead use the defines
NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64)
to write a 32bit pointer throughout.
The 32bit pointer is now a struct to enforce the above.
amd64 (with linux emul) and sparc64 will both compile (when the arch stuff
goes in soon), and amd64 still runs some i386 binaries.

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:32 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +15 -15 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:54:08 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -7 lines
fix fallout from caddr_t changes.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:26 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +17 -17 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.23.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:31 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.4.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.4.2: +2 -4 lines
sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:22 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -3 lines
Merge newlock2 to head.

Revision 1.25.20.3: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:14 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.25.20.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.20.2: +2 -3 lines
Sync with head.

Revision 1.25.20.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:35 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.25.20.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.20.1: +2 -3 lines
Remove support for SA. Ok core@.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jan 29 01:52:44 2007 UTC (17 years, 10 months ago) by hubertf
Branches: MAIN
CVS tags: newlock2-nbase, newlock2-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -3 lines
Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.

Revision 1.23.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:42 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.4.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.4.1: +5 -2 lines
sync with head.

Revision 1.25.20.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:12 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -2 lines
Sync with head.

Revision 1.25.22.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:27 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +5 -2 lines
sync with head

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Sep 24 10:20:16 2006 UTC (18 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -2 lines
EPASSTHROUGH from lower layers is returned as ENOTTY to the (system) caller.
Make it so.

Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:35 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +39 -39 lines
sync with head.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:45:08 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +34 -34 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:22 2005 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -7 lines
merge ktrace-lwp.

Revision 1.22.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:41 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3 lines
sync with -current

Revision 1.22.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:43 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:20 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20.2.4: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.4: +3 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:10:21 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
nuke trailing whitespace

Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:53 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20.2.3: preferred, colored
Changes since revision 1.20.2.3: +7 -7 lines
Fix the sync with head I botched.

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:58 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20.2.2: preferred, colored
Changes since revision 1.20.2.2: +7 -7 lines
Sync with HEAD.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 26 19:28:30 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20.2.1: preferred, colored
Changes since revision 1.20.2.1: +7 -7 lines
Adapt to branch.

sparc64 GENERIC compiles.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:21 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +66 -81 lines
Sync with HEAD

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jan 15 14:36:28 2004 UTC (20 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +66 -50 lines
begin to implement some ifreq ioctls... long long way to go.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Sep 21 19:16:54 2003 UTC (21 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -33 lines
cleanup & uniform descriptor owner handling:
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
  the owner of descriptor, according to appropriate sematics
  of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
  these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
  properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
  in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
  pass the ioctls down to soo_ioctl() as any other ioctl

change discussed on tech-kern@

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:38 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -7 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jun 29 13:35:39 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +9 -9 lines
struct proc * -> struct lwp *

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Apr 12 05:00:38 2003 UTC (21 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -7 lines
get rid of the ASYNCMAP ioctls

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jan 24 21:55:16 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +12 -3 lines
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jan 18 08:28:26 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -4 lines
Merge the nathanw_sa branch.

Revision 1.8.2.8: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:07:51 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.8.2.7: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.7: +15 -13 lines
Catch up to -current

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Oct 23 13:16:43 2002 UTC (22 years, 1 month ago) by scw
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +15 -13 lines
In preparation for COMPAT_NETBSD32 on SH-5:

 - The MD netbsd32_machdep.h header now defines the 32-bit pointer type
   instead of using u_int32_t everywhere,
 - The MD netbsd32_machdep.h header now defines a macro (at least on
   current implementations) which converts a 32-bit pointer to its 64-bit
   equivalent,
 - Change the MI code to utilise the above two items in all the right places,
 - Implement netbsd32___sigaction_sigtramp().

Tested on Sparc64 by Matt Green.

Revision 1.8.2.7: download - view: text, markup, annotated - select for diffs
Fri Aug 23 02:37:10 2002 UTC (22 years, 3 months ago) by petrov
Branches: nathanw_sa
Diff to: previous 1.8.2.6: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.6: +5 -4 lines
lwpification.

Revision 1.8.2.6: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:49 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.2.5: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.5: +3 -2 lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.8.2.5: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:12:58 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.2.4: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.4: +2 -2 lines
Catch up to -current.

Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:38:49 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.2.3: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.3: +8 -158 lines
More catchup.

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:51:55 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.10.2.1: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +11 -158 lines
Sync kqueue branch with -current.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jan 3 02:29:39 2002 UTC (22 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -158 lines
move sparc specific ioctl handling (fb & openprom) into arch/sparc64.

Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:16 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.2: +4 -1 lines
Catch up to -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:09:06 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -1 lines
add RCSIDs (including regeneration of files as appropriate)

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:51 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +2 -2 lines
Catch up with -current.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:21 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +3 -3 lines
Catch up to -current.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Sep 19 18:10:32 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
machine/fbio.h -> dev/sun/fbio.h

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:27 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Update the kqueue branch to HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Aug 25 15:06:03 2001 UTC (23 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
update copyright notices.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:00:02 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +17 -4 lines
Catch up to -current.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jun 19 00:36:21 2001 UTC (23 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +15 -0 lines
Some of this was sparc-specific, so ifdef __sparc__ it (XXX). Also,
change the alignment of one structure with an MD ifdef. Should
be moved into the netbsd32_machdep parts.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jun 14 20:32:44 2001 UTC (23 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -4 lines
Fix a partial construction problem that can cause race conditions
between creation of a file descriptor and close(2) when using kernel
assisted threads.  What we do is stick descriptors in the table, but
mark them as "larval".  This causes essentially everything to treat
it as a non-existent descriptor, except for fdalloc(), which sees a
filled slot so that it won't (incorrectly) allocate it again.  When
a descriptor is fully constructed, the code that has constructed it
marks it as "mature" (which actually clears the "larval" flag), and
things continue to work as normal.

While here, gather all the code that gets a descriptor from the table
into a fd_getfile() function, and call it, rather than having the
same (sometimes incorrect) code copied all over the place.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:34 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +8 -8 lines
Sync with HEAD.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Dec 5 15:25:57 2000 UTC (24 years ago) by eeh
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -8 lines
Fix uninitialized pointer bug.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:30 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +353 -221 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 26 01:08:57 2000 UTC (24 years, 3 months ago) by mrg
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +278 -202 lines
pull up 1.7.  approved by thorpej:
>Fix netbsd32_ioctls.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Aug 19 14:38:18 2000 UTC (24 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +289 -212 lines
Fix netbsd32_ioctls.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jul 9 13:39:31 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +65 -22 lines
- massive warning fix fest.
- fix pread/pwrite return values (plus some other syscalls that looked
  similarly broken).
- prototypes and clean up for netbsd32_ioctl.c

now getpw*() works under compat32!

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Dec 30 15:40:45 1999 UTC (24 years, 11 months ago) by eeh
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -1 lines
Update to 32-bit compatibility routines.

Revision 1.3.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:29 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -3 lines
Pull up to last week's -current.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Oct 11 01:36:23 1999 UTC (25 years, 2 months ago) by eeh
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Add netbsd32_compat_14.c

Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly
names like compat_14_compat_netbsd32_sys_shmctl().

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Mar 25 16:58:40 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: wrstuden-devbsize
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
SPARC32->NETBSD32

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Mar 25 16:22:49 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +78 -78 lines
move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 26 10:20:35 1998 UTC (26 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
add a 32-bit compatibility module for the sparc64 port, so it can run NetBSD/sparc binaries with a LP64 kernel.

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>