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 02:53:07 UTC Now

2010-09-26 21:12:24 UTC MAIN commitmail json YAML

Avoid undefined behavior, from Chris Spiegel in PR 43860.

(dholland)

2010-09-26 18:52:52 UTC MAIN commitmail json YAML

Bump date for previous

(apb)

2010-09-26 18:52:05 UTC MAIN commitmail json YAML

Collapse <abckslash><newline> sequences in /etc/ifconfig.xxx files read
by /etc/rc.d/network.  Fixes PR 41662 by Christoph Badura, which was
also reported independently by Jeremy C. Reed.

(apb)

2010-09-26 18:37:15 UTC MAIN commitmail json YAML

Add a collapse_backslash_newline function to rc.subr.

(apb)

2010-09-26 15:18:12 UTC uebayasi-xip commitmail json YAML

2010-09-26 07:06:57 UTC uebayasi-xip commitmail json YAML

Implement XIP "putpages".  Invalidate MMU mappings of pages at the
request of PGO_FREE.  PGO_DEACTIVATE and PGO_CLEANIT do nothing, because
XIP pages are neither queued nor writable.

Allocate read-only "zero" page per vnode.  Put it at offset 0 of vnode's
uvm_object.  This per-vnode "zero" page is mapped to all hole pages of
the vnode.  If one of its mapped pages are forced to be PGO_FREE'ed,
all the mappings are invalidated.

(uebayasi)

2010-09-26 06:38:36 UTC uebayasi-xip commitmail json YAML

2010-09-26 06:35:33 UTC uebayasi-xip commitmail json YAML

ffs_vget: Mark XIP only for VREG vnodes.

(uebayasi)

2010-09-26 03:58:55 UTC yamt-nfs-mp commitmail json YAML

2010-09-26 02:27:00 UTC MAIN commitmail json YAML

2010-09-25 22:14:07 UTC MAIN commitmail json YAML

Bump date for more supported I/O DATA devices.

(wiz)

2010-09-25 22:13:46 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2010-09-25 19:31:52 UTC MAIN commitmail json YAML

be more conservative about allocing.

(christos)

2010-09-25 19:10:37 UTC MAIN commitmail json YAML

Remember the correct pointer which we will free later.

(tron)

2010-09-25 18:37:24 UTC MAIN commitmail json YAML

Unlock the environment lock if __alocenv() fails.

(tron)

2010-09-25 18:11:40 UTC MAIN commitmail json YAML

Remember memory used by allocated environment variables instead of
using a bitmap. This deals with the case where a variable is first
set via setenv(3) or putenv(3), then overwritten by changing
"environ" directory and afterwards overwritten with setenv(3) again.

This stops "zsh" from crashing under NetBSD-current.

Code reviewed by Christos Zoulas.

(tron)

2010-09-25 15:30:31 UTC MAIN commitmail json YAML

Regen from usbdevs rev 1.562:
> Add support for I/O DATA ETX-US2.

(tsutsui)

2010-09-25 15:29:40 UTC MAIN commitmail json YAML

2010-09-25 15:10:14 UTC MAIN commitmail json YAML

Treat empty or missing fs_passno field like it has a value of 0 as fstab(5)
specifies.
Related to PR misc/43905 but does not fix the underlying issues.

(bad)

2010-09-25 14:30:34 UTC MAIN commitmail json YAML

Remove obsolete message:
'If you are using a SUN type 4 keyboard, please enter "sun-type4".'

(tsutsui)

2010-09-25 14:29:14 UTC MAIN commitmail json YAML

Use vt100 rather than sun for $TERM.
The latter one is not supported by the hardcoded libterminfo fallback
without external database.

(tsutsui)

2010-09-25 14:00:30 UTC MAIN commitmail json YAML

Change last commit to Use "ptrdiff_t" instead of "intptr_t" because the
former is more appropriate in this case.

(tron)

2010-09-25 13:45:11 UTC MAIN commitmail json YAML

Add explicit cast to fix lint error on 32bit platforms.

(tron)

2010-09-25 10:35:59 UTC MAIN commitmail json YAML

Mark /usr/share/doc/html/ntp/build.html as non-obsolete, since a build
installs it.

(wiz)

2010-09-25 10:34:59 UTC MAIN commitmail json YAML

2010-09-25 10:34:13 UTC MAIN commitmail json YAML

Remove obsoleted directory /usr/share/doc/html/ntp/build/scripts

(wiz)

2010-09-25 09:44:08 UTC MAIN commitmail json YAML

Remove trailing whitespace, merge error sections for same error, nits.

(wiz)

2010-09-25 01:42:40 UTC MAIN commitmail json YAML

2010-09-25 01:19:40 UTC MAIN commitmail json YAML

Make groff happy.

(uwe)

2010-09-25 00:25:31 UTC MAIN commitmail json YAML

2010-09-24 22:51:52 UTC MAIN commitmail json YAML

Fixes/improvements to RB-tree implementation:
1. Fix inverted node order, so that negative value from comparison operator
  would represent lower (left) node, and positive - higher (right) node.
2. Add an argument (i.e. "context"), passed to comparison operators.
3. Change rb_tree_insert_node() to return a node - either inserted one or
  already existing one.
4. Amend the interface to manipulate the actual object, instead of the
  rb_node (in a similar way as Patricia-tree interface does).
5. Update all RB-tree users accordingly.

XXX: Perhaps rename rb.h to rbtree.h, since cleaning-up..

1-3 address the PR/43488 by Jeremy Huddleston.

Passes RB-tree regression tests.
Reviewed by: matt@, christos@

(rmind)

2010-09-24 21:53:00 UTC MAIN commitmail json YAML

2010-09-24 21:50:56 UTC MAIN commitmail json YAML

2010-09-24 20:55:19 UTC MAIN commitmail json YAML

fix copy/paste/modify error in a diagnostic panic message

(jakllsch)

2010-09-24 18:01:39 UTC MAIN commitmail json YAML

2010-09-24 15:57:16 UTC MAIN commitmail json YAML

If not using O32 on mips, we need to read ELF64 symbols too.

(matt)

2010-09-24 15:20:52 UTC MAIN commitmail json YAML

Make the GOT1_MASK 64-bit clean.

(matt)

2010-09-24 15:09:29 UTC MAIN commitmail json YAML

fixed a fd leak, patch by getlaser (at) gmail.com

(vanhu)

2010-09-24 14:34:44 UTC MAIN commitmail json YAML

protect the __allocenv call with the mutex; from Enami

(christos)

2010-09-24 14:31:15 UTC MAIN commitmail json YAML

Fix memory leaks; thanks Enami!

(christos)

2010-09-24 13:12:53 UTC MAIN commitmail json YAML

2010-09-24 12:00:10 UTC MAIN commitmail json YAML

2010-09-24 11:59:28 UTC MAIN commitmail json YAML

2010-09-24 11:57:11 UTC MAIN commitmail json YAML

2010-09-24 11:41:46 UTC MAIN commitmail json YAML

2010-09-24 09:21:53 UTC MAIN commitmail json YAML

2010-09-24 07:49:00 UTC MAIN commitmail json YAML

Do not discard ACPI PCI addresses with function number 0xFFFF: the
ACPI specification allows them (ACPI 4.0a, p. 200).

ok jruoho@

(gsutre)

2010-09-23 21:34:14 UTC MAIN commitmail json YAML

GNU grep-2.7 out.

(wiz)

2010-09-23 21:16:42 UTC MAIN commitmail json YAML

prevent integer oveflow. From Maksymilian Arciemowicz

(christos)

2010-09-23 17:40:24 UTC MAIN commitmail json YAML

2010-09-23 17:38:08 UTC MAIN commitmail json YAML

unit test for environment. Grr, someone should make fixing the sets easier
otherwise people are not going to want to write unit-tests.

(christos)

2010-09-23 17:30:49 UTC MAIN commitmail json YAML

2010-09-23 16:02:41 UTC MAIN commitmail json YAML

PR/43899: Nicolas Joly: setenv(3)/unsetenv(3) memory leak.
Partial fix: Don't allocate a new string if the length is equal to the
old length, because presumably the old string was also nul terminated
so it has the extra byte needed.
The real fix is to keep an adjunct array of bits, one for each environment
variable and keep track if the entry was allocated or not so that we can
free it in unsetenv.

(christos)

2010-09-23 16:02:34 UTC MAIN commitmail json YAML

== file close operations ==
- use PUFFS_KFLAG_WTCACHE to puffs_init so that all writes are
immediatly send to the filesystem, and we do not have anymore write
after inactive. As a consequence, we can close files at inactive
stage, and there is not any concern left with files opened at
create time. We also do not have anymore to open ourselves in readdir and
fsync.

- Fsync on close (inactive stage). That makes sure we will not need to
do these operations once the file is closed (FUSE want an open file).
short sircuit the request that come after the close, bu not fsinc'ing
closed files,

- Use PUFFS_KFLAG_IAONDEMAND to get less inactive calls

== Removed nodes ==
- more ENOENT retunred for operations on removed node (but there
are probably some still missing): getattr, ooen, setattr, fsync

- set PND_REMOVE before sending the UNLINK/RMDIR operations so that we avoid
races during UNLINK completion. Also set PND_REMOVED on node we overwirte
in rename

== Filehandle fixes ==
- queue open operation to avoid getting two fh for one file

- set FH in getattr, if the file is open

- Just requires a read FH for fsyncdir, as we always opendir in read
mode. Ok, this is misleading :-)

== Misc ==
- do not set FUSE_FATTR_ATIME_NOW in setattr, as we provide the time

- short circuit nilpotent operations in setattr

- add a filename diagnostic flag to dump file names

(manu)

2010-09-23 13:03:35 UTC MAIN commitmail json YAML

Avoid casting from d_val to plttype of different signedness.
Just two booleans for the same purpose.

(joerg)

2010-09-23 12:49:31 UTC MAIN commitmail json YAML

Add empty line in ERRORS section.

(njoly)

2010-09-23 12:36:01 UTC MAIN commitmail json YAML

Add Marvell Secure Digital Input/Output (SDIO) Interface Driver.

(kiyohara)

2010-09-23 12:03:27 UTC MAIN commitmail json YAML

Print bus width and clock for feature(High speed support).

(kiyohara)

2010-09-23 09:42:18 UTC MAIN commitmail json YAML

Move shared library bits of the tests out to shl.mi, so that sun2,
which only does static linking, can complete the build.

(he)

2010-09-23 09:40:23 UTC MAIN commitmail json YAML

Don't depend on shared library dependencies; we also need -lpuffs here.
This allows us to link statically.

(he)

2010-09-23 09:39:14 UTC MAIN commitmail json YAML

Reorder the library specifications, so that we don't depend on the
library dependencies recorded in shared libraries, allowing these
to be linked statically as well.

(he)

2010-09-23 09:38:14 UTC MAIN commitmail json YAML

Do symbol renaming for these bits as well, so that we don't get
link-time errors caused by conflicts with normal user-space libraries
when we link statically.

The tests still pass for i386 after this set of changes, and this now
builds for sun2 (after a few more changes).

(he)

2010-09-23 07:31:15 UTC MAIN commitmail json YAML

Replace some whitespaces to Tab.

(kiyohara)

2010-09-23 07:21:05 UTC MAIN commitmail json YAML

+ Remove crypto, swcrypto.  No need.
+ Enable tap.  It needs Bluetooth PAN.
+ Enable bridge for PAN/netDUO.
+ Enable dmoverio.

(kiyohara)

2010-09-23 07:08:57 UTC MAIN commitmail json YAML

2010-09-23 07:01:42 UTC MAIN commitmail json YAML

Remove #ifdef NPRCM.  Always include omap2_prcm.h.

(kiyohara)

2010-09-23 06:54:46 UTC MAIN commitmail json YAML

If GUMSTIX_NETBSD_ARGS_CONSOLE is defined, argument 'console=ttyS0,<speed>'
that u-boot passes Linux will be interpreted.

(kiyohara)

2010-09-23 06:43:32 UTC MAIN commitmail json YAML

Remove #if !defined(OVERO) - #endif.  Overo can call delay().

(kiyohara)

2010-09-22 23:08:31 UTC netbsd-4 commitmail json YAML

2010-09-22 23:08:01 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1406):
dist/bzip2/decompress.c: revision 1.2
avoid integer overflow that can lead to buffer overflow

(snj)

2010-09-22 23:03:59 UTC netbsd-4-0 commitmail json YAML

2010-09-22 23:03:35 UTC netbsd-4-0 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1406):
dist/bzip2/decompress.c: revision 1.2
avoid integer overflow that can lead to buffer overflow

(snj)

2010-09-22 22:53:54 UTC netbsd-5 commitmail json YAML

2010-09-22 22:53:05 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1455):
dist/bzip2/decompress.c: revision 1.2
avoid integer overflow that can lead to buffer overflow

(snj)

2010-09-22 22:52:28 UTC netbsd-5-0 commitmail json YAML

2010-09-22 22:52:04 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1455):
dist/bzip2/decompress.c: revision 1.2
avoid integer overflow that can lead to buffer overflow

(snj)

2010-09-22 17:59:35 UTC MAIN commitmail json YAML

Punctuation improvement, bump date for FAST_IPSEC description.

(wiz)

2010-09-22 17:58:09 UTC MAIN commitmail json YAML

Bump date for O_DIRECTORY, more markup, merge two error sections.

(wiz)

2010-09-22 16:16:52 UTC MAIN commitmail json YAML

Avoid fault if acpi_softc is NULL at attempted power-off.
XXX at least some of this should be factored off into arch/x86.

(jakllsch)

2010-09-22 14:37:08 UTC MAIN commitmail json YAML

fix typo. From Anon Ymous

(christos)

2010-09-22 13:37:35 UTC MAIN commitmail json YAML

get the correct length of username when processing ADMIN_LOGOUT_USER, patch by rweikusat (at) mssgmbh.com

(vanhu)

2010-09-22 07:34:51 UTC MAIN commitmail json YAML

fixed a typo in macros, reported by marisp (at) mt.lv

(vanhu)

2010-09-22 06:10:51 UTC MAIN commitmail json YAML

Our API just uses typedefs, so don't use the struct symbol which will avoid
any potential conflicts with userland.

(roy)

2010-09-22 04:32:53 UTC MAIN commitmail json YAML

Back out previous change.  "automagically" is NOT a typo.

(kiyohara)

2010-09-22 00:13:55 UTC MAIN commitmail json YAML

1. Don't try to call the driver's get_limits routine if it doesn't have
  one.  Fixes a panic reported by njoly@ in private Email

2. Acquire the device before checking whether or not the get_limits
  routine exists.

XXX There's still a bug in here somewhere that prevents setting of
XXX limit values after using 'envstat -S'

(pgoyette)

2010-09-21 19:26:20 UTC MAIN commitmail json YAML

2010-09-21 13:47:42 UTC MAIN commitmail json YAML

Mentions that IPSEC_DEBUG works with FAST_IPSEC implementation

(degroote)

2010-09-21 13:46:41 UTC MAIN commitmail json YAML

Mentions the FAST_IPSEC options

(degroote)

2010-09-21 13:41:18 UTC MAIN commitmail json YAML

Fix ipcomp input counter

Reported Wolfgang Stukenbrock in pr/43250.

(degroote)

2010-09-21 13:14:17 UTC MAIN commitmail json YAML

moved from utmp.h to utmpx.h (patch provided by marcin.cieslak (at) gmail.com)

(vanhu)

2010-09-21 07:14:20 UTC MAIN commitmail json YAML

O2W is "off to work", from mrg@ and spz@.

(soda)

2010-09-21 07:05:29 UTC MAIN commitmail json YAML

2010-09-21 06:26:56 UTC MAIN commitmail json YAML

note bozohttpd 20100920

(mrg)

2010-09-21 04:57:44 UTC MAIN commitmail json YAML

+ Add macro SMC_CAPS_8BIT_MODE for 8bit mode support.
+ Typo.  s/automagically/automatically/.

(kiyohara)

2010-09-21 04:53:53 UTC MAIN commitmail json YAML

Fix build failure.
  A new variable width and value had been forgotten since r1.7.

(kiyohara)

2010-09-21 03:33:15 UTC MAIN commitmail json YAML

add separate flags for putchar() based copycols() and copyrows() methods
for hw that can accelerate one but not the other, like Sun's Creator series
VCONS_DONT_READ does the same as before

(macallan)

2010-09-21 03:31:04 UTC MAIN commitmail json YAML

* implement hw acceleration for putchar()
* use VCONS for copycols()
* don't map the framebuffer now that we don't access it anymore
* make a bunch of drawing engine syncs optional

(macallan)

2010-09-21 03:26:20 UTC MAIN commitmail json YAML

defflag some flags for the ffb driver

(macallan)

2010-09-21 02:03:29 UTC MAIN commitmail json YAML

_cpuset_create: initialize size argument for sysctl call.
From PR/43837 by Sandy Snaman.

(rmind)

2010-09-21 00:18:05 UTC MAIN commitmail json YAML

Promote paddr_t to 64 bits for i386 userland (non PAE and PAE).

paddr_t has limited interest in userland, and should only be used by specific
code like kvm(3) (for VA => PA translations). To support non PAE and PAE
kernels simultaneously in kvm(3), promote paddr_t to 64 bits.

No objection on current-users@. See also:

http://mail-index.netbsd.org/current-users/2010/09/07/msg014249.html

Kernel remains untouched by this change. In-kernel 64 bits for paddr_t is for
a future commit (Yes, I do not forget about that :) )

(jym)

2010-09-20 23:23:16 UTC MAIN commitmail json YAML

Change kvm_pa2off() and kvm_kvatop() prototypes (private to kvm(3)):

-int    _kvm_kvatop(kvm_t *, u_long, u_long *);
-off_t  _kvm_pa2off(kvm_t *, u_long);
+int    _kvm_kvatop(kvm_t *, vaddr_t, paddr_t *);
+off_t  _kvm_pa2off(kvm_t *, paddr_t);

Basically, use vaddr_t for VA and paddr_t for PA. In addition, for variables
representing addresses, use paddr_t or vaddr_t, depending on the context.

For most arches, vaddr_t and paddr_t are equivalent to unsigned long. However,
the change was needed for exotic situations, like i386 PAE, were unsigned long
is not suitable for PA which are 64 bits long. As this required a complete
change of the function prototypes, all arches had to be adapted accordingly.

Core files from before this commit should still work with the new code; I did
not see any direct dependency between core's structure and kvatop/pa2off.

The change was compile tested for all arches, as it impacts all of them.

See also:

http://mail-index.netbsd.org/current-users/2010/09/07/msg014249.html

(jym)

2010-09-20 23:11:38 UTC MAIN commitmail json YAML

2010-09-20 23:07:23 UTC MAIN commitmail json YAML

2010-09-20 22:18:23 UTC MAIN commitmail json YAML

fix an error in the previous.

(mrg)

2010-09-20 21:58:43 UTC MAIN commitmail json YAML

fix a serious error in virtual hosting support, noticed by seanb@netbsd,
and disallow ".." as a virtual host name!  also ".".

patch from sean.

(mrg)

2010-09-20 19:42:31 UTC matt-nb5-mips64 commitmail json YAML

- provide lockless interrupt dispatch by eliminating use of LIST(9)
for interrupt handles.  Handles are now managed in variable size arrays.
Establishing a new interrupt causes allocation of a new array, pointer
to which is changed atomically.  Old arrays are allowed to persist for
some time before free, allowing any CPU working with that data
to safely finish using it.
- interrupt events are now managed per-CPU, avoid need for atomic adds.

(cliff)

2010-09-20 19:41:06 UTC matt-nb5-mips64 commitmail json YAML

- rmixl_intrhand_t is valid only if ih_func is non-NULL;
set valid at end of rmixl_vec_establish and
set invalid at start of rmixl_vec_disestablish
to allow lockless check if valid in dispatch.

(cliff)

2010-09-20 19:40:11 UTC matt-nb5-mips64 commitmail json YAML

- .set noreorder up top to avoid instruction reordering
- adopt bugfix suggested by Manuel Boyer for mips/spl.S:
in _splraise and _splsw_splhigh, reload L_CPU in case we were
preempted prior to interrupts being blocked (thanks).

(cliff)

2010-09-20 19:39:20 UTC MAIN commitmail json YAML

avoid integer overflow that can lead to buffer overflow

(christos)

2010-09-20 19:39:10 UTC matt-nb5-mips64 commitmail json YAML

- remove MULTIPROCESSOR condition for rmixl_cpuinfo_print and
rmixl_cpu_data_print functions, so we can call them
e.g. from ddb in non-MP kernels

(cliff)

2010-09-20 17:51:38 UTC MAIN commitmail json YAML

2010-09-20 16:55:20 UTC MAIN commitmail json YAML

2010-09-20 16:53:31 UTC MAIN commitmail json YAML

2010-09-20 16:13:35 UTC MAIN commitmail json YAML

2010-09-20 15:38:48 UTC MAIN commitmail json YAML

shouldn't need ieee.h here.

(christos)

2010-09-20 14:18:13 UTC MAIN commitmail json YAML

Use the control (not data) interface descriptor when looking at the
control interface endpoints! (from Anon Ymous)

(christos)

2010-09-20 11:49:48 UTC MAIN commitmail json YAML

Avoid NaN when calculating std-dev, which fixes a crash on VAX.

(ahoka)

2010-09-20 10:21:10 UTC MAIN commitmail json YAML

Prepare sparc optimized (by 32 bit add-with-carry insns) cpu_in_cksum()
which is reusing in_cksum_internal() in old sparc/in_cksum.c.

~4% improvements of ttcp(1) xfer rates on SS1+ with le(4).

(tsutsui)

2010-09-20 09:42:32 UTC MAIN commitmail json YAML

Clean up return/error in sdmem_mem_send_scr().

(kiyohara)

2010-09-20 09:34:47 UTC MAIN commitmail json YAML

2010-09-20 09:30:20 UTC MAIN commitmail json YAML

Support MMC 4,8-bit mode.
  It tested only 4bit on Marvell Sheevaplug.

(kiyohara)

2010-09-20 09:19:31 UTC MAIN commitmail json YAML

Sync with POSTREAD before memcpy.

(kiyohara)

2010-09-20 09:06:03 UTC MAIN commitmail json YAML

Clear SMF_CARD_PRESENT, if failed to attach.

(kiyohara)

2010-09-20 09:03:34 UTC MAIN commitmail json YAML

Print product name.  like sd(4), wd(4) and etc...

(kiyohara)

2010-09-20 07:00:22 UTC MAIN commitmail json YAML

- performance improvement for read, readdir and write. Now we use
SOCK_DGRAM, we can send many pages at once without hitting any bug

- when creating a file, it is open for FUSE, but not for the kernel.
If the kernel does not do a subsequent open, we have a leak. We fight
against this by trying to close such file that the kernel left unopen
for some time.

- some code refactoring to make message exchange debug easier (more to come)

(manu)

2010-09-20 06:54:06 UTC MAIN commitmail json YAML

Check disk bounds, in RAW_PART.

(kiyohara)

2010-09-20 06:45:38 UTC MAIN commitmail json YAML

- Add debug santity checks
- Do not request peer creds anymore once we have them.

(manu)

2010-09-20 03:52:45 UTC MAIN commitmail json YAML

Multiple channel devices *should* be working. Remove the debug code
that was avoiding finding out.

(mjacob)

2010-09-19 21:47:28 UTC MAIN commitmail json YAML

use '/etc/rc.d/apmd onestatus' rather than '/etc/rc.d/apmd status',
so we DTRT if apmd is set to NO in rc.conf

(abs)

2010-09-19 20:52:23 UTC MAIN commitmail json YAML

Make pci(4) device nodes root:wheel 0640 by default.
Mortals do not need to be able to generate PCI Configuration Space
read transactions, which are not entirely without side effect, as
reported in PR#16300.

(jakllsch)

2010-09-19 11:37:40 UTC MAIN commitmail json YAML

2010-09-19 10:34:34 UTC MAIN commitmail json YAML

AUDIO_WSEEK uses a u_long, not a int.

(mrg)

2010-09-19 10:33:31 UTC MAIN commitmail json YAML

2010-09-19 09:46:59 UTC MAIN commitmail json YAML

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

(mrg)

2010-09-19 09:41:37 UTC MAIN commitmail json YAML

actually, put the old definitions back into vndvar.h, under _KERNEL,
as netbsd32 wants access to them.

(mrg)

2010-09-19 09:09:30 UTC MAIN commitmail json YAML

2010-09-19 07:11:43 UTC MAIN commitmail json YAML

fix the vnd_osize changes on 32 bit platforms with 64 bit alignment for
64 bit integers (eg, sparc).  the problem was that the new 64 bit
element on the end was used for the offsetof() (aka size) for the old
structure, but this includes the padding required, thus the ioctl number
was set wrongly.

move all the supporting code for this inside COMPAT_50, with some renaming
to suit, and kill all the external definitions related to it.

tested on i386, amd64 and sparc.

(mrg)

2010-09-19 05:50:28 UTC MAIN commitmail json YAML

add support for COMPAT_50 ioctls.  struct vnd_user has a dev_t component
which grew since netbsd 5.0 (hi christos!)

fix a few issues/problems:
- the COMPAT_30 code wasn't used since opt_compat_netbsd.h wasn't included
- move 'struct vnd_ouser' (for COMPAT_30) into vnd.c itself, and call it
  'struct vnd_user30'
- same for VNDIOOCGET -> VNDIOCGET30

now 'vnconfig -l' works on -current with a netbsd-5 binary, using i386.

XXX: there is still a potential problem with the old VNDIOOCSET and
VNDIOOCCLR macros on some platforms like sparc.  there is padding
between the old vnd_osize member and the new vnd_size member on
platforms that want 64 bit values 64 bit aligned, but are 32 bit
otherwise (like sparc.)  64 bit systems already end up with this
member 64 bit aligned, and should be fine.

this most likely results in the old ioctl numbers being wrong and
the code won't match/run ever (ENOTTY.)

(mrg)

2010-09-19 05:42:10 UTC MAIN commitmail json YAML

enable COMPAT_30 and COMPAT_50 in the module.

(mrg)

2010-09-19 02:09:29 UTC MAIN commitmail json YAML

2010-09-19 02:07:01 UTC MAIN commitmail json YAML

2010-09-19 01:39:48 UTC MAIN commitmail json YAML

Remove MD m68k/in_cksum.c which is obsolete since cpu_in_cksum refactoring
in 2008 and now superseded by m68k/cpu_in_cksum.c.

(tsutsui)

2010-09-19 01:35:43 UTC MAIN commitmail json YAML

Add m68k MD cpu_in_cksum.c.
Based on sys/netinet/cpu_in_cksum.c but just modified
to use traditional MD m68k/oc_cksum.s.

Makes ~5% improvements of ttcp(1) xfer rates on ATARI TT030 + SMC_TT.

(tsutsui)

2010-09-18 16:43:51 UTC MAIN commitmail json YAML

Fix wrong checksum calculations of 32 bit unaligned two byte payloads.
Analyzed in PR port-mips/43882, but applied slightly different patch.
Also put some changes for readability.

Note netbsd-5 doesn't use this MD version but netbsd-4 needs a pullup.
(though it's unclear if it's really faster even on modern aggressive gcc4)

(tsutsui)

2010-09-18 15:49:26 UTC MAIN commitmail json YAML

AMD publication 25759 rev 3.69 says that DisIOReqLock in NB_CFG is "bit 3".
They probably mean "bit 3" and not "the third bit" (or bit 2).
This change should prevent superfluous warnings of errata 89.

(jakllsch)

2010-09-17 20:39:39 UTC MAIN commitmail json YAML

2010-09-16 20:39:51 UTC MAIN commitmail json YAML

fix an obvious botch which made eg conjl(3) a no-op

(drochner)

2010-09-16 20:08:52 UTC MAIN commitmail json YAML

2010-09-16 04:53:27 UTC MAIN commitmail json YAML

2010-09-16 02:38:50 UTC MAIN commitmail json YAML

- remove a wrong _DIAGASSERT
- update comments
- whitespace

(yamt)

2010-09-16 00:26:50 UTC MAIN commitmail json YAML

Use standard ELF types for ELF code, instead of paddr_t. paddr_t should
only be used for low level code, like virtual memory internals.

(jym)

2010-09-15 21:37:36 UTC MAIN commitmail json YAML

Use PRIxVADDR to print vaddr_t elements. Wrap lines.

(jym)

2010-09-15 18:40:27 UTC MAIN commitmail json YAML

2010-09-15 16:12:05 UTC MAIN commitmail json YAML

2010-09-15 16:11:30 UTC MAIN commitmail json YAML

2010-09-15 07:28:46 UTC MAIN commitmail json YAML

remove RESTRICTIONS section, which seems unrelated to our implementation

(yamt)

2010-09-15 06:52:33 UTC MAIN commitmail json YAML

Add missing letter, from Ryo HAYASAKA in PR 43880.

(wiz)

2010-09-15 01:51:44 UTC MAIN commitmail json YAML

- Use SOCK_DGRAM instead of SOCK_STREAM, as the filesystem seems to
assume datagram semantics: when using SOCK_STREAM, if perfused sends
frames faster than the filesystem consumes them, it will grab multiple
frames at once and discard anything beyond the first one. For now the
code can work both with SOCK_DGRAM and SOCK_STREAM, but SOCK_STREAM
support will probably have to be removed for the sake of readability.

- Remeber to sync parent directories when moving a node

- In debug output, display the requeue type (readdir, write, etc...)

(manu)

2010-09-14 23:07:17 UTC MAIN commitmail json YAML

Revert part of previous:
OPT_WIDE_CHARS definitely makes a difference with a UTF8 locale.

(wiz)

2010-09-14 21:35:53 UTC MAIN commitmail json YAML

add a note on IPL and spinning mutexes

TODO: explain when the IPL will be restored

(ahoka)

2010-09-14 21:34:03 UTC MAIN commitmail json YAML

Add ULL suffix to PG_NX when it is defined.

(jym)

2010-09-14 19:36:14 UTC MAIN commitmail json YAML

clear the screen when attaching, not when adding screens since that may
happen much later
while there, call vcons_replay_msgbuf()

(macallan)

2010-09-14 18:43:41 UTC MAIN commitmail json YAML

leave the screen description alone when we're not the console in order to
avoid a NULL deref later on ( which only happens on sparc64 for some reason )
While there, use VCONS_DONT_READ

(macallan)

2010-09-14 18:42:12 UTC MAIN commitmail json YAML

don't muck with the screen description if we're not the console, for some
reason this leads to a NULL jump later on, at least on sparc64
should fix PR43873

(macallan)

2010-09-14 18:28:18 UTC MAIN commitmail json YAML

always make sure we can access the framebuffer - having more than one wsdisplay
is perfectly reasonable these days

(macallan)

2010-09-14 11:57:03 UTC MAIN commitmail json YAML

Remove trailing spaces, add a few serial commas.

(wiz)

2010-09-14 11:04:57 UTC MAIN commitmail json YAML

Fix remaining references for npf.conf(8) to npf.conf(5)

(kim)

2010-09-14 07:44:47 UTC MAIN commitmail json YAML

2010-09-14 07:39:55 UTC MAIN commitmail json YAML

Import pixman-0.18.4.

Changes since 0.18.2:
Post-release version bump to 0.18.3
Fix memory leak in the pthreads thread local storage code
When storing a g1 pixel, store the lowest bit, rather than comparing with
If we bail out of do_composite, make sure to undo any workarounds.
Check for read accessors before taking the bilinear fast path
Pre-release version bump to 0.18.4

Status:

Vendor Tag: xorg
Release Tags: pixman-0-18-4

(wiz)

2010-09-14 04:40:35 UTC MAIN commitmail json YAML

report lid open/close events to sysmon

(macallan)

2010-09-14 04:37:04 UTC MAIN commitmail json YAML

save backlight level and turn it off on lid close, restore on lid open

(macallan)

2010-09-14 02:45:25 UTC MAIN commitmail json YAML

only mark battery status sensors valid if the battery is actually present

(macallan)

2010-09-14 02:11:06 UTC MAIN commitmail json YAML

support backlight control via wsconsctl

(macallan)

2010-09-13 22:37:02 UTC MAIN commitmail json YAML

2010-09-13 21:31:59 UTC MAIN commitmail json YAML

tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing
unless USE_META is defined.

(sjg)

2010-09-13 20:34:21 UTC MAIN commitmail json YAML

We do not need filemon(9) to have a .meta file

(sjg)

2010-09-13 19:54:25 UTC netbsd-5 commitmail json YAML

2010-09-13 19:52:49 UTC netbsd-5 commitmail json YAML

Apply patch (requested by drochner in ticket #1454):
Fix inconsistencies in the wapbl replay process which can lead to a
premature abort of the fsck run and possibly leave a corrupted
filesystem.  Addresses PR bin/43336.

(snj)

2010-09-13 16:32:00 UTC MAIN commitmail json YAML

2010-09-13 15:36:58 UTC MAIN commitmail json YAML

Add meta.c which implements "meta" mode for make.
In this mode, a .meta file is created for each target, capturing
the expanded commands used, any command output, and if filemon(9)
is available, a record of system calls which are of interest.
Not enabled unless USE_META=yes is set when building make.
Also, if FILEMON_H exists, meta.c will be compiled to use filemon(9).

(sjg)

2010-09-13 08:43:06 UTC MAIN commitmail json YAML

comment out an unused static function

(drochner)

2010-09-13 08:42:04 UTC MAIN commitmail json YAML

fix extern/static inconsistency

(drochner)

2010-09-13 07:32:06 UTC netbsd-5 commitmail json YAML

2010-09-12 21:19:33 UTC netbsd-4 commitmail json YAML

2010-09-12 21:19:07 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1405):
sys/dist/ipf/netinet/ip_fil_netbsd.c: revision 1.56
Fix mbuf corruption when sending ICMP errors for blocked IPv6
packets due to wrong buffer size computations. The corrupted
mbufs could lead to a panic.
Fix computation of link mtu where the link mtu itself is unspecified.
Limit ICMP error packets for IPv6 to MMTU as required by RFC4443. This
also avoids dropped errors when the length exceeds the link mtu.

(bouyer)

2010-09-12 21:18:05 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1404):
usr.sbin/sa/usrdb.c: revision 1.14
On LP64 platforms, uid_t is not the same size as u_long, so the key
comparison function being given to db was comparing 4 extra bytes of
rubbish.
This may or may not be the *only* source of the corrupted
/var/account/usracct files I've been seeing occasionally on amd64, but
it's clearly *a* source.

(bouyer)

2010-09-12 21:16:46 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by jym in ticket #1403):
sys/netinet6/esp_core.c: revision 1.46
sys/netinet6/esp_aesctr.c: revision 1.13
Fix some code paths where pointers are dereferenced after checking that
they are NULL (oops?)

(bouyer)

2010-09-12 19:00:37 UTC netbsd-5 commitmail json YAML

2010-09-12 18:59:02 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1453):
sys/dist/ipf/netinet/ip_fil_netbsd.c: revision 1.56
Fix mbuf corruption when sending ICMP errors for blocked IPv6
packets due to wrong buffer size computations. The corrupted
mbufs could lead to a panic.
Fix computation of link mtu where the link mtu itself is unspecified.
Limit ICMP error packets for IPv6 to MMTU as required by RFC4443. This
also avoids dropped errors when the length exceeds the link mtu.

(snj)

2010-09-12 16:07:40 UTC MAIN commitmail json YAML

add a forward struct declaration for the PPS_SYNC case

(drochner)

2010-09-12 16:06:08 UTC MAIN commitmail json YAML

improve "const" consistency

(drochner)

2010-09-12 16:04:57 UTC MAIN commitmail json YAML

avoid NULL dereference in error case

(drochner)

2010-09-12 16:03:39 UTC MAIN commitmail json YAML

minimal ansification/constification

(drochner)

2010-09-12 05:00:21 UTC MAIN commitmail json YAML

releng has been on mollari for a while now. Also, add wiki

(spz)

2010-09-12 04:54:31 UTC netbsd-5 commitmail json YAML

2010-09-12 04:52:45 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1451):
lib/libc/stdlib/exit.c: revision 1.13
Only do the __libc_init hack in libc, i.e. remove it from ld.elf_so.
This fixes hppa ld.elf_so by reducing the number of PLABELs required to
the number before the hack was applied.

(snj)

2010-09-11 22:26:46 UTC MAIN commitmail json YAML

Update this to the latest xterm import. Fixes:
- cut bug where, we could cut only up to 1K before
- disable toolbar by default
- don't assume we've installed luit from pkgsrc
- no opt 256 char support
- no opt widechar support

(christos)

2010-09-11 20:53:04 UTC MAIN commitmail json YAML

recent versions of linux (which we now claim to be) supply a BSD-style
d_type value in getdents() results, after the d_name field.
make our emulation do the same.  fixes part of PR 43695.

(chs)

2010-09-11 20:49:28 UTC MAIN commitmail json YAML

always supply an auxiliary vector for linux ELF processes.
static executables (such as newer versions of /sbin/ldconfig)
require this to work properly.  since static executables
also don't have a PT_PHDR entry, use the same heuristic as
linux does to provide a value for AT_PHDR in this case.

(chs)

2010-09-11 16:03:41 UTC MAIN commitmail json YAML