Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (4h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 07:58:53 UTC Now

2009-12-13 05:01:34 UTC MAIN commitmail json YAML

2009-12-13 04:57:16 UTC MAIN commitmail json YAML

2009-12-13 04:54:51 UTC MAIN commitmail json YAML

2009-12-13 04:47:46 UTC MAIN commitmail json YAML

Pullup from matt-nb5-mips64.

For each syscall, add a flag for the return value or an argument indicating
that it is a 64-bit argument.  Also include the number of 64-bit arguments.
In theory this could get most of the code in compat/netbsd32/netbsd32_netbsd.c
but not at the moment due to multiply defined structures.

(matt)

2009-12-13 04:36:03 UTC MAIN commitmail json YAML

2009-12-13 03:06:23 UTC MAIN commitmail json YAML

32-bit compat is CPU specific rather than machine.
So use MACHINE_ARCH instead.

(nakayama)

2009-12-13 01:02:25 UTC MAIN commitmail json YAML

create /usr/lib/{i386,sparc}{,/security,/i18n} here, where they belong.

(mrg)

2009-12-13 00:25:30 UTC matt-nb5-mips64 commitmail json YAML

TLBUpdate (all forms) takes vaddr_t, uint32_t

(matt)

2009-12-12 23:45:36 UTC MAIN commitmail json YAML

Switch cats to X.Org.

(snj)

2009-12-12 21:33:51 UTC MAIN commitmail json YAML

replace /usr/lib with ${_GCC_CRTDIR} or ${SHLIBDIR} as appropriate.

(mrg)

2009-12-12 21:28:04 UTC MAIN commitmail json YAML

Add support for unblocking read/write when close called.
Fixes PR/26567 for pipes.
(NB ad backed out the fix for sockets)

(dsl)

2009-12-12 19:08:57 UTC matt-nb5-mips64 commitmail json YAML

2009-12-12 17:48:54 UTC MAIN commitmail json YAML

Fix comment for arg types of sys_profil().

(dsl)

2009-12-12 17:47:05 UTC MAIN commitmail json YAML

Bounding the 'nfds' arg to poll() at the current process limit for actual
open files is rather gross - the poll map isn't required to be dense.
Instead limit to a much larger value (1000 + dt_nfiles) so that user
programs cannot allocate indefinite sized blocks of kvm.
If the limit is exceeded, then return EINVAL instead of silently truncating
the list.
(The silent truncation in select isn't quite as bad - although even there
any high bits that are set ought to generate an EBADF response.)
Move the code that converts ERESTART and EWOULDBLOCK into common code.
Effectively fixes PR/17507 since the new limit is unlikely to be detected.

(dsl)

2009-12-12 17:29:34 UTC MAIN commitmail json YAML

Report L_INMEM in the lwp info as well.

(dsl)

2009-12-12 17:10:20 UTC MAIN commitmail json YAML

Use linker script to make __start/stop_link_set_modules be present
in libs built with binutils >=2.19.  This is a less error-prone
method than the previous where components had to be tagged in the
Makefile as modules (and if they weren't, things broke.  and vice
versa).

(pooka)

2009-12-12 17:03:19 UTC MAIN commitmail json YAML

Always set L_INMEM to maintain binary compatibility.

(dsl)

2009-12-12 16:37:22 UTC MAIN commitmail json YAML

Allow NetBSD/hp300 kernel work with PGSHIFT==13, i.e. 8KB/page.
Tested on HP9000/382 with 68040.

XXX: 8KB/page won't work on HP MMU machines (i.e. HP320 and HP350).

(tsutsui)

2009-12-12 16:12:05 UTC MAIN commitmail json YAML

Switch to using todr_[gs]ettime_ymdhms() format
which don't require struct timeval details.
Also fix a botch calling MI todr_settime(9) without rtc_offset adjustment.

(tsutsui)

2009-12-12 15:25:32 UTC MAIN commitmail json YAML

Correct/add comments.

(skrll)

2009-12-12 15:17:23 UTC MAIN commitmail json YAML

Remove `volatile' qualifier from argument types of
struct timeval passed to todr_gettime(9) and todr_settime(9).
We no longer have an ancient and volatile struct timeval `time'
global since we have switched to MI timercounter(9) on all port.

XXX1: some of these RTC drivers still assume 32bit time_t
XXX2: some of these should be rewritten to use todr_[gs]ettime_ymdhms()
XXX3: todr(9) man page doesn't mention todr_[gs]ettime_ymdhms()

(tsutsui)

2009-12-12 15:10:34 UTC MAIN commitmail json YAML

Remove `volatile' qualifier from argument types of
struct timeval passed to todr_gettime(9) and todr_settime(9).
We no longer have an ancient and volatile struct timeval `time'
global since we have switched to MI timercounter(9) on all port.

XXX1: some of these RTC drivers still assume 32bit time_t
XXX2: some of these should be rewritten to use todr_[gs]ettime_ymdhms()
XXX3: todr(9) man page doesn't mention todr_[gs]ettime_ymdhms()

(tsutsui)

2009-12-12 14:44:10 UTC MAIN commitmail json YAML

Remove `volatile' qualifier from argument types of
struct timeval passed to todr_gettime(9) and todr_settime(9).
We no longer have an ancient and volatile struct timeval `time'
global since we have switched to MI timercounter(9) on all port.

XXX1: some of these RTC drivers still assume 32bit time_t
XXX2: some of these should be rewritten to use todr_[gs]ettime_ymdhms()
XXX3: todr(9) man page doesn't mention todr_[gs]ettime_ymdhms()

(tsutsui)

2009-12-12 14:30:59 UTC MAIN commitmail json YAML

regen properly for usbdevs, 1.538, _after_ commit

(cherry)

2009-12-12 14:29:34 UTC MAIN commitmail json YAML

report collect charge state.

(nonaka)

2009-12-12 14:18:28 UTC MAIN commitmail json YAML

Add ID for Qualcomminc AC8700 as found in "ZTE, Incorporated ZTE CDMA Tech, rev 1.10/0.00,  Works with BSNL (http://www.bsnl.co.in) EVDO service

(cherry)

2009-12-12 14:15:25 UTC MAIN commitmail json YAML

2009-12-12 14:03:48 UTC MAIN commitmail json YAML

regen from usbdevs 1.538
> Add product IDs for Qualcomm RWT FCT-CDMA 2000 1xRTT Modem, ZTE Storage and CDMA 1xEVDO Modem
> From $FreeBSD: head/sys/dev/usb/usbdevs 199331 2009-11-16 20:35:16Z thompsa $

(cherry)

2009-12-12 14:01:54 UTC MAIN commitmail json YAML

Add product IDs for Qualcomm RWT FCT-CDMA 2000 1xRTT Modem, ZTE Storage and CDMA 1xEVDO Modem
From $FreeBSD: head/sys/dev/usb/usbdevs 199331 2009-11-16 20:35:16Z thompsa $

(cherry)

2009-12-12 13:12:49 UTC MAIN commitmail json YAML

2009-12-12 13:10:36 UTC MAIN commitmail json YAML

Reverted the CIA-timer based delay() to the pre-5.0 method of a calibrated
delay loop.
This fixes keyboard handshaking problems with some A1200 models since 5.0
and restores the precision for short delays on DraCo systems (the QuickLogic
timer has only a seventh of the CIA precision).
Changed the keyboard handshaking delay from 2000 back to 200ms, although
even the recommended 85ms were successfully tested on the most problematic
A1200 keyboards.
All those changes were tested on an A3000 and A1200 with 68060/50 CPU, and
previously discussed on the port-amiga ML.

(phx)

2009-12-12 12:23:29 UTC MAIN commitmail json YAML

Clear new pcb in cpu_lwp_fork, now that this seems to no longer be
guaranteed to be zeroed memory after the uarea swap changes.
XXX shouldn't we zero the new uarea upfront in MI code before calling
uvm_lwp_fork?

(martin)

2009-12-12 12:19:21 UTC MAIN commitmail json YAML

Fix register usage in previous proc0paddr->lwp0.l_addr change: do not
overwrite %r1 yet, it is later used to calculate the kernel stack pointer.
As a side effect the right value is stored in $PR_PCBB again.

(martin)

2009-12-12 11:38:45 UTC MAIN commitmail json YAML

use APM_BATT_FLAG_CHARGING.

(nonaka)

2009-12-12 11:35:16 UTC MAIN commitmail json YAML

Use bool where appropriate.

(tsutsui)

2009-12-12 11:28:40 UTC MAIN commitmail json YAML

Don't use int to get delta of time_t values.

(tsutsui)

2009-12-12 11:22:59 UTC MAIN commitmail json YAML

Use time_t to calculate days and secs to avoid potential overflow.

(tsutsui)

2009-12-12 11:16:33 UTC MAIN commitmail json YAML

2009-12-12 10:32:26 UTC MAIN commitmail json YAML

Remove semicolon from NETBSD32TOx_UAP macro definitions.

(njoly)

2009-12-12 10:30:09 UTC MAIN commitmail json YAML

2009-12-12 09:55:44 UTC MAIN commitmail json YAML

Allow NetBSD/mac68k kernel work with PGSHIFT==13, i.e. 8KB/page.
Tested on LC630 with 68LC040.

(tsutsui)

2009-12-12 09:54:42 UTC MAIN commitmail json YAML

Allow NetBSD/news68k kernel work with PGSHIFT==13, i.e. 8KB/page.
Tested on NWS-1750 with 68030.

(tsutsui)

2009-12-12 07:52:36 UTC MAIN commitmail json YAML

2009-12-12 07:49:31 UTC MAIN commitmail json YAML

Use tpcalib_ioctl() instead of hpc_tpanel_ioctl().

(nonaka)

2009-12-12 01:45:01 UTC matt-nb5-mips64 commitmail json YAML

initialize sc_frequency to CONSFREQ

(cliff)

2009-12-12 01:32:10 UTC MAIN commitmail json YAML

replace NETBSD_DIST_X11_FILE and NETBSD_DIST_EXTSRC_FILE with EXTRA_DIST_FILES

(mrg)

2009-12-12 00:46:04 UTC MAIN commitmail json YAML

fix error branch

(pooka)

2009-12-12 00:24:57 UTC MAIN commitmail json YAML

2009-12-12 00:18:34 UTC matt-nb5-mips64 commitmail json YAML

- in ipl_sr_bits[], ensure ints for unused vectors are always disabled
  and ensure that MIPS_INT_MASK_5 (clock) is enabled as needed
- break IRT entry management out into routines;
  this allows e.g. setup of IRT entry for clock without all the
  rest of rmixl_intr_irt_establish()
- evbmips_intr_init() now creates IRT entry for mips3 clock interrupt

(cliff)

2009-12-12 00:10:44 UTC matt-nb5-mips64 commitmail json YAML

- use #ifdef MIPS_SYSCALL_DEBUG instead of #if 0
- we should have a runtime switch also (TBD)

(cliff)

2009-12-11 23:57:38 UTC matt-nb5-mips64 commitmail json YAML

- add another known/recognized psb_version ID#
- useing comcnfreq instead of -1 in rmixl_com_cnattach now
- MIPS_RESET_EXC_VEC is physical addr, no need for translation to phys
  when reserving from phys memory (should never be in the list anyway).
- in rmixlfw_init(), when untested psb_version, initialize mem_clusters[]
  (to use MEMSIZE)

(cliff)

2009-12-11 23:44:25 UTC matt-nb5-mips64 commitmail json YAML

remove option ENABLE_MIPS_16KB_PAGE

(cliff)

2009-12-11 22:37:39 UTC MAIN commitmail json YAML

Add commented out xf86-video-igs under netwinder.

(snj)

2009-12-11 22:35:42 UTC MAIN commitmail json YAML

Switch netwinder to X.Org.

(snj)

2009-12-11 22:34:30 UTC MAIN commitmail json YAML

libint10 is only built on amd64, i386, and macppc.  Update the xorg part
of this setlist to reflect that.

(snj)

2009-12-11 22:23:09 UTC MAIN commitmail json YAML

2009-12-11 21:21:52 UTC MAIN commitmail json YAML

uncommit accidental changes

(pooka)

2009-12-11 21:20:52 UTC MAIN commitmail json YAML

Use range locking (fnctl(F_SETLK)) instead of file locking (flock()).
This allows to mount multiple (non-overlapping) partitions from the
same disk image.

(pooka)

2009-12-11 20:33:08 UTC matt-nb5-mips64 commitmail json YAML

2009-12-11 20:26:21 UTC matt-nb5-mips64 commitmail json YAML

2009-12-11 20:22:16 UTC matt-nb5-mips64 commitmail json YAML

2009-12-11 20:00:49 UTC MAIN commitmail json YAML

Fix (probably fatal) typo on yamt-km merge back on 2005.

(tsutsui)

2009-12-11 19:43:19 UTC MAIN commitmail json YAML

MAXADDR used for PA == VA mapping should be page size dependent.

(tsutsui)

2009-12-11 19:36:05 UTC MAIN commitmail json YAML

Fix leftover botch in rev 1.48:
Remove initialization of protection_codes[] which has been movde into
pmap_bootstrap_finalize().

(tsutsui)

2009-12-11 18:57:44 UTC MAIN commitmail json YAML

Define SYSMAP_VA in <m68k/pmap_motorola.h>
where the Sysmap pointer is declared.

(tsutsui)

2009-12-11 18:45:06 UTC MAIN commitmail json YAML

NBSG is not used in this file so remove unnecessary comment and include.

(tsutsui)

2009-12-11 18:42:05 UTC MAIN commitmail json YAML

Include pmap.h or pmap3.h instead of param.h for NBSG to handle MMU.

(tsutsui)

2009-12-11 18:40:08 UTC MAIN commitmail json YAML

Export NBSG for bootloaders. MMU is enabled even on PROM on sun68k machines.

(tsutsui)

2009-12-11 18:31:27 UTC MAIN commitmail json YAML

Export pmap_procwr() declaration only #ifdef _KERNEL.

(tsutsui)

2009-12-11 18:28:35 UTC MAIN commitmail json YAML

Move uvm_setpagesize() calls from locore.s to pmap_bootstrap_finalize().
Also explicitly set uvmexp.pagesize to prepare 8KB/page settings.

XXX: There is #ifdef !defined(amiga) && !defined(atari) workaround
XXX: because they have different pmap initialization functions.

(tsutsui)

2009-12-11 17:53:23 UTC MAIN commitmail json YAML

Refactoring MD segment related definitions on m68k ports:
- move macro SEGSHIFT, NBSEG, and SEGOFSET from <machine/param.h>
  to <m68k/pmap_motorola.h> where they should belong
- also simplify NBSEG macro for both 020/030 and 040/060 cases
- also move m68k_trunc_seg(), m68k_round_seg(), and m68k_seg_offset()
  (that use SEGOFSET) from <m68k/param.h> to <m68k/pmap_motorola.h>
- add comments about each segment size value used on pmap_motorola
  implementation
- add TIA_SIZE, TIA_SHIFT, TIB_SIZE, and TIB_SHIFT macro which can be
  used for ste/pte index sizes
- use proper vaddr_t cast instead of unsigned for SEGOFSET/PGOFSET macro

Tested on atari, hp300, and news68k.

(tsutsui)

2009-12-11 17:17:51 UTC matt-nb5-mips64 commitmail json YAML

Cleanup/add some comments.

(matt)

2009-12-11 17:00:49 UTC MAIN commitmail json YAML

There is no NetBSD 4.1 (yet?) and 5.0 has been released before it.

(tsutsui)

2009-12-11 16:47:33 UTC MAIN commitmail json YAML

Init ukfs__part_{na,none} statically instead of at runtime to avoid
init-order lossage from p2k/rump_smbfs, as noted by Tron.

(pooka)

2009-12-11 16:46:27 UTC MAIN commitmail json YAML

This is linked against rumpnet_sockin, so it should not be linked
against rumpnet_netinet anymore.

(pooka)

2009-12-11 16:34:50 UTC MAIN commitmail json YAML

Include component.c instead of dummy.c so that domain constructors
get properly called.

(pooka)

2009-12-11 16:10:56 UTC MAIN commitmail json YAML

Use $GENCMD to generate misc.[ch].  Carefully quote strings.

(uebayasi)

2009-12-11 16:09:03 UTC MAIN commitmail json YAML

GENCMD: quote the string to eval in case it has spaces.

(uebayasi)

2009-12-11 16:04:30 UTC MAIN commitmail json YAML

Fix SwapXY and rotation support. From OpenBSD.

(mbalmer)

2009-12-11 15:25:05 UTC MAIN commitmail json YAML

Set $rundir before calling sets.subr as other scripts do.

(uebayasi)

2009-12-11 15:22:33 UTC MAIN commitmail json YAML

Move the test for evbppc out of sets.subr and into bsd.own.mk, to
decide whether to make kernel modules: set MKKMOD to no for evbppc.
Use this in etc/Makefile to decide whether to do the "modules"
obsolete sets.  Move the ./var/db/obsolete/modules entry from the
"mi" to the "module.mi" file set.

Fixes the build for evbppc.

Discussed with uebayasi@

(he)

2009-12-11 13:56:16 UTC MAIN commitmail json YAML

Refactoring MD segment related definitions on m68k ports:
- move macro SEGSHIFT, NBSG, and SEGOFFSET from <machine/param.h>
  to <machine/pmap.h> where they should belong
- don't use m68k_round_seg() and m68k_trunc_seg() in sun2 pmap sources
  and instead define and use sun2_round_seg() and sun2_trunc_seg()
  since they are quite pmap implementation dependent

(tsutsui)

2009-12-11 13:52:58 UTC MAIN commitmail json YAML

Refactoring MD segment related definitions on m68k ports:
- move macro SEGSHIFT, NBSG, and SEGOFFSET from <machine/param.h>
  to <machine/pmap.h> where they should belong
- don't use m68k_round_seg() and m68k_trunc_seg() in sun3 pmap sources
  and instead define and use sun3_round_seg() and sun3_trunc_seg()
  since they are quite pmap implementation dependent

(tsutsui)

2009-12-11 13:30:11 UTC MAIN commitmail json YAML

list_set_lists() - Share code of handling *.ad.* set lists.

(uebayasi)

2009-12-11 13:10:47 UTC MAIN commitmail json YAML

2009-12-11 13:10:07 UTC MAIN commitmail json YAML

Refactor list_set_lists using more functions.

(uebayasi)

2009-12-11 12:57:39 UTC MAIN commitmail json YAML

Replace many "if [ -f $x ]; then echo $x; fi" instances with function.

(uebayasi)

2009-12-11 12:07:58 UTC MAIN commitmail json YAML

Prefix mkvars.mk with ${rundir}/, so that the scripts from this
dir using sets.subr can be run from another directory, as is done
e.g. during "make release" via the mksums script.

OK'ed by uebayasi@

(he)

2009-12-11 11:48:41 UTC MAIN commitmail json YAML

Put intermediate lists on the top of ${DESTDIR} (${DESTDIR}/SETS.*) and leave
them.  Teach list generators to ignore them.  Always generate metalog
missing/extra lists too, but don't check it (for now).  I'll change "flist"
to be generated only when set lists have changed.

No functional changes.

(uebayasi)

2009-12-11 11:14:34 UTC MAIN commitmail json YAML

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

From mrg.

(njoly)

2009-12-11 11:07:05 UTC MAIN commitmail json YAML

Don't refer garbage in stack.
- An argument of struct timeval *tv passed by todr_gettime(9) is used
  for a return value and it doesn't contain valid data. Don't read it.
- Instead, use getmicrotime(9) to get a "reasonable" (i.e. current) time
  to see expected year value (which is not kept by this device).
- If current time is not valid, assume this is the first todr_gettime(9)
  call from inittodr(9) and use file system time for the "reasonable" year.

Fixes silent hangup after mountroot() on sun2.

XXX: MI todr(9) functions seem to get mangled around year ~22000.

(tsutsui)

2009-12-11 09:37:30 UTC netbsd-5 commitmail json YAML

2009-12-11 09:37:10 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by tron in ticket #1191):
sbin/raidctl/raidctl.c: revision 1.43

Slight change to the wording of the parity map info: the parity is
"marked clean" after however much inactivity; it is *actually* clean
as soon as the component disks all do their thing (on the order of ms,
usually), just the same as before.

(sborrill)

2009-12-11 09:04:04 UTC MAIN commitmail json YAML

From Paul Wernau: vmbuf.h was defined twice in the headers. Remove the
redundant entry so new install tool does not complain about overwriting
just installed file.

(tteras)

2009-12-11 08:52:37 UTC MAIN commitmail json YAML

${GENCMD}:
Prefix tmp directories as /tmp/_gencmd.XXXXXX to give users a clue when it's
left accidentally.

(uebayasi)

2009-12-11 08:39:42 UTC MAIN commitmail json YAML

Rewrite file generation rules using ${GENCMD}.  No functional changes intended.

(uebayasi)

2009-12-11 08:37:34 UTC MAIN commitmail json YAML

${GENCMD} is used to generate only one output from file generation commands
which potentially have multiple output files, which confuses make(1).

This wrapper copies all involved files into /tmp, execute the command, and
copy the wanted file back to ${.OBJDIR}.  If this is expensive, consider to
rewrite the generation command to output files individually.

XXX bsd.own.mk is too bloated.

(uebayasi)

2009-12-11 06:52:41 UTC matt-nb5-mips64 commitmail json YAML

use "gcc -r" not "gcc -Wl,-r", since this bypasses various specs
tests and ends up making gcc pass "-r -relax" to ld, which barfs.

ok matt@.

(mrg)

2009-12-11 05:52:04 UTC MAIN commitmail json YAML

2009-12-10 23:22:07 UTC netbsd-5 commitmail json YAML

2009-12-10 23:18:48 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #1190):
lib/libcurses/keypad.c: revision 1.11
lib/libcurses/curses.h: revision 1.94
Make keypad return an int instead of nothing, as the SUS and even
curses_input(3) [!] say it should.
OK'd jdc@.  ABI lawyers say this doesn't need major bump.

(snj)

2009-12-10 23:13:45 UTC netbsd-5-0 commitmail json YAML

2009-12-10 23:12:18 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #1189):
sys/kern/kern_time.c: revision 1.163
If a struct sigevent with SIGEV_SIGNAL is passed to timer_create(2),
check the signal number to be in the allowed range. An invalid
signal number could crash the kernel by overflowing the sigset_t
array.
More checks would be good, and SIGEV_THREAD shouldn't be dropped
silently, but this fixes at least the local DOS vulnerability.

(snj)

2009-12-10 23:10:38 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #1189):
sys/kern/kern_time.c: revision 1.163
If a struct sigevent with SIGEV_SIGNAL is passed to timer_create(2),
check the signal number to be in the allowed range. An invalid
signal number could crash the kernel by overflowing the sigset_t
array.
More checks would be good, and SIGEV_THREAD shouldn't be dropped
silently, but this fixes at least the local DOS vulnerability.

(snj)

2009-12-10 23:08:43 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #1188):
sys/kern/sys_mqueue.c: revision 1.28 via patch
fix some security critical bugs:
-an invalid signal number passed to mq_notify(2) could crash the kernel
on delivery -- add a boundary check
-mq_receive(2) from an empty queue crashed the kernel by NULL dereference
in timeout calculation -- handle the NULL case
-likewise for mq_send(2) to a full queue
-a user could set mq_maxmsg (the maximal number of messages in a queue)
to a huge value on mq_open(O_CREAT) and later use up all kernel
memory by mq_send(2) -- add a sysctl'able limit which defaults
to 16*mq_def_maxmsg
(mq_notify(2) should get some more checks, and SIGEV_* values other
than SIGEV_SIGNAL should be handled somehow, but this doesn't look
security critical)

(snj)

2009-12-10 23:01:44 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by tron in ticket #1187):
sys/dev/raidframe/rf_paritymap.c: revision 1.1-1.3 via patch
sys/dev/raidframe/rf_paritymap.h: revision 1.1 via patch
Pull up the RAIDframe parity map Summer Of Code project.
Drastically reduces the amount of time spent rewriting parity after an
unclean shutdown by keeping better track of which regions might have had
outstanding writes.  Enabled by default; can be disabled on a per-set
basis, or tuned, with the new raidctl(8) commands.

(snj)

2009-12-10 22:59:17 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by tron in ticket #1187):
sbin/raidctl/raidctl.8: revisions 1.57-1.59 via patch
sbin/raidctl/raidctl.c: revision 1.42 via patch
sys/dev/raidframe/files.raidframe: revision 1.8 via patch
sys/dev/raidframe/rf_copyback.c: revision 1.42 via patch
sys/dev/raidframe/rf_disks.c: revision 1.72 via patch
sys/dev/raidframe/rf_driver.c: revision 1.122 via patch
sys/dev/raidframe/rf_engine.c: revision 1.40 via patch
sys/dev/raidframe/rf_kintf.h: revision 1.21 via patch
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.269 via patch
sys/dev/raidframe/rf_paritymap.c: revisions 1.1-1.3 via patch
sys/dev/raidframe/rf_paritymap.h: revision 1.1 via patch
sys/dev/raidframe/rf_parityscan.c: revision 1.33 via patch
sys/dev/raidframe/rf_parityscan.h: revision 1.8 via patch
sys/dev/raidframe/rf_raid.h: revision 1.38 via patch
sys/dev/raidframe/rf_reconstruct.c: revision 1.108 via patch
sys/dev/raidframe/rf_states.c: revision 1.44 via patch
sys/dev/raidframe/raidframeio.h: revision 1.6 via patch
sys/dev/raidframe/raidframevar.h: revision 1.13 via patch
Pull up the RAIDframe parity map Summer Of Code project.
Drastically reduces the amount of time spent rewriting parity after an
unclean shutdown by keeping better track of which regions might have had
outstanding writes.  Enabled by default; can be disabled on a per-set
basis, or tuned, with the new raidctl(8) commands.

(snj)

2009-12-10 20:55:17 UTC MAIN commitmail json YAML

Avoid leaking a mutex_obj when pipe_create() fails for the read pipe.
Remove the unused argument from pipeclose().

(dsl)

2009-12-10 20:20:59 UTC MAIN commitmail json YAML

Slight change to the wording of the parity map info: the parity is
"marked clean" after however much inactivity; it is *actually* clean
as soon as the component disks all do their thing (on the order of ms,
usually), just the same as before.

The bikeshed is now less of a taupe and more of an ecru.

(jld)

2009-12-10 18:57:32 UTC MAIN commitmail json YAML

accept uppercase hex digits when parsing a provided key

(plunky)

2009-12-10 17:18:33 UTC MAIN commitmail json YAML

Thinko; missing/extra are generated differently for metalog/destdir comparison
methods.  Fix mistakenly merged generation functions.

(uebayasi)

2009-12-10 17:07:27 UTC MAIN commitmail json YAML

2009-12-10 16:55:17 UTC MAIN commitmail json YAML

Do not give native requests to netbsd32_ioctl(), use the compat
netbsd32 equivalent instead.

(njoly)

2009-12-10 16:40:21 UTC MAIN commitmail json YAML

Style.  Better variable names.

(uebayasi)

2009-12-10 16:22:06 UTC MAIN commitmail json YAML

Share more code.  Call functions in one place.

(uebayasi)

2009-12-10 16:12:00 UTC MAIN commitmail json YAML

Refactor; move generate_* function calls in single place.

(uebayasi)

2009-12-10 16:09:13 UTC MAIN commitmail json YAML

Use more functions.  But still no functional changes.

(uebayasi)

2009-12-10 16:01:06 UTC MAIN commitmail json YAML

Use shell function because I like it.  No functional changes.

(uebayasi)

2009-12-10 15:51:24 UTC MAIN commitmail json YAML

Move make variable extraction & conversion logic from here-documented make
-f- command to an isolated makefile.  The list of non-_MKVARS.* variables
are concentrated there.

No functional changes.

(uebayasi)

2009-12-10 15:47:23 UTC MAIN commitmail json YAML

2009-12-10 14:58:28 UTC MAIN commitmail json YAML

Make netbsd32_from_{ifreq,oifreq}() copy the whole structure, not only
the interface name. Finally fix my own PR/39424.

ok by christos.

(njoly)

2009-12-10 14:13:54 UTC MAIN commitmail json YAML

2009-12-10 14:10:35 UTC MAIN commitmail json YAML

2009-12-10 13:35:32 UTC MAIN commitmail json YAML

u-area is no longer zero-cleared. reset here

(uch)

2009-12-10 13:29:14 UTC MAIN commitmail json YAML

2009-12-10 13:25:19 UTC MAIN commitmail json YAML

Move the list of non-_MKVARS.* make variables from .for code to MKEXTRAVARS.
List one variable in one line for readability.  No functional changes.

(uebayasi)

2009-12-10 13:19:21 UTC MAIN commitmail json YAML

Put MKMANZ back and unbreak its installation.

(uebayasi)

2009-12-10 12:39:12 UTC MAIN commitmail json YAML

If a struct sigevent with SIGEV_SIGNAL is passed to timer_create(2),
check the signal number to be in the allowed range. An invalid
signal number could crash the kernel by overflowing the sigset_t
array.
More checks would be good, and SIGEV_THREAD shouldn't be dropped
silently, but this fixes at least the local DOS vulnerability.

(drochner)

2009-12-10 12:29:44 UTC MAIN commitmail json YAML

iommu_dvmamap_load:
Split a segment if its size is larger than dm_maxsegsz.

iommu_dvmamap_load_raw:
Don't coalesce segments if total size is larger than dm_maxsegsz.

This should fix port-sparc64/35299.

(nakayama)

2009-12-10 12:22:48 UTC MAIN commitmail json YAML

fix some security critical bugs:
-an invalid signal number passed to mq_notify(2) could crash the kernel
on delivery -- add a boundary check
-mq_receive(2) from an empty queue crashed the kernel by NULL dereference
in timeout calculation -- handle the NULL case
-likewise for mq_send(2) to a full queue
-a user could set mq_maxmsg (the maximal number of messages in a queue)
to a huge value on mq_open(O_CREAT) and later use up all kernel
memory by mq_send(2) -- add a sysctl'able limit which defaults
to 16*mq_def_maxmsg

(mq_notify(2) should get some more checks, and SIGEV_* values other
than SIGEV_SIGNAL should be handled somehow, but this doesn't look
security critical)

(drochner)

2009-12-10 07:57:02 UTC MAIN commitmail json YAML

2009-12-10 05:57:23 UTC MAIN commitmail json YAML

2009-12-10 05:15:28 UTC MAIN commitmail json YAML

Add print_mkvars make target for debug.

(uebayasi)

2009-12-10 05:10:04 UTC MAIN commitmail json YAML

2009-12-10 05:02:48 UTC MAIN commitmail json YAML

MKZFS is properly set in bsd.own.mk now; remove it from MKEXTRAVARS.

(uebayasi)

2009-12-10 02:22:57 UTC MAIN commitmail json YAML

sh(1) style.  No functional changes.

(uebayasi)

2009-12-10 02:11:38 UTC matt-nb5-mips64 commitmail json YAML

2009-12-09 22:10:51 UTC MAIN commitmail json YAML

Minor change (benign everywhere else) to pick up the asprintf(3)
prototype on Linux - caught by Alan Horn.

(agc)

2009-12-09 21:33:00 UTC MAIN commitmail json YAML

Rename fo_drain() to fo_abort(), 'drain' is used to mean 'wait for output
do drain' in many places, whereas fo_drain() was called in order to force
blocking read()/write() etc calls to return to userspace so that a close()
call from a different thread can complete.
In the sockets code comment out the broken code in the inner function,
it was being called from compat code.

(dsl)

2009-12-09 20:26:12 UTC MAIN commitmail json YAML

fix the signature of struct sigevent:sigev_notify_function, noticed by
BaiYang per PR lib/42434
the sad truth is that this doesn't help much because SIGEV_THREAD just
doesn't work (at least on -current, likely on -5, perhaps it worked
woth scheduler activations)

(drochner)

2009-12-09 18:06:08 UTC MAIN commitmail json YAML

2009-12-09 17:30:14 UTC MAIN commitmail json YAML

Fix inverted condition in previous.

(uebayasi)

2009-12-09 17:20:56 UTC MAIN commitmail json YAML

Disable fsu_console

(stacktic)

2009-12-09 16:33:02 UTC MAIN commitmail json YAML

2009-12-09 15:38:07 UTC MAIN commitmail json YAML

Since rumpfs is no longer a module, remove rump_module from the
list of sources.  This, in a rather curious twist of linker magic,
broke anything using rump file systems when librumpvfs was compiled
with LIBDPLIBS pointing to librump.

Thanks to the several people who reported the problem, and especially
Arnaud Ysmal for noticing the paramount symptom that components
compiled in src/lib did not work while ones compiled in sys/rump/librump
did work.

(pooka)

2009-12-09 12:43:00 UTC MAIN commitmail json YAML

Make this one build again.

(he)

2009-12-09 12:21:59 UTC MAIN commitmail json YAML

Fix wrong NBSEG values for all hp300 pmap derived m68k ports.
They were incorrect since 1997 on amiga and atari, and since 2002
on other ports, but fortunately they don't look so fatal.

Anyway, these values will be moved into <m68k/pmap_motorola.h> soon
since they are quite pmap implementation dependent.

(tsutsui)

2009-12-09 07:28:25 UTC matt-nb5-mips64 commitmail json YAML

2009-12-09 06:20:14 UTC MAIN commitmail json YAML

2009-12-09 06:08:26 UTC MAIN commitmail json YAML

2009-12-09 05:20:07 UTC netbsd-5 commitmail json YAML

2009-12-09 05:17:20 UTC netbsd-5 commitmail json YAML

Revert as per discussion with mrg.  This is not needed on netbsd-5.

(snj)

2009-12-09 04:59:59 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1183):
external/mit/xorg/bin/xrdb/Makefile: revision 1.2
- define CPP with a full path
- define CPP_ARGS to -traditional
part1 of xrdb fixes.  thanks to Patrick Welche <prlw1@cam.ac.uk> for
figuring out what was going wrong.

(snj)

2009-12-09 04:58:15 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1182):
usr.bin/gzip/unbzip2.c: revision 1.13
apply a change from Xin LI <delphij@delphij.net> to avoid problems when
reading from pipes.  introduced with the multi-part bz2 fixes.

(snj)

2009-12-09 04:56:00 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jdarrow in ticket #1186):
games/rogue/monster.c: revision 1.16
Fix '=' for '==' in a test. From NAKAJIMA Yoshihiro in PR 42177.

(snj)

2009-12-09 04:54:25 UTC netbsd-4 commitmail json YAML

2009-12-09 04:53:39 UTC netbsd-4 commitmail json YAML

Apply patch (requested by kardel in ticket 1369):
Fix CVE-2009-3563.

(snj)

2009-12-09 04:52:40 UTC netbsd-4-0 commitmail json YAML

2009-12-09 04:50:53 UTC netbsd-4-0 commitmail json YAML

Apply patch (requested by kardel in ticket 1369):
Fix CVE-2009-3563.

(snj)

2009-12-09 04:50:47 UTC MAIN commitmail json YAML

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.

(christos)

2009-12-09 04:48:24 UTC netbsd-5 commitmail json YAML

Apply patch (requested by kardel in ticket 1185):
Fix CVE-2009-3563.

(snj)

2009-12-09 04:47:29 UTC netbsd-5-0 commitmail json YAML

2009-12-09 04:45:48 UTC netbsd-5-0 commitmail json YAML

Apply patch (requested by kardel in ticket 1185):
Fix CVE-2009-3563.

(snj)

2009-12-09 04:41:43 UTC matt-nb5-mips64 commitmail json YAML

2009-12-09 04:37:29 UTC matt-nb5-mips64 commitmail json YAML

2009-12-09 04:35:21 UTC matt-nb5-mips64 commitmail json YAML

fix the multi-arch support: find o32 and 64 bit libraries.

(mrg)

2009-12-09 00:45:26 UTC MAIN commitmail json YAML

Remove superfluous cast of a pointer to void *.

Compare a pointer with NULL, not 0.

No functional change intended.

(dyoung)

2009-12-09 00:44:26 UTC MAIN commitmail json YAML

2009-12-09 00:23:28 UTC MAIN commitmail json YAML

Add RUMP_SYS_OPEN define to replace open calls with their RUMP version.

(haad)

2009-12-09 00:17:23 UTC MAIN commitmail json YAML

Add support for building libdevmapper against RUMP.

(haad)

2009-12-09 00:15:51 UTC MAIN commitmail json YAML

Add support for building RUMP_ACTION libdevmapper which will build and link
libdevmapper with RUMP kernel and libdm(RUMP based device-mapper library).
This enables testing of dmsetup and libdevmapper with RUMP.

(haad)

2009-12-09 00:11:21 UTC MAIN commitmail json YAML

Get rid of useless stubs.

(pooka)

2009-12-08 21:54:23 UTC MAIN commitmail json YAML

note import of ntp 4.2.4p8

(kardel)

2009-12-08 21:52:07 UTC MAIN commitmail json YAML

2009-12-08 20:45:46 UTC MAIN commitmail json YAML

2009-12-08 20:38:16 UTC MAIN commitmail json YAML

It's not an error for a Ethernet interface to have a link-layer address.

hi cube

(jakllsch)

2009-12-08 18:10:54 UTC matt-nb5-mips64 commitmail json YAML

Define various vm freelists for different classes of memory.

(matt)

2009-12-08 15:32:01 UTC MAIN commitmail json YAML

Remove unused M68K_SEG_SIZE macro. All sources use NBSEG directly.

XXX: It looks NBSEG definitions in <machine/param.h>
XXX: for all m68k port are incorrect, since 1997 or 2002.

(tsutsui)

2009-12-08 15:20:20 UTC MAIN commitmail json YAML

CPPFLAGS.* is per *.c, not per ${PROG} or ${LIB}.

(uebayasi)

2009-12-08 15:18:42 UTC MAIN commitmail json YAML

When PROGS / LIBS are used, you can pass each PROG / LIB specific parameters
to ${LD} via:

${_LDADD.${PROG}}
${_LDFLAGS.${PROG}}
${_LDSTATIC.${PROG}}
${_LDADD.${LIB}}
${_LDFLAGS.${LIB}}

OTOH you can't pass parameters to ${CC}, because in suffix rules make(1) only
knows the name of ${.IMPSRC} and ${.TARGET}; it's users' responsivility to
define ${CC} parameters to all the sources of a given ${PROG} / ${LIB}.

Should address bin/42381.

(uebayasi)

2009-12-08 13:49:08 UTC MAIN commitmail json YAML

Fix problem of reporting wrong matches noted in PR 41945 by using a patch
provided by Robert Elz in that PR.

(wiz)

2009-12-08 13:47:27 UTC MAIN commitmail json YAML

2009-12-08 10:13:39 UTC MAIN commitmail json YAML

was disappointed that someone wrote disappointed with one 'p', so I fixed it.

(wiz)

2009-12-08 10:04:27 UTC MAIN commitmail json YAML

I was disappointed that someone wrote disappointed with two 's', so I fixed it.

(mbalmer)

2009-12-08 09:56:43 UTC MAIN commitmail json YAML

Remove stray {

ETOOMANYTREES

(skrll)

2009-12-08 09:55:38 UTC MAIN commitmail json YAML

Remove the input driver before returning NULL on error in PreInit().
From OpenBSD.

(mbalmer)

2009-12-08 09:46:35 UTC MAIN commitmail json YAML

2009-12-08 09:46:01 UTC MAIN commitmail json YAML

2009-12-08 09:45:16 UTC MAIN commitmail json YAML

make sense, s/the the/with the/

(mbalmer)

2009-12-08 09:23:06 UTC MAIN commitmail json YAML

2009-12-08 08:18:25 UTC MAIN commitmail json YAML

2009-12-08 08:12:49 UTC MAIN commitmail json YAML

Fixed build without module bootstrap

(stacktic)

2009-12-08 07:44:44 UTC matt-nb5-mips64 commitmail json YAML

- Allow debugging symbols
- Handle args processing in a way that CFE will let us use

(cyber)

2009-12-08 07:32:45 UTC MAIN commitmail json YAML

io / mem space access fixes. Mostly from OpenBSD.

(skrll)

2009-12-08 06:56:54 UTC MAIN commitmail json YAML

Simplify and improve dino_intr_map by checking for 0xff as error value.

Inspired by OpenBSD.

(skrll)

2009-12-08 02:56:37 UTC MAIN commitmail json YAML

Put back the dependency of dump.c agaist misc.h.  This is needed because
dump.c includes misc.h but misc.h is generated on-the-fly.

Note that dump.c is out of the makeerrnos.sh -> misc.[ch] generation rule
now.  This prevents ktruss from being unnecessarily rebuilt in rescue/.

Pointed out by enami@, thanks!

(uebayasi)

2009-12-08 02:40:04 UTC MAIN commitmail json YAML

Fix typo. From Brad Tilley.

(joerg)

2009-12-08 02:21:16 UTC matt-nb5-mips64 commitmail json YAML

2009-12-08 01:58:43 UTC matt-nb5-mips64 commitmail json YAML

- fix to allow 64bit kernels to properly talk to the firmware
- allow visibiliy of additional RAM

(cyber)

2009-12-08 01:55:07 UTC matt-nb5-mips64 commitmail json YAML