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


Default branch: MAIN


Revision 1.120 / (download) - annotate - [select for diffs], Wed Dec 22 00:21:32 2021 UTC (2 years, 3 months ago) by roy
Branch: 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, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.119: +28 -3 lines
Diff to previous 1.119 (colored)

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) - annotate - [select for diffs], Sat Apr 17 17:26:17 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.118: +4 -2 lines
Diff to previous 1.118 (colored) next main 1.119 (colored)

Sync with HEAD.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Apr 14 16:26:23 2021 UTC (2 years, 11 months ago) by mlelstv
Branch: 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
Changes since 1.118: +4 -2 lines
Diff to previous 1.118 (colored)

Add DIOCGDISKINFO compat.

Revision 1.114.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:42 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.114: +114 -6 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with HEAD.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Jan 17 10:50:01 2021 UTC (3 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Changes since 1.117: +35 -2 lines
Diff to previous 1.117 (colored)

Handle the SIOCGNBRINFO_IN6 ioctl for compat32.  ndp -a works with
compat32 now.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Jan 14 23:30:50 2021 UTC (3 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.116: +2 -7 lines
Diff to previous 1.116 (colored)

Remove some blank lines to group the VND and FSS ioctls together.

Revision 1.116 / (download) - annotate - [select for diffs], Thu Jan 14 08:22:51 2021 UTC (3 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.115: +27 -2 lines
Diff to previous 1.115 (colored)

Handle the KFILTER_BYFILTER and KFILTER_BYNAME ioctls for compat32.
Passes "atf kernel/kqueue/t_ioctl".

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jan 14 08:00:45 2021 UTC (3 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.114: +57 -2 lines
Diff to previous 1.114 (colored)

Handle FSSIOCSET and FSSIOCGET; vndconfig(8) works with compat32 now.
XXX: FSSIOCSET50 and FSSIOCGET50 are not (yet) handled.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Jul 21 05:33:51 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.113: +55 -2 lines
Diff to previous 1.113 (colored)

Add lockstat(1) ioctl handling.

mrg@: "looks ok."

Revision 1.113 / (download) - annotate - [select for diffs], Sat Jul 18 12:46:19 2020 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.112: +4 -2 lines
Diff to previous 1.112 (colored)

Add BIOCSETWF32 (bpf)

Revision 1.92.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:16 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.92.2.2: +6 -0 lines
Diff to previous 1.92.2.2 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.92.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:01 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.92.2.1: +34 -12 lines
Diff to previous 1.92.2.1 (colored) to branchpoint 1.92 (colored)

Merge changes from current as of 20200406

Revision 1.112 / (download) - annotate - [select for diffs], Mon Mar 16 01:37:51 2020 UTC (4 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.111: +79 -2 lines
Diff to previous 1.111 (colored)

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) - annotate - [select for diffs], Mon Mar 16 00:05:29 2020 UTC (4 years ago) by christos
Branch: MAIN
Changes since 1.110: +4 -60 lines
Diff to previous 1.110 (colored)

Don't open-code ioctls, pass back to the 64 bit ones (found by maxv@),

Revision 1.110 / (download) - annotate - [select for diffs], Sat Mar 14 04:39:15 2020 UTC (4 years, 1 month ago) by maxv
Branch: MAIN
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

wrong size passed to copyout

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:00 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.106: +10 -9 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Sync with head.

Revision 1.89.8.3 / (download) - annotate - [select for diffs], Thu Feb 13 19:34:29 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.89.8.2: +8 -8 lines
Diff to previous 1.89.8.2 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

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) - annotate - [select for diffs], Thu Feb 13 19:28:15 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE
Changes since 1.103: +8 -8 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

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) - annotate - [select for diffs], Tue Feb 11 06:33:51 2020 UTC (4 years, 2 months ago) by mlelstv
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.108: +3 -3 lines
Diff to previous 1.108 (colored)

Where did the +1 came from ?

Revision 1.108 / (download) - annotate - [select for diffs], Mon Feb 10 22:33:28 2020 UTC (4 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.107: +8 -8 lines
Diff to previous 1.107 (colored)

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

Revision 1.107 / (download) - annotate - [select for diffs], Sat Feb 1 02:23:03 2020 UTC (4 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.106: +4 -3 lines
Diff to previous 1.106 (colored)

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) - annotate - [select for diffs], Mon Nov 18 04:17:08 2019 UTC (4 years, 4 months ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.105: +1 -37 lines
Diff to previous 1.105 (colored)

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) - annotate - [select for diffs], Mon Nov 18 04:09:53 2019 UTC (4 years, 4 months ago) by rin
Branch: MAIN
Changes since 1.104: +39 -3 lines
Diff to previous 1.104 (colored)

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) - annotate - [select for diffs], Tue Aug 20 09:32:21 2019 UTC (4 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.103: +8 -2 lines
Diff to previous 1.103 (colored)

compat32 drm ioctl support from Surya Shankar at GSoC 2019

Revision 1.89.8.2 / (download) - annotate - [select for diffs], Mon Jul 22 16:27:29 2019 UTC (4 years, 8 months ago) by martin
Branch: netbsd-8
Changes since 1.89.8.1: +8 -2 lines
Diff to previous 1.89.8.1 (colored) to branchpoint 1.89 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:07:01 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.92: +235 -179 lines
Diff to previous 1.92 (colored)

Sync with HEAD

Revision 1.103 / (download) - annotate - [select for diffs], Fri May 17 07:37:12 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.102: +4 -2 lines
Diff to previous 1.102 (colored)

 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) - annotate - [select for diffs], Tue Apr 23 07:45:06 2019 UTC (4 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.101: +142 -141 lines
Diff to previous 1.101 (colored)

 KNF. No functional change.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:40 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.100: +7 -3 lines
Diff to previous 1.100 (colored)

Merge the [pgoyette-compat] branch

Revision 1.91.2.6 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:29 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.91.2.5: +77 -6 lines
Diff to previous 1.91.2.5 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.100 / (download) - annotate - [select for diffs], Sun Nov 25 17:58:29 2018 UTC (5 years, 4 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.99: +77 -6 lines
Diff to previous 1.99 (colored)

Restore netbsd32 compat code for new NPF ABI.

Revision 1.91.2.5 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:30 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.91.2.4: +12 -3 lines
Diff to previous 1.91.2.4 (colored) to branchpoint 1.91 (colored)

Sync with head

Revision 1.99 / (download) - annotate - [select for diffs], Fri Oct 12 05:06:05 2018 UTC (5 years, 6 months ago) by rin
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

PR kern/53666
Correct misleading names of dummy variables. No binary changes intended.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Oct 11 15:23:22 2018 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.97: +8 -2 lines
Diff to previous 1.97 (colored)

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

Revision 1.97 / (download) - annotate - [select for diffs], Sat Oct 6 15:22:16 2018 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.96: +6 -3 lines
Diff to previous 1.96 (colored)

comment out unused

Revision 1.91.2.4 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:49 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.91.2.3: +30 -61 lines
Diff to previous 1.91.2.3 (colored) to branchpoint 1.91 (colored)

Ssync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Sat Sep 29 14:41:35 2018 UTC (5 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.95: +2 -59 lines
Diff to previous 1.95 (colored)

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) - annotate - [select for diffs], Tue Sep 25 21:41:30 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.91.2.2: +7 -3 lines
Diff to previous 1.91.2.2 (colored) to branchpoint 1.91 (colored)

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) - annotate - [select for diffs], Mon Sep 24 21:15:39 2018 UTC (5 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.94: +4 -4 lines
Diff to previous 1.94 (colored)

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) - annotate - [select for diffs], Mon Sep 24 21:08:08 2018 UTC (5 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.93: +28 -2 lines
Diff to previous 1.93 (colored)

add support for DIOCGSTRATEGY and DIOCSSTRATEGY

Revision 1.91.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:46 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.91.2.1: +4 -4 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored)

Sync with HEAD

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

Revision 1.93 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:29 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.92: +4 -4 lines
Diff to previous 1.92 (colored)

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) - annotate - [select for diffs], Thu Mar 15 09:12:05 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.91: +29 -2 lines
Diff to previous 1.91 (colored)

Synch with HEAD

Revision 1.92 / (download) - annotate - [select for diffs], Tue Mar 6 07:59:59 2018 UTC (6 years, 1 month ago) by mlelstv
Branch: 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
Changes since 1.91: +29 -2 lines
Diff to previous 1.91 (colored)

Add DIOCLWEDGES

Revision 1.91 / (download) - annotate - [select for diffs], Fri Jan 19 23:38:56 2018 UTC (6 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Changes since 1.90: +46 -2 lines
Diff to previous 1.90 (colored)

add conversion goop for WSDISPLAYIO_LDFONT and _SFONT
tested on mips64

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:56 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.67.2.1: +357 -32 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

update from HEAD

Revision 1.89.8.1 / (download) - annotate - [select for diffs], Mon Nov 27 14:07:53 2017 UTC (6 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.89: +21 -4 lines
Diff to previous 1.89 (colored)

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) - annotate - [select for diffs], Sun Nov 26 17:46:13 2017 UTC (6 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.89: +21 -4 lines
Diff to previous 1.89 (colored)

Add support for SIOCGIFGENERIC and SIOCSIFGENERIC ioctls.

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:25 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.84.2.1: +6 -6 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

Sync with HEAD

Revision 1.69.6.6 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:26 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.6.5: +8 -12 lines
Diff to previous 1.69.6.5 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Sync with HEAD

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jan 14 16:34:44 2017 UTC (7 years, 2 months ago) by maya
Branch: 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
Changes since 1.88: +6 -6 lines
Diff to previous 1.88 (colored)

appease coverity by using strlcpy instead of strncpy

ok riastradh

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:30 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.84: +63 -10 lines
Diff to previous 1.84 (colored)

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

Revision 1.88 / (download) - annotate - [select for diffs], Mon Dec 26 23:05:06 2016 UTC (7 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.87: +4 -8 lines
Diff to previous 1.87 (colored)

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) - annotate - [select for diffs], Mon Dec 5 10:55:00 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.6.4: +61 -4 lines
Diff to previous 1.69.6.4 (colored) to branchpoint 1.69 (colored)

Sync with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Mon Nov 21 03:50:50 2016 UTC (7 years, 4 months ago) by rin
Branch: MAIN
CVS Tags: nick-nhusb-base-20161204
Changes since 1.86: +7 -4 lines
Diff to previous 1.86 (colored)

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) - annotate - [select for diffs], Tue Nov 15 10:57:57 2016 UTC (7 years, 4 months ago) by rin
Branch: MAIN
Changes since 1.85: +14 -2 lines
Diff to previous 1.85 (colored)

Protect NPT stuff by "#ifdef NTP". Fix non-NTP kernel.
Approved by martin.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Nov 12 16:06:04 2016 UTC (7 years, 5 months ago) by mlelstv
Branch: MAIN
Changes since 1.84: +46 -4 lines
Diff to previous 1.84 (colored)

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) - annotate - [select for diffs], Wed Oct 5 20:55:39 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.6.3: +58 -2 lines
Diff to previous 1.69.6.3 (colored) to branchpoint 1.69 (colored)

Sync with HEAD

Revision 1.84 / (download) - annotate - [select for diffs], Wed Jul 13 11:11:53 2016 UTC (7 years, 9 months ago) by jmcneill
Branch: 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
Changes since 1.83: +58 -2 lines
Diff to previous 1.83 (colored)

Add netbsd32 support for drvctl(4)

Revision 1.69.6.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:47 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.6.2: +2 -20 lines
Diff to previous 1.69.6.2 (colored) to branchpoint 1.69 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.83 / (download) - annotate - [select for diffs], Tue Dec 8 20:36:14 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.82: +2 -20 lines
Diff to previous 1.82 (colored)

Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.

Revision 1.69.6.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:55 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.6.1: +4 -4 lines
Diff to previous 1.69.6.1 (colored) to branchpoint 1.69 (colored)

Sync with HEAD

Revision 1.64.12.1 / (download) - annotate - [select for diffs], Sun Aug 2 12:54:34 2015 UTC (8 years, 8 months ago) by martin
Branch: netbsd-6-0
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

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) - annotate - [select for diffs], Sun Aug 2 12:52:59 2015 UTC (8 years, 8 months ago) by martin
Branch: netbsd-6-1
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

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) - annotate - [select for diffs], Sun Aug 2 12:50:48 2015 UTC (8 years, 8 months ago) by martin
Branch: netbsd-6
Changes since 1.64.8.1: +4 -4 lines
Diff to previous 1.64.8.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

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) - annotate - [select for diffs], Sun Aug 2 11:29:10 2015 UTC (8 years, 8 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

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) - annotate - [select for diffs], Sun Aug 2 07:37:57 2015 UTC (8 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.81: +4 -4 lines
Diff to previous 1.81 (colored)

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) - annotate - [select for diffs], Sat Jun 6 14:40:05 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69: +225 -8 lines
Diff to previous 1.69 (colored)

Sync with HEAD

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jun 1 16:07:27 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.80: +78 -2 lines
Diff to previous 1.80 (colored)

Add support for NPF ioctls.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Jun 1 00:15:08 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.79: +2 -21 lines
Diff to previous 1.79 (colored)

Back out prior

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

Revision 1.79 / (download) - annotate - [select for diffs], Sun May 31 23:40:20 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.78: +21 -2 lines
Diff to previous 1.78 (colored)

Revert prior change, optionally include PPPOE and SPPP support again.
Fix compat_netbsd32 module building by enforcing both.

Revision 1.78 / (download) - annotate - [select for diffs], Sun May 31 22:58:50 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.77: +2 -21 lines
Diff to previous 1.77 (colored)

It seems we cannot depend on kernel config in modules, so always compile
in PPP(,oE) support.

Revision 1.77 / (download) - annotate - [select for diffs], Sun May 31 22:19:41 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.76: +42 -2 lines
Diff to previous 1.76 (colored)

Add support for PPPOEGETPARMS and PPPOESETPARMS.

Revision 1.76 / (download) - annotate - [select for diffs], Sun May 31 22:16:16 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.75: +59 -2 lines
Diff to previous 1.75 (colored)

Support SPPPGETAUTHCFG and SPPPSETAUTHCFG.

Revision 1.75 / (download) - annotate - [select for diffs], Sun May 31 15:08:14 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.74: +5 -4 lines
Diff to previous 1.74 (colored)

Fixup ifdrv parameter order.

Revision 1.74 / (download) - annotate - [select for diffs], Wed May 27 21:56:43 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.73: +9 -9 lines
Diff to previous 1.73 (colored)

Fix netbsd32 ifdrv copy routines to not use memcpy.

Revision 1.73 / (download) - annotate - [select for diffs], Wed May 27 21:42:43 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.72: +4 -2 lines
Diff to previous 1.72 (colored)

Add missing SIOCGDRVSPEC32
Fix SIOCGETSGCNT32

Revision 1.72 / (download) - annotate - [select for diffs], Wed May 20 04:37:45 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored)

Rework ksym defines and includes.

Revision 1.71 / (download) - annotate - [select for diffs], Wed May 20 02:45:20 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.70: +50 -2 lines
Diff to previous 1.70 (colored)

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) - annotate - [select for diffs], Mon May 18 06:38:59 2015 UTC (8 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.69: +13 -2 lines
Diff to previous 1.69 (colored)

Implement SIOCIFGCLONERS for netbsd32, so ifconfig -C works.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:33 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.67: +69 -2 lines
Diff to previous 1.67 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.64.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:17 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.64.2.2: +69 -2 lines
Diff to previous 1.64.2.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

sync with head.

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

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

Revision 1.67.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:33 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.67: +69 -2 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

sync with head

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Tue Mar 18 07:18:22 2014 UTC (10 years ago) by msaitoh
Branch: netbsd-6
Changes since 1.64: +40 -2 lines
Diff to previous 1.64 (colored)

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) - annotate - [select for diffs], Fri Jan 24 12:16:10 2014 UTC (10 years, 2 months ago) by bouyer
Branch: 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
Changes since 1.68: +31 -2 lines
Diff to previous 1.68 (colored)

Support WSDISPLAYIO_GETCMAP/WSDISPLAYIO_PUTCMAP. Tested on evbmips/loongson

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jan 24 10:41:07 2014 UTC (10 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.67: +40 -2 lines
Diff to previous 1.67 (colored)

Add ATAIOCCOMMAND ioctl form COMPAT_NETBSD32

This enables SMART monitoring by a netbsd32 binary.

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:47 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.64.2.1: +30 -4 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored)

sync with head

Revision 1.67 / (download) - annotate - [select for diffs], Mon Aug 6 08:27:49 2012 UTC (11 years, 8 months ago) by skrll
Branch: 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
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

Ensure correct alignment for stack buffers when long != 64-bit, e.g.
arm.

Revision 1.64.6.1 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:15 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.64: +129 -59 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync to latest -current.

Revision 1.66 / (download) - annotate - [select for diffs], Mon May 28 14:19:10 2012 UTC (11 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: jmcneill-usbmp-base10
Changes since 1.65: +28 -2 lines
Diff to previous 1.65 (colored)

compat for 80211 ioctls from jmcneill

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:54 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.64: +103 -59 lines
Diff to previous 1.64 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Fri May 11 19:00:36 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.64: +103 -59 lines
Diff to previous 1.64 (colored)

provide clockctl ioctl emulation

Revision 1.64 / (download) - annotate - [select for diffs], Thu Oct 6 03:19:32 2011 UTC (12 years, 6 months ago) by macallan
Branch: 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
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

fix pasto, now SIOCS80211NWKEY and SIOCG80211NWKEY actually work

Revision 1.63 / (download) - annotate - [select for diffs], Wed Oct 5 14:17:41 2011 UTC (12 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.62: +4 -2 lines
Diff to previous 1.62 (colored)

forgot SIOCG80211NWKEY32 when adding SIOCS80211NWKEY32

Revision 1.62 / (download) - annotate - [select for diffs], Wed Sep 28 01:46:39 2011 UTC (12 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.61: +51 -2 lines
Diff to previous 1.61 (colored)

support WSDISPLAYIO_GCURSOR and WSDISPLAYIO_SCURSOR

Revision 1.61 / (download) - annotate - [select for diffs], Wed Sep 7 02:35:00 2011 UTC (12 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.60: +5 -2 lines
Diff to previous 1.60 (colored)

support ioctl(POWER_EVENT_RECVDICT) - now powerd turns my gdium's backlight
off when the lid is closed

Revision 1.60 / (download) - annotate - [select for diffs], Tue Aug 30 14:22:22 2011 UTC (12 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.59: +44 -2 lines
Diff to previous 1.59 (colored)

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) - annotate - [select for diffs], Tue Aug 30 07:54:15 2011 UTC (12 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.58: +39 -2 lines
Diff to previous 1.58 (colored)

support SIOCG80211NWKEY

Revision 1.58 / (download) - annotate - [select for diffs], Tue Aug 30 07:06:39 2011 UTC (12 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.57: +33 -2 lines
Diff to previous 1.57 (colored)

add WSDISPLAYIO_ADDSCREEN

Revision 1.57 / (download) - annotate - [select for diffs], Sat Aug 27 19:25:35 2011 UTC (12 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.56: +22 -2 lines
Diff to previous 1.56 (colored)

translate WDOGIOC_GWDOGS

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:33 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.51: +114 -39 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Revision 1.46.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:42 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.46.4.2: +0 -1 lines
Diff to previous 1.46.4.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Mon Apr 4 18:24:56 2011 UTC (13 years ago) by ahoka
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.55: +2 -26 lines
Diff to previous 1.55 (colored)

remove FLASH_GET_INFO compat as it is no longer using size_t

Revision 1.55 / (download) - annotate - [select for diffs], Sat Mar 19 04:07:35 2011 UTC (13 years ago) by cliff
Branch: MAIN
Changes since 1.54: +25 -2 lines
Diff to previous 1.54 (colored)

compat/netbsd32 ioctl support for FLASH_GET_INFO

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:55 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.46.4.1: +230 -38 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored)

sync with head

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:47 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.52: +34 -3 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Tue Feb 1 00:53:22 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.53: +33 -2 lines
Diff to previous 1.53 (colored)

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) - annotate - [select for diffs], Sat Jan 22 20:51:21 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Fix c&p error.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jan 18 19:52:24 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.51: +83 -38 lines
Diff to previous 1.51 (colored)

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) - annotate - [select for diffs], Fri Oct 22 07:21:48 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.46.2.1: +116 -0 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

Sync with HEAD (-D20101022).

Revision 1.38.4.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:02 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.4.4: +118 -2 lines
Diff to previous 1.38.4.4 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.51 / (download) - annotate - [select for diffs], Fri Sep 24 13:12:53 2010 UTC (13 years, 6 months ago) by njoly
Branch: 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
Changes since 1.50: +26 -2 lines
Diff to previous 1.50 (colored)

Add support for envsys(4) version 2 ioctls.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Sep 19 10:33:31 2010 UTC (13 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.49: +19 -2 lines
Diff to previous 1.49 (colored)

add (runtime untested) support for AUDIO_WSEEK.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Sep 19 09:46:59 2010 UTC (13 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.48: +29 -2 lines
Diff to previous 1.48 (colored)

add support for the netbsd 5.0 versions of the VND* ioctls.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Sep 19 09:09:30 2010 UTC (13 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.47: +50 -2 lines
Diff to previous 1.47 (colored)

support VND* ioctls.

Revision 1.38.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:11 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.4.3: +3 -4 lines
Diff to previous 1.38.4.3 (colored) to branchpoint 1.38 (colored)

sync with head.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:15 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored)

sync with head

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:00 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Apr 23 15:19:20 2010 UTC (13 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored)

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) - annotate - [select for diffs], Thu Mar 11 15:03:18 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.4.2: +42 -3 lines
Diff to previous 1.38.4.2 (colored) to branchpoint 1.38 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Fri Dec 11 11:14:34 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

In netbsd32_from_{ifreq,oifreq}(), use the compat structure size for
memcpy.

From mrg.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 10 15:47:23 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
Changes since 1.44: +2 -3 lines
Diff to previous 1.44 (colored)

Kill debug printf.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 10 14:58:28 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
Changes since 1.43: +4 -6 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Wed Dec 9 04:50:47 2009 UTC (14 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.42: +45 -3 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Thu Jul 23 23:31:43 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:18 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.4.1: +3 -3 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 24 21:41:25 2009 UTC (14 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

More changes to improve kern_descrip.c.

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

Some measurements with libmicro:

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

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:25 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored)

sync with head.

Revision 1.38.6.4 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:46 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38.6.3: +9 -7 lines
Diff to previous 1.38.6.3 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:58 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.39.2.1: +7 -7 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with head.

Revision 1.37.6.4 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:19 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.37.6.3: +5 -5 lines
Diff to previous 1.37.6.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.41.10.2 / (download) - annotate - [select for diffs], Wed Jul 2 16:45:21 2008 UTC (15 years, 9 months ago) by matt
Branch: christos-time_t
Changes since 1.41.10.1: +547 -0 lines
Diff to previous 1.41.10.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

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 (15 years, 9 months ago) by matt
Branch: christos-time_t
Changes since 1.41: +0 -547 lines
FILE REMOVED

file netbsd32_ioctl.c was added on branch christos-time_t on 2008-07-02 16:45:21 +0000

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jul 2 16:45:20 2008 UTC (15 years, 9 months ago) by matt
Branch: 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
Changes since 1.40: +7 -7 lines
Diff to previous 1.40 (colored)

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) - annotate - [select for diffs], Sun Jun 29 09:33:04 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.37.6.2: +2 -0 lines
Diff to previous 1.37.6.2 (colored) to branchpoint 1.37 (colored)

Sync with HEAD.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:19 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

Sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jun 23 23:14:42 2008 UTC (15 years, 9 months ago) by njoly
Branch: MAIN
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

Update compat netbsd32 SIOCGIFCONF ioctls definitions to follow native
ones.

Revision 1.38.6.3 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:55 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38.6.2: +2 -4 lines
Diff to previous 1.38.6.2 (colored) to branchpoint 1.38 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:05 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.38: +2 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.37.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:06 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.37.6.1: +0 -2 lines
Diff to previous 1.37.6.1 (colored) to branchpoint 1.37 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 29 14:51:26 2008 UTC (15 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.38: +2 -4 lines
Diff to previous 1.38 (colored)

remove clause #3 from my license where there are no other
copyright holders involved.

Revision 1.38.6.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:09 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38.6.1: +2 -3 lines
Diff to previous 1.38.6.1 (colored) to branchpoint 1.38 (colored)

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) - annotate - [select for diffs], Sat May 10 23:48:57 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

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) - annotate - [select for diffs], Thu Apr 3 12:42:33 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.37: +26 -20 lines
Diff to previous 1.37 (colored)

Sync with HEAD.

Revision 1.23.4.6 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:41 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.4.5: +26 -20 lines
Diff to previous 1.23.4.5 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 21 21:54:58 2008 UTC (16 years ago) by ad
Branch: 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
Changes since 1.37: +26 -20 lines
Diff to previous 1.37 (colored)

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

Revision 1.23.4.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:41:51 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.4.4: +21 -72 lines
Diff to previous 1.23.4.4 (colored) to branchpoint 1.23 (colored)

sync with head

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:51:37 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.35: +21 -72 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with HEAD

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:53:09 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD

Revision 1.35.10.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:49:32 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.35: +21 -72 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:01 2007 UTC (16 years, 3 months ago) by dsl
Branch: 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
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

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) - annotate - [select for diffs], Sun Dec 9 19:37:19 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.34.6.1: +19 -70 lines
Diff to previous 1.34.6.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Dec 8 18:36:18 2007 UTC (16 years, 4 months ago) by dsl
Branch: 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
Changes since 1.35: +19 -70 lines
Diff to previous 1.35 (colored)

ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.23.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:32:39 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.4.3: +27 -22 lines
Diff to previous 1.23.4.3 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:20:01 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.34: +6 -26 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Mon Aug 20 21:25:58 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.30.2.2: +6 -26 lines
Diff to previous 1.30.2.2 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.34.6.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:02:54 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.34: +6 -26 lines
Diff to previous 1.34 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:31 2007 UTC (16 years, 8 months ago) by ad
Branch: 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
Changes since 1.34: +6 -26 lines
Diff to previous 1.34 (colored)

Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:30 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.30: +39 -14 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sat Jun 9 23:57:44 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.30.2.1: +4 -2 lines
Diff to previous 1.30.2.1 (colored)

Sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 30 00:00:59 2007 UTC (16 years, 10 months ago) by christos
Branch: 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
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored)

make this compile again
XXX: The ioctls will need to be fixed.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:28 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.30: +37 -14 lines
Diff to previous 1.30 (colored)

Sync with head.

Revision 1.30.6.2 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:41 2007 UTC (17 years ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.30.6.1: +33 -10 lines
Diff to previous 1.30.6.1 (colored) next main 1.31 (colored)

Pullup to -current

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:14 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.28.2.1: +37 -14 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 20 11:02:18 2007 UTC (17 years ago) by njoly
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Changes since 1.32: +29 -3 lines
Diff to previous 1.32 (colored)

Add ktrace I/O support to netbsd32_ioctl() syscall.
Reviewed by cube.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 18 21:38:33 2007 UTC (17 years ago) by dsl
Branch: MAIN
Changes since 1.31: +6 -9 lines
Diff to previous 1.31 (colored)

Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Sun Mar 18 00:06:36 2007 UTC (17 years, 1 month ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

First attempt to bring branch in sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Fri Mar 16 22:21:41 2007 UTC (17 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

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) - annotate - [select for diffs], Mon Mar 12 05:52:32 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.28: +15 -15 lines
Diff to previous 1.28 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Mar 4 07:54:08 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.29: +7 -7 lines
Diff to previous 1.29 (colored)

fix fallout from caddr_t changes.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:26 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.28: +17 -17 lines
Diff to previous 1.28 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.23.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:31 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.4.2: +2 -4 lines
Diff to previous 1.23.4.2 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:22 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

Merge newlock2 to head.

Revision 1.25.20.3 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:14 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.25.20.2: +2 -3 lines
Diff to previous 1.25.20.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.25.20.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:35 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.25.20.1: +2 -3 lines
Diff to previous 1.25.20.1 (colored) to branchpoint 1.25 (colored)

Remove support for SA. Ok core@.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 29 01:52:44 2007 UTC (17 years, 2 months ago) by hubertf
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Sat Dec 30 20:47:42 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.4.1: +5 -2 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.25.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:12 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored)

Sync with head.

Revision 1.25.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:27 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Sun Sep 24 10:20:16 2006 UTC (17 years, 6 months ago) by fvdl
Branch: 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
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored)

EPASSTHROUGH from lower layers is returned as ENOTTY to the (system) caller.
Make it so.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:59:35 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23: +39 -39 lines
Diff to previous 1.23 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 24 20:45:08 2005 UTC (18 years, 3 months ago) by perry
Branch: 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
Changes since 1.24: +34 -34 lines
Diff to previous 1.24 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:22 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.23: +7 -7 lines
Diff to previous 1.23 (colored)

merge ktrace-lwp.

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:41 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with -current

Revision 1.22.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:43 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.20.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:20 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.4: +3 -3 lines
Diff to previous 1.20.2.4 (colored) next main 1.21 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 26 23:10:21 2005 UTC (19 years, 1 month ago) by perry
Branch: 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
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

nuke trailing whitespace

Revision 1.20.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:25:53 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.3: +7 -7 lines
Diff to previous 1.20.2.3 (colored)

Fix the sync with head I botched.

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:43:58 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.2: +7 -7 lines
Diff to previous 1.20.2.2 (colored)

Sync with HEAD.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Thu Aug 26 19:28:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.1: +7 -7 lines
Diff to previous 1.20.2.1 (colored)

Adapt to branch.

sparc64 GENERIC compiles.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:21 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20: +66 -81 lines
Diff to previous 1.20 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 15 14:36:28 2004 UTC (20 years, 3 months ago) by mrg
Branch: 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
Changes since 1.21: +66 -50 lines
Diff to previous 1.21 (colored)

begin to implement some ifreq ioctls... long long way to go.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Sep 21 19:16:54 2003 UTC (20 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.20: +2 -33 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Sun Jun 29 22:29:38 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored)

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) - annotate - [select for diffs], Sun Jun 29 13:35:39 2003 UTC (20 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.18: +9 -9 lines
Diff to previous 1.18 (colored)

struct proc * -> struct lwp *

Revision 1.18 / (download) - annotate - [select for diffs], Sat Apr 12 05:00:38 2003 UTC (21 years ago) by christos
Branch: MAIN
Changes since 1.17: +4 -7 lines
Diff to previous 1.17 (colored)

get rid of the ASYNCMAP ioctls

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:16 2003 UTC (21 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.16: +12 -3 lines
Diff to previous 1.16 (colored)

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) - annotate - [select for diffs], Sat Jan 18 08:28:26 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +6 -4 lines
Diff to previous 1.15 (colored)

Merge the nathanw_sa branch.

Revision 1.8.2.8 / (download) - annotate - [select for diffs], Mon Nov 11 22:07:51 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.8.2.7: +15 -13 lines
Diff to previous 1.8.2.7 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Catch up to -current

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 23 13:16:43 2002 UTC (21 years, 5 months ago) by scw
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.14: +15 -13 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Fri Aug 23 02:37:10 2002 UTC (21 years, 7 months ago) by petrov
Branch: nathanw_sa
Changes since 1.8.2.6: +5 -4 lines
Diff to previous 1.8.2.6 (colored) to branchpoint 1.8 (colored)

lwpification.

Revision 1.8.2.6 / (download) - annotate - [select for diffs], Wed May 29 21:32:49 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.5: +3 -2 lines
Diff to previous 1.8.2.5 (colored) to branchpoint 1.8 (colored)

#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) - annotate - [select for diffs], Thu Feb 28 04:12:58 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.4: +2 -2 lines
Diff to previous 1.8.2.4 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Fri Jan 11 23:38:49 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.3: +8 -158 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored)

More catchup.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:51:55 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.10.2.1: +11 -158 lines
Diff to previous 1.10.2.1 (colored) next main 1.11 (colored)

Sync kqueue branch with -current.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 3 02:29:39 2002 UTC (22 years, 3 months ago) by mrg
Branch: 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
Changes since 1.13: +8 -158 lines
Diff to previous 1.13 (colored)

move sparc specific ioctl handling (fb & openprom) into arch/sparc64.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:13:16 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.2: +4 -1 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Nov 13 02:09:06 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

add RCSIDs (including regeneration of files as appropriate)

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:43:51 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Catch up with -current.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:21 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.1: +3 -3 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 19 18:10:32 2001 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

machine/fbio.h -> dev/sun/fbio.h

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:27 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Update the kqueue branch to HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 25 15:06:03 2001 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

update copyright notices.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:00:02 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8: +17 -4 lines
Diff to previous 1.8 (colored)

Catch up to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 19 00:36:21 2001 UTC (22 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: kqueue
Changes since 1.9: +15 -0 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Thu Jun 14 20:32:44 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +2 -4 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Fri Dec 8 09:08:34 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.1: +8 -8 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 5 15:25:57 2000 UTC (23 years, 4 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.7: +8 -8 lines
Diff to previous 1.7 (colored)

Fix uninitialized pointer bug.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:08:30 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4: +353 -221 lines
Diff to previous 1.4 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Aug 26 01:08:57 2000 UTC (23 years, 7 months ago) by mrg
Branch: 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
Changes since 1.5: +278 -202 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

pull up 1.7.  approved by thorpej:
>Fix netbsd32_ioctls.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 19 14:38:18 2000 UTC (23 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.6: +289 -212 lines
Diff to previous 1.6 (colored)

Fix netbsd32_ioctls.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 9 13:39:31 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.5: +65 -22 lines
Diff to previous 1.5 (colored)

- 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) - annotate - [select for diffs], Thu Dec 30 15:40:45 1999 UTC (24 years, 3 months ago) by eeh
Branch: 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
Changes since 1.4: +13 -1 lines
Diff to previous 1.4 (colored)

Update to 32-bit compatibility routines.

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:29 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Pull up to last week's -current.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 11 01:36:23 1999 UTC (24 years, 6 months ago) by eeh
Branch: 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
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Thu Mar 25 16:58:40 1999 UTC (25 years ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: wrstuden-devbsize
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

SPARC32->NETBSD32

Revision 1.2 / (download) - annotate - [select for diffs], Thu Mar 25 16:22:49 1999 UTC (25 years ago) by mrg
Branch: MAIN
Changes since 1.1: +78 -78 lines
Diff to previous 1.1 (colored)

move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)

Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 26 10:20:35 1998 UTC (25 years, 7 months ago) by mrg
Branch: 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>