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 (30m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 08:51:16 UTC Now

2014-05-16 06:15:29 UTC MAIN commitmail json YAML

Add missing .Bl

(martin)

2014-05-16 06:11:21 UTC MAIN commitmail json YAML

When creating a SIGFPE siginfo for a gentrap, we have no additional info
(ucode) available, and the pal interface does not provide additional
details either. Hardcode the si_code value to FPE_INTDIV, since the only
callers of gentrap in our kernel seem to be the division routines in libkern.

(martin)

2014-05-16 00:48:41 UTC MAIN commitmail json YAML

pcu(9):
- Remove PCU_KERNEL (hi matt!) and significantly simplify the code.
  This experimental feature was tried on ARM did not meet the expectations.
  It may be revived one day, but it should be done in a much simpler way.
- Add a message structure for xcall function, pass the LWP ower and thus
  optimise a race condition: if LWP is discarding its state on a remote CPU,
  but another LWP already did it - do not cause an unecessary re-faulting.
- Reduce the variety of flags for PCU operations (only PCU_VALID and
  PCU_REENABLE are used now), pass them only to the pcu_state_load().
- Rename pcu_used_p() to pcu_valid_p(); hopefully it is less confusing.
- pcu_save_all_on_cpu: SPL ought to be used here.
- Update and improve the pcu(9) man page; it needs wizd(8) though.

(rmind)

2014-05-16 00:19:00 UTC MAIN commitmail json YAML

Mark unwinding as supported for eARM.

(joerg)

2014-05-16 00:11:30 UTC MAIN commitmail json YAML

Prepare in case we want to hook up the profile init code later.

(joerg)

2014-05-16 00:10:57 UTC MAIN commitmail json YAML

2014-05-16 00:08:17 UTC MAIN commitmail json YAML

Clean up a few more directories.

(joerg)

2014-05-15 23:59:12 UTC MAIN commitmail json YAML

Remove some more CMakeLists.txt files.

(joerg)

2014-05-15 23:59:05 UTC MAIN commitmail json YAML

More markup. Better table width. Bump date for previous.

(wiz)

2014-05-15 23:52:32 UTC MAIN commitmail json YAML

2014-05-15 22:20:08 UTC MAIN commitmail json YAML

Refactor bpfjit code.

- Implement Array Bounds Check Elimination for packet bytes.
- Track initialization of registers and memwords.
- Remove "bj_" prefix from struct members.
- Shorten "BPFJIT_" prefix to "BJ_".
- Other small improvements.

(alnsn)

2014-05-15 19:37:22 UTC MAIN commitmail json YAML

be a bit more verbose about why we think a note is bad.

(christos)

2014-05-15 18:25:35 UTC MAIN commitmail json YAML

Fix cases where count <= 0 (thanks to Maxime Villard for raising this)

(manu)

2014-05-15 17:05:16 UTC MAIN commitmail json YAML

Don't access cbar on a cortex-a8

(matt)

2014-05-15 16:32:28 UTC MAIN commitmail json YAML

2014-05-15 16:32:07 UTC MAIN commitmail json YAML

Teach "make sortlists" to ignore .#* files (sometimes created by cvs),
and to squeeze multiple blank lines.

(apb)

2014-05-15 16:06:38 UTC MAIN commitmail json YAML

Add ./usr/share/zoneinfo/Antarctica/Troll for tzdat2014c

(apb)

2014-05-15 16:01:18 UTC MAIN commitmail json YAML

Merge tzdata2014c.

(apb)

2014-05-15 15:35:38 UTC MAIN commitmail json YAML

Change hexidecimal bit notation into binary for easier modifying

(reinoud)

2014-05-15 15:31:10 UTC MAIN commitmail json YAML

DMA is initialized later in the bootstrap. No need for this comment

(reinoud)

2014-05-15 15:28:26 UTC MAIN commitmail json YAML

This can't be right; must be a c&p bug

(reinoud)

2014-05-15 14:53:05 UTC MAIN commitmail json YAML

Set a bigger timeout - this test needs > 3000s on my shark (mostly for
unpacking the test image)

(martin)

2014-05-15 14:37:08 UTC MAIN commitmail json YAML

2014-05-15 12:53:52 UTC MAIN commitmail json YAML

Avoid NULL dereference. (FreeBSD SA14:10)

(christos)

2014-05-15 09:55:11 UTC MAIN commitmail json YAML

2014-05-15 09:54:06 UTC MAIN commitmail json YAML

Fix setcontext signature, which has a single argument not three.

(njoly)

2014-05-15 09:23:52 UTC MAIN commitmail json YAML

Save a NETISR_* value in a variable and call schednetisr() after enqueue
a packet for readability and future modification.

(msaitoh)

2014-05-15 09:23:03 UTC MAIN commitmail json YAML

Save a NETISR_* value in a variable and call schednetisr() after enqueue
a packet for readability and future modification.

(msaitoh)

2014-05-15 09:04:03 UTC MAIN commitmail json YAML

Put schednetisr() into splnet()/splx() pair.
This might avoids delay of processing a packet.

(msaitoh)

2014-05-15 08:36:34 UTC MAIN commitmail json YAML

Put schednetisr(NETISR_IP) into splnet()/splx() pair.

(msaitoh)

2014-05-15 07:48:41 UTC MAIN commitmail json YAML

Put schednetisr(NETISR_IP) into splnet()/splx() pair.
This avoid extra ipintr() call with empty queue.

(msaitoh)

2014-05-15 07:35:38 UTC MAIN commitmail json YAML

Usually schednetisr() is called after enqueueing a packet with IF_ENQUEUE().
In some functions, they do it in reverse order. It's not a bug because
the pair is protected with splnet()/splx(s). It's not good for readability
and someone might mistake when modifing a code. Yes, I'm one of the person :-(

Save a NETISR_* value in a variable and call schednetisr() after enqueue
a packet for readability and future modification.

(msaitoh)

2014-05-15 07:11:30 UTC MAIN commitmail json YAML

sigexit() calls either exit1() or panic() and never returns.  Mark it as
__dead.

(uebayasi)

2014-05-15 06:58:19 UTC MAIN commitmail json YAML

2014-05-15 02:34:29 UTC MAIN commitmail json YAML

NPF: imply SYN-only check for the stateful rules by default (when inspecting
TCP packets).  Many users trip here.  This behaviour can be overriden with the
explicit "flags" keyword, but other configuration does not really make sense.

(rmind)

2014-05-14 22:13:36 UTC MAIN commitmail json YAML

Lazy VFP processing works a lot better if the functions contain a return
instruction.

(joerg)

2014-05-14 21:46:50 UTC MAIN commitmail json YAML

npftest: fix the example in the README file.

(rmind)

2014-05-14 20:35:27 UTC MAIN commitmail json YAML

npf_session_inspect: do not silently drop the packet on state check failure.
Let the rules deal with it (e.g. we may want to log it).

(rmind)

2014-05-14 16:25:19 UTC MAIN commitmail json YAML

Fix sense of test in last commit, noted by Robert Swindells.

(riastradh)

2014-05-14 16:16:55 UTC MAIN commitmail json YAML

Fix typo in uvm_km(9): there is no struct vm_map_kernel.

(riastradh)

2014-05-14 15:58:24 UTC MAIN commitmail json YAML

Tweak i915 gen6_gtt_init calculations for clarity.

(riastradh)

2014-05-14 14:59:14 UTC MAIN commitmail json YAML

Ensure notes are properly padded to 32bit length.

(joerg)

2014-05-14 14:38:54 UTC MAIN commitmail json YAML

Enabling alignment faults and unaligned access at the same time makes
the former win. LLVM is more aggressive than GCC about using unaligned
access, so it would crash during pmap_init.

(joerg)

2014-05-14 13:59:19 UTC MAIN commitmail json YAML

Reject 32-bit paddrs on 965.

XXX Doing the check here is wrong; it serves only to report an
earlier problem, which is that there's on way to express constraints
on paddrs to uvm_obj_wirepages.  bus_dmamem_alloc can do this, but it
gives us pages out of thin air, not pages backing a uvm object.  I
was hoping this wouldn't manifest as a real problem, but evidently it
does.

(riastradh)

2014-05-14 13:53:41 UTC MAIN commitmail json YAML

Fix >40-bit paddr error branch in i915_gem_object_get_pages_gtt.

(riastradh)

2014-05-14 13:46:19 UTC MAIN commitmail json YAML

Make filehandles on UFS based filesystems use proper 64bit inodes.
32bit restriction noticed by Taylor R Campbell.

(martin)

2014-05-14 09:03:10 UTC MAIN commitmail json YAML

Revisit gpio and revisit register file mapping. The additional register files
are now mapped behind the origional register file.

The gpio channel GPZ is mapped over I2S0 in the separate audio register file
and were both abusively mapped over I2C0 in the main register file!

While here, delay the gpio bootstrap till on attachment. We could hasten it in
the odroid_machdep.c if needed. Also make the gpio code more resilliant and
allow booting correctly without any GPIO bits defined/available.

(reinoud)

2014-05-14 08:14:56 UTC MAIN commitmail json YAML

calculate extended precision as per DS1920/DS1820 data sheets

(kardel)

2014-05-14 06:38:10 UTC MAIN commitmail json YAML

2014-05-14 05:27:47 UTC netbsd-5-2 commitmail json YAML

2014-05-14 05:27:33 UTC netbsd-5-2 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1905):
src/sys/compat/linux/common/linux_exec_elf32.c 1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

(msaitoh)

2014-05-14 05:26:31 UTC netbsd-5-1 commitmail json YAML

2014-05-14 05:26:15 UTC netbsd-5-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1905):
src/sys/compat/linux/common/linux_exec_elf32.c 1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

(msaitoh)

2014-05-14 05:24:46 UTC netbsd-5 commitmail json YAML

2014-05-14 05:24:26 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1905):
src/sys/compat/linux/common/linux_exec_elf32.c 1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

(msaitoh)

2014-05-14 05:18:27 UTC netbsd-5-1 commitmail json YAML

2014-05-14 05:18:05 UTC netbsd-5-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1902):
src/sys/compat/linux/common/linux_exec_elf32.c 1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

(msaitoh)

2014-05-14 05:16:02 UTC netbsd-5-2 commitmail json YAML

2014-05-14 05:15:40 UTC netbsd-5-2 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1902):
src/sys/compat/linux/common/linux_exec_elf32.c 1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

(msaitoh)

2014-05-14 05:15:06 UTC netbsd-5 commitmail json YAML

2014-05-14 05:14:47 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1902):
src/sys/compat/linux/common/linux_exec_elf32.c 1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

(msaitoh)

2014-05-14 04:38:49 UTC MAIN commitmail json YAML

Fix error branch in drm_limit_dma_space.

(riastradh)

2014-05-14 03:56:31 UTC netbsd-6-0 commitmail json YAML

2014-05-14 03:55:40 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1063):
xsrc/external/mit/libXfont/dist/src/fc/fsconvert.c 1.2
xsrc/external/mit/libXfont/dist/src/fc/fserve.c 1.2
xsrc/external/mit/libXfont/dist/src/fontfile/dirfile.c 1.2
xsrc/xfree/xc/lib/font/fc/fsconvert.c 1.5
xsrc/xfree/xc/lib/font/fc/fserve.c 1.5
xsrc/xfree/xc/lib/font/fontfile/dirfile.c 1.5

Fix multiple vulnerabilities in libXfont:

- CVE-2014-0209: integer overflow of allocations in font metadata file parsing

    When a local user who is already authenticated to the X server adds
    a new directory to the font path, the X server calls libXfont to open
    the fonts.dir and fonts.alias files in that directory and add entries
    to the font tables for every line in it.  A large file (~2-4 gb) could
    cause the allocations to overflow, and allow the remaining data read
    from the file to overwrite other memory in the heap.

    Affected functions: FontFileAddEntry(), lexAlias()

- CVE-2014-0210: unvalidated length fields when parsing xfs protocol replies

    When parsing replies received from the font server, these calls do not
    check that the lengths and/or indexes returned by the font server are
    within the size of the reply or the bounds of the memory allocated to
    store the data, so could write past the bounds of allocated memory when
    storing the returned data.

    Affected functions: _fs_recv_conn_setup(), fs_read_open_font(),
    fs_read_query_info(), fs_read_extent_info(), fs_read_glyphs(),
    fs_read_list(), fs_read_list_info()

- CVE-2014-0211: integer overflows calculating memory needs for xfs replies

    These calls do not check that their calculations for how much memory
    is needed to handle the returned data have not overflowed, so can

    result in allocating too little memory and then writing the returned
    data past the end of the allocated buffer.

    Affected functions: fs_get_reply(), fs_alloc_glyphs(),
    fs_read_extent_info()

See also: http://lists.x.org/archives/xorg-announce/2014-May/002431.html

(msaitoh)

2014-05-14 03:54:55 UTC netbsd-6-1 commitmail json YAML

2014-05-14 03:53:16 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1063):
xsrc/external/mit/libXfont/dist/src/fc/fsconvert.c 1.2
xsrc/external/mit/libXfont/dist/src/fc/fserve.c 1.2
xsrc/external/mit/libXfont/dist/src/fontfile/dirfile.c 1.2
xsrc/xfree/xc/lib/font/fc/fsconvert.c 1.5
xsrc/xfree/xc/lib/font/fc/fserve.c 1.5
xsrc/xfree/xc/lib/font/fontfile/dirfile.c 1.5

Fix multiple vulnerabilities in libXfont:

- CVE-2014-0209: integer overflow of allocations in font metadata file parsing

    When a local user who is already authenticated to the X server adds
    a new directory to the font path, the X server calls libXfont to open
    the fonts.dir and fonts.alias files in that directory and add entries
    to the font tables for every line in it.  A large file (~2-4 gb) could
    cause the allocations to overflow, and allow the remaining data read
    from the file to overwrite other memory in the heap.

    Affected functions: FontFileAddEntry(), lexAlias()

- CVE-2014-0210: unvalidated length fields when parsing xfs protocol replies

    When parsing replies received from the font server, these calls do not
    check that the lengths and/or indexes returned by the font server are
    within the size of the reply or the bounds of the memory allocated to
    store the data, so could write past the bounds of allocated memory when
    storing the returned data.

    Affected functions: _fs_recv_conn_setup(), fs_read_open_font(),
    fs_read_query_info(), fs_read_extent_info(), fs_read_glyphs(),
    fs_read_list(), fs_read_list_info()

- CVE-2014-0211: integer overflows calculating memory needs for xfs replies

    These calls do not check that their calculations for how much memory
    is needed to handle the returned data have not overflowed, so can

    result in allocating too little memory and then writing the returned
    data past the end of the allocated buffer.

    Affected functions: fs_get_reply(), fs_alloc_glyphs(),
    fs_read_extent_info()

See also: http://lists.x.org/archives/xorg-announce/2014-May/002431.html

(msaitoh)

2014-05-14 03:52:21 UTC netbsd-6 commitmail json YAML

2014-05-14 03:34:12 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1063):
        xsrc/external/mit/libXfont/dist/src/fc/fsconvert.c 1.2
        xsrc/external/mit/libXfont/dist/src/fc/fserve.c 1.2
        xsrc/external/mit/libXfont/dist/src/fontfile/dirfile.c 1.2
        xsrc/xfree/xc/lib/font/fc/fsconvert.c 1.5
        xsrc/xfree/xc/lib/font/fc/fserve.c 1.5
        xsrc/xfree/xc/lib/font/fontfile/dirfile.c 1.5

Fix multiple vulnerabilities in libXfont:

- CVE-2014-0209: integer overflow of allocations in font metadata file parsing

    When a local user who is already authenticated to the X server adds
    a new directory to the font path, the X server calls libXfont to open
    the fonts.dir and fonts.alias files in that directory and add entries
    to the font tables for every line in it.  A large file (~2-4 gb) could
    cause the allocations to overflow, and allow the remaining data read
    from the file to overwrite other memory in the heap.

    Affected functions: FontFileAddEntry(), lexAlias()

- CVE-2014-0210: unvalidated length fields when parsing xfs protocol replies

    When parsing replies received from the font server, these calls do not
    check that the lengths and/or indexes returned by the font server are
    within the size of the reply or the bounds of the memory allocated to
    store the data, so could write past the bounds of allocated memory when
    storing the returned data.

    Affected functions: _fs_recv_conn_setup(), fs_read_open_font(),
    fs_read_query_info(), fs_read_extent_info(), fs_read_glyphs(),
    fs_read_list(), fs_read_list_info()

- CVE-2014-0211: integer overflows calculating memory needs for xfs replies

    These calls do not check that their calculations for how much memory
    is needed to handle the returned data have not overflowed, so can

    result in allocating too little memory and then writing the returned
    data past the end of the allocated buffer.

    Affected functions: fs_get_reply(), fs_alloc_glyphs(),
    fs_read_extent_info()

See also: http://lists.x.org/archives/xorg-announce/2014-May/002431.html

(msaitoh)

2014-05-13 20:29:59 UTC MAIN commitmail json YAML

When running as root and wanting to write a file and not having CAPNG, don't
drop privs, because we cannot open the file if we drop privs.

(christos)

2014-05-13 20:06:41 UTC MAIN commitmail json YAML

Don't die if we resize to smaller than Y_LINES. The display could do better,
but it recovers if we grow.

(christos)

2014-05-13 19:58:23 UTC MAIN commitmail json YAML

2014-05-13 19:39:40 UTC MAIN commitmail json YAML

Use proper SYSCTL_DESCR() macro

(palle)

2014-05-13 19:36:16 UTC MAIN commitmail json YAML

2014-05-13 19:14:05 UTC MAIN commitmail json YAML

get_vis() now handles sun4v (VIS 1 and VIS 2)

(palle)

2014-05-13 18:55:07 UTC MAIN commitmail json YAML

mention workaround for PR48696

(macallan)

2014-05-13 18:46:48 UTC MAIN commitmail json YAML

2014-05-13 18:07:24 UTC MAIN commitmail json YAML

Print 32bit I/O region flag and 64bit memory region flag.

(msaitoh)

2014-05-13 17:05:26 UTC MAIN commitmail json YAML

PR kern/48799: make filehandles properly use 64bit inodes on CD9660 file
systems. Patch from Thomas Schmitt, with slight modifications.

(martin)

2014-05-13 16:35:02 UTC MAIN commitmail json YAML

mention tzcode

(christos)

2014-05-13 16:34:36 UTC MAIN commitmail json YAML

2014-05-13 16:33:56 UTC MAIN commitmail json YAML

Welcome to 2014c
  Changes affecting code

    zic now generates transitions for minimum time values, eliminating
    guesswork when handling low-valued time stamps.  (Thanks to Arthur
    David Olson.)

    Port to Cygwin sans glibc.  (Thanks to Arthur David Olson.)

  Changes affecting commentary and documentation

    Remove now-confusing comment about Jordan.  (Thanks to Oleksii
    Nochovnyi.)

(christos)

2014-05-13 15:17:33 UTC MAIN commitmail json YAML

Fix multiple vulnerabilities in libXfont:

- CVE-2014-0209: integer overflow of allocations in font metadata file parsing

    When a local user who is already authenticated to the X server adds
    a new directory to the font path, the X server calls libXfont to open
    the fonts.dir and fonts.alias files in that directory and add entries
    to the font tables for every line in it.  A large file (~2-4 gb) could
    cause the allocations to overflow, and allow the remaining data read
    from the file to overwrite other memory in the heap.

    Affected functions: FontFileAddEntry(), lexAlias()

- CVE-2014-0210: unvalidated length fields when parsing xfs protocol replies

    When parsing replies received from the font server, these calls do not
    check that the lengths and/or indexes returned by the font server are
    within the size of the reply or the bounds of the memory allocated to
    store the data, so could write past the bounds of allocated memory when
    storing the returned data.

    Affected functions: _fs_recv_conn_setup(), fs_read_open_font(),
    fs_read_query_info(), fs_read_extent_info(), fs_read_glyphs(),
    fs_read_list(), fs_read_list_info()

- CVE-2014-0211: integer overflows calculating memory needs for xfs replies

    These calls do not check that their calculations for how much memory
    is needed to handle the returned data have not overflowed, so can

    result in allocating too little memory and then writing the returned
    data past the end of the allocated buffer.

    Affected functions: fs_get_reply(), fs_alloc_glyphs(),
    fs_read_extent_info()

See also: http://lists.x.org/archives/xorg-announce/2014-May/002431.html

(spz)

2014-05-13 05:30:38 UTC MAIN commitmail json YAML

Do not attach if the STIP register is way too small (this happens in qemu
due to buggy emulation and causes crashes).

(martin)

2014-05-13 02:53:54 UTC MAIN commitmail json YAML

2014-05-13 02:11:26 UTC MAIN commitmail json YAML

Add some code from FreeBSD to make the E1147* work. Still does not autoneg
to GiGE for some reason but it autonegs to 100BaseTX full-duplex.

(christos)

2014-05-13 02:10:05 UTC MAIN commitmail json YAML

2014-05-13 02:08:59 UTC MAIN commitmail json YAML

sync marvel with freebsd.

(christos)

2014-05-12 23:01:40 UTC MAIN commitmail json YAML

Print the range of I/O, non-prefechable memory and prefechable memory.

(msaitoh)

2014-05-12 22:50:03 UTC MAIN commitmail json YAML

2014-05-12 18:46:27 UTC MAIN commitmail json YAML

2014-05-12 17:27:23 UTC MAIN commitmail json YAML

revert previous; the 128 bytes is for the AMD64 redzone

(jakllsch)

2014-05-12 15:53:01 UTC MAIN commitmail json YAML

restore defaulting to the 'a' partition for booting with root on raid as
it was before, and explain why we do things this way.

(christos)

2014-05-12 15:34:23 UTC MAIN commitmail json YAML

2014-05-12 15:33:12 UTC MAIN commitmail json YAML

CID 978337: Fix resource leak

(christos)

2014-05-12 15:31:07 UTC MAIN commitmail json YAML

CID 975238: Unchecked returns

(christos)

2014-05-12 15:27:36 UTC MAIN commitmail json YAML

2014-05-12 15:25:49 UTC MAIN commitmail json YAML

2014-05-12 15:21:46 UTC MAIN commitmail json YAML

CID 745319: Checking the wrong variable for NULL.

(christos)

2014-05-12 15:20:41 UTC MAIN commitmail json YAML

2014-05-12 13:49:24 UTC MAIN commitmail json YAML

Don't reserve space (128) on signal stack for unknown reasons; the actual
space for struct sigframe_siginfo (+ alignment) is allocated just below.

Confirmed by the following tests:

tests/lib/libc/gen/t_siginfo
tests/lib/libc/sys/t_sigtimedwait
tests/lib/libc/sys/t_sigaction
tests/lib/libc/sys/t_sigqueue

(uebayasi)

2014-05-12 11:56:02 UTC MAIN commitmail json YAML

Match lapic conditionals from the primary CPU.

(joerg)

2014-05-12 11:55:39 UTC MAIN commitmail json YAML

buf is only used in the ioapic case.

(joerg)

2014-05-12 11:51:35 UTC MAIN commitmail json YAML

2014-05-12 11:51:34 UTC MAIN commitmail json YAML

acpi_md_findoverride is only used when NIOAPIC > 0, so don't provide it
otherwise.

(joerg)

2014-05-12 11:27:31 UTC MAIN commitmail json YAML

Fix newline problem which was added in previous commit.

(msaitoh)

2014-05-12 09:01:35 UTC MAIN commitmail json YAML

2014-05-12 08:47:49 UTC MAIN commitmail json YAML

Belatedly adapt to changes in the code.

(martin)

2014-05-12 02:26:19 UTC MAIN commitmail json YAML

2014-05-11 09:01:42 UTC MAIN commitmail json YAML

Add An to authors. Wording.

(wiz)

2014-05-11 07:53:28 UTC MAIN commitmail json YAML

Deal with incompatible cache aliases. Specifically,

- always flush an ephemeral page on unmap
- track unmanaged mappings (mappings entered via pmap_kenter_pa) for
  aliases where required and handle appropriately (via pmap_enter_pv)

Hopefully this (finally) addresses the instability reported in the
following PRs:

PR/44900 - R5000/Rm5200 mips ports are broken
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead

(skrll)

2014-05-11 02:07:35 UTC MAIN commitmail json YAML

2014-05-11 02:02:14 UTC MAIN commitmail json YAML

Provide a non-EHABI version of the mcount glue.

(joerg)

2014-05-11 01:05:17 UTC MAIN commitmail json YAML

Add a history function that takes a FILE pointer; needed for Capsicum.
From Eitan Adler

(christos)

2014-05-10 22:24:32 UTC MAIN commitmail json YAML

Get the Odroid-U3 USB hub working! It now attaches and /lists all its children
like mouse etc.

(reinoud)

2014-05-10 21:46:15 UTC MAIN commitmail json YAML

2014-05-10 21:10:27 UTC MAIN commitmail json YAML

The Odroids USB hub and Ethernet init are not to be done at the SoC level.

(reinoud)

2014-05-10 20:38:15 UTC MAIN commitmail json YAML

No use in duplicating the frequency settings of mct and gtmr at two different
places.

(reinoud)

2014-05-10 20:24:06 UTC MAIN commitmail json YAML

Implement evbarm_device_register_post_config() hook for odroid and its
decendents. This allows post attach actions on every level of the machine
support.

(reinoud)

2014-05-10 20:12:16 UTC MAIN commitmail json YAML

Define and implement device_register_post_config() hook analog to the
device_register() hook.

Already found on sparc64 and librump. Tested compilation and running of
machines with and without the hook defined.

(reinoud)

2014-05-10 19:31:00 UTC MAIN commitmail json YAML

Add the missing ETC0, ETC6, ETC7, ETC8 `gpio' registers. They are special in
that they can't be set/unset nor configured. The only changeable parameters
are the pullups PUD and the DRV driving strength. They however fit the same
structure as the rest of the GPIOs and are used as such.

(reinoud)

2014-05-10 14:15:25 UTC MAIN commitmail json YAML

2014-05-10 14:11:58 UTC MAIN commitmail json YAML

PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).

(martin)

2014-05-10 11:03:45 UTC MAIN commitmail json YAML

refactor pin setting in odroid_device_register() to remove an indent
preventing potentional lots of line breaks due to the 80 char line limit.

(reinoud)

2014-05-10 10:47:17 UTC MAIN commitmail json YAML

Change int->void
sorry about the noise

(reinoud)

2014-05-10 10:46:25 UTC MAIN commitmail json YAML

Add exynos_gpio_pindata_ctl() analog to _pindata__read() and _pindata_write()

(reinoud)

2014-05-10 09:39:19 UTC MAIN commitmail json YAML

PR bin/48798: fix format for ino_t.
Slightly modifed variant of the patch provided by Thomas Schmitt.

(martin)

2014-05-09 23:26:36 UTC MAIN commitmail json YAML

2014-05-09 22:21:46 UTC MAIN commitmail json YAML

Implement heartbeat LED using the new gpio subsystem

(reinoud)

2014-05-09 22:20:41 UTC MAIN commitmail json YAML

Rename blinkled to heartbeat since that is its function

(reinoud)

2014-05-09 22:19:22 UTC MAIN commitmail json YAML

The mct runs at F_IN / XUSBXTI of 24 Mhz

(reinoud)

2014-05-09 22:16:56 UTC MAIN commitmail json YAML

Both Exynos4 and Exynos5 have a 24 Mhz external crystal that gets pumped up to
the required frequencies by PLL circuits.

USB freq. seems to be tied directly to this freq.

(reinoud)

2014-05-09 22:02:10 UTC MAIN commitmail json YAML

Rename led0 to led1 to be consistent with the linux distro

(reinoud)

2014-05-09 21:49:43 UTC MAIN commitmail json YAML

Implement gpio framework for the Samsung Exynos series.

Note that only the Exynos4 gpio registers are defined now and provision is
taken to allow for seamlessness adding of Exynos5 values.

(reinoud)

2014-05-09 20:10:49 UTC MAIN commitmail json YAML

Enable AUDIO_PROP_MMAP in hdafg(4).

Addresses PR#48792 and PR#35961.

(jakllsch)

2014-05-09 19:51:43 UTC MAIN commitmail json YAML

Use the constant for default interrupt provided by autoconf

(reinoud)

2014-05-09 19:47:09 UTC MAIN commitmail json YAML

Add GPIO register definitions

Also add the frequency for the USB system; its also used for various other
clocksources

(reinoud)

2014-05-09 19:44:06 UTC MAIN commitmail json YAML

The EXYNOS4_I2C0_OFFSET is actually reffered to as additional GPIO space.

(reinoud)

2014-05-09 17:25:11 UTC MAIN commitmail json YAML

Remove error condition for negative length parameter; the
corresponding type is unsigned (size_t) and thus the value cannot be
negative.

(njoly)

2014-05-09 14:51:26 UTC MAIN commitmail json YAML

Print the CRS Software Visibility Enable bit and the Crosslink Supported bit.

(msaitoh)

2014-05-09 11:51:49 UTC MAIN commitmail json YAML

Cosmetic fix: s/8bit/8-bit/ and new line for 8-bit only TCX's.

(jdc)

2014-05-09 08:36:09 UTC MAIN commitmail json YAML

Move libsjjit and libbpfjit to the pre-dependency section and remove
the unnecessary .WAIT. They are both marked LIBISPRIVATE, which does
mean no link is performed, and there are no dependencies.

(plunky)

2014-05-09 06:12:48 UTC MAIN commitmail json YAML

2014-05-08 20:36:15 UTC MAIN commitmail json YAML

Revert default strategy change from 1.298 (which has since moved).

Reverting to "fcfs" nearly doubles the speed of sequential reads from
a level-1 RAID (previously using the default of "priocscan").

Needs pullup via patch for netbsd-6.

(jakllsch)

2014-05-08 13:58:34 UTC MAIN commitmail json YAML

Use TOOL_NCDCS to turn an ibmnws kernel automatically into a valid NCD
firmware image for netbooting. This is still a valid ELF kernel, but with
a patched CRC checksum and image size included.

(phx)

2014-05-08 08:21:53 UTC MAIN commitmail json YAML

Add a global vnode cache:

- vcache_get() retrieves a referenced and initialised vnode / fs node pair.
- vcache_remove() removes a vnode / fs node pair from the cache.

On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to
initialise a vnode / fs node pair.  This call is guaranteed exclusive,
no other thread will try to load this vnode / fs node pair.

Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface.

Remove now unused ufs/ufs_ihash

Discussed on tech-kern.

Welcome to 6.99.41

(hannken)

2014-05-08 05:59:09 UTC MAIN commitmail json YAML

add (empty, pretty much like all other usb) pmf support.

(mrg)

2014-05-07 22:53:34 UTC MAIN commitmail json YAML

Prevent a race between tap_dev_poll() and tap_start() by making sure the
call to selrecord() happens at splnet().  Fixes kern/47506 and kern/46199.

(cube)

2014-05-07 21:24:25 UTC MAIN commitmail json YAML

2014-05-07 19:30:09 UTC MAIN commitmail json YAML

Fix impossible error condition.

(joerg)

2014-05-07 14:26:53 UTC MAIN commitmail json YAML

Adjust "options " whitespace to be consistent.

(jakllsch)

2014-05-07 14:00:48 UTC MAIN commitmail json YAML

Set the kernel load (physical) address as is already done for i386 kernels.

(jakllsch)

2014-05-06 20:39:37 UTC MAIN commitmail json YAML

gdb-7.7.1 out.

(wiz)

2014-05-06 18:54:34 UTC MAIN commitmail json YAML

2014-05-06 18:17:22 UTC MAIN commitmail json YAML

Fix c&p error for the length argument in fadvise64_64.

(njoly)

2014-05-06 17:34:40 UTC MAIN commitmail json YAML

2014-05-06 17:33:35 UTC MAIN commitmail json YAML

2014-05-06 16:02:11 UTC MAIN commitmail json YAML

2014-05-06 14:31:21 UTC MAIN commitmail json YAML

Update Turkey. Add cities with a population greater than one million.

(zafer)

2014-05-06 13:21:50 UTC MAIN commitmail json YAML

linux_off_t -> off_t in pwrite() syscall args comment.

(njoly)

2014-05-06 12:02:52 UTC MAIN commitmail json YAML

Add needs-flag to netwalker_backlight.

(hkenken)

2014-05-06 11:22:53 UTC MAIN commitmail json YAML

2014-05-06 11:08:51 UTC MAIN commitmail json YAML

2014-05-06 10:16:52 UTC MAIN commitmail json YAML

Add country codes for Lithuania, Latvia, and Estonia

(gson)

2014-05-06 09:01:26 UTC MAIN commitmail json YAML

Force pci_mode 1 when running as Xen HVM domU to allow cd* to be detected
correctly. Fixes kern/48770. Thanks to cube@

(sborrill)

2014-05-06 07:29:30 UTC MAIN commitmail json YAML

Fix firmware path - noted by Thomas Mueller on current-users.

(martin)

2014-05-06 04:26:24 UTC MAIN commitmail json YAML

Use the hypervisor to copy/zero pages. This saves us the extra overheads
of setting up temporary kernel mapping/unmapping.

riz@ reports savings of about 2s on a 120s kernel build.

(cherry)

2014-05-06 00:41:26 UTC MAIN commitmail json YAML

include string.h for memset

(yamt)

2014-05-05 21:04:09 UTC MAIN commitmail json YAML

Sort options in usage.

(wiz)

2014-05-05 20:56:15 UTC MAIN commitmail json YAML

Remove unused umcs7840_reg_dcr0.

(joerg)

2014-05-05 20:52:45 UTC MAIN commitmail json YAML

Sort SYNOPSIS. Bump date for previous.

(wiz)

2014-05-05 20:31:03 UTC MAIN commitmail json YAML

2014-05-05 20:24:35 UTC MAIN commitmail json YAML

2014-05-05 19:12:19 UTC MAIN commitmail json YAML

Add a new action kernel.gdb=MYCONF to build a kernel with debuginfo
(and generate netbsd.gdb)

(martin)

2014-05-05 19:10:01 UTC MAIN commitmail json YAML

Use the new -U option for config to avoid generating kernel debug info
during release builds. This should save quite some space in the evbarm
build, where makeoptions DEBUG is heavily used.

(martin)

2014-05-05 19:08:13 UTC MAIN commitmail json YAML

Add two new options, -U and -D, that can be used to define "makeoptions"
on the config command line. While there, rename the undocumented (internal)
parser debug option from -D to -d.
Discussed on tech-toolchain.

(martin)

2014-05-05 19:06:29 UTC MAIN commitmail json YAML

As discussed on tech-toolchain, offer a new make variable MKKDEBUG - if
set to "yes", kernel builds will gain debug info and a netbsd.gdb will
be created (same as adding "makeoptions DEBUG=-g" to the config file).

(martin)

2014-05-05 19:04:47 UTC MAIN commitmail json YAML

sun4v: the trap base address should be assigned to %l1 so %tba is properly setup later in the code - now the kernel gets as far as printing the copyright disclaimer, kernel version and total and available memory before crashing

(palle)

2014-05-05 18:08:33 UTC MAIN commitmail json YAML

Comment out the ieee fp flags for alpha for now - something (tm) is not
working right, see PR port-alpha/48782.

(martin)

2014-05-05 17:45:24 UTC MAIN commitmail json YAML

Fill in netbsd32_vm_default_addr, and provide

- compat_13_netbsd32_sigreturn, and
- compat_16_netbsd32___sigreturn14

(skrll)

2014-05-05 17:12:11 UTC MAIN commitmail json YAML

Handle a closing brace at the end of a command without a preceding semi-colon:
/foo/ {p;d}

(christos)

2014-05-05 15:59:11 UTC MAIN commitmail json YAML

Use a spinlock for completions. Makes vchiq pass LOCKDEBUG where other
spinlocks where held when trying to use the completion API.

(skrll)

2014-05-05 15:45:32 UTC MAIN commitmail json YAML

Free pid for linux processes. Reported by Mark Davies, fix by dsl@
XXX: pullup 6

(christos)

2014-05-05 08:13:31 UTC MAIN commitmail json YAML

Improve locking and kcondvar usage.

The "interrupt" lock doesn't need to be a spin mutex as the vchi
completions we're synchronising with are done in thread context.

Don't share the interrupt lock for the msg_sync done synchronisation.

(skrll)

2014-05-05 05:55:21 UTC MAIN commitmail json YAML

In the MULTIPROCESSOR case where another thread wins the race to allocate
a new segtab page call mips_pmap_unmap_poolpage on the page our thread
allocated and called mips_pmap_map_poolpage for.

(skrll)

2014-05-05 00:20:45 UTC MAIN commitmail json YAML

Remove __restrict qualifier.

It's not really necessary in this more "portable" code,
and a compat replacement isn't provided.

Fixes problem reported by Greg Earle.

(lukem)

2014-05-04 22:18:38 UTC MAIN commitmail json YAML

2014-05-04 20:43:30 UTC MAIN commitmail json YAML

open the tty with O_RDWR|O_NONBLOCK.  it seems valid to ask for
write permission when we're setting flags, and ucom(4) has an
existing workaround for a bug when O_RDWR is not used, and thus
ttyflags would not work for ucom devices.

(mrg)

2014-05-04 17:06:23 UTC MAIN commitmail json YAML

Make this compile/work with PARANOIADIAG

(skrll)

2014-05-04 10:31:10 UTC MAIN commitmail json YAML

2014-05-04 10:30:39 UTC MAIN commitmail json YAML

Adjust pread/pwrite signature to match reality.

(njoly)

2014-05-04 10:10:40 UTC MAIN commitmail json YAML

Regen for pread/pwrite 64bit offset argument.

(njoly)

2014-05-04 10:08:53 UTC MAIN commitmail json YAML

2014-05-04 10:03:55 UTC MAIN commitmail json YAML

Remove now unneeded bsd.kinc.mk.

(njoly)

2014-05-04 09:05:39 UTC MAIN commitmail json YAML

The OF_test_method() function takes an instance handle, not a phandle,
and returns 0 on success.
Pointed out by Mark Cave-Ayland.

(martin)

2014-05-03 23:19:56 UTC MAIN commitmail json YAML

Missing register validation check.

(joerg)

2014-05-03 16:43:10 UTC MAIN commitmail json YAML

Fix comment pointing at the source of the list of functions and add
two missing ones: _clrsbsi2 and _clrsbdi2

(martin)

2014-05-03 12:51:32 UTC MAIN commitmail json YAML

Also attach to devices named "parallel"

(martin)

2014-05-03 12:50:02 UTC MAIN commitmail json YAML

Use pmap_tlb_asid_check to reduce code c&p.

(skrll)

2014-05-03 11:17:06 UTC MAIN commitmail json YAML

Fix build w/o options SUN4_MMU3L.

(nakayama)

2014-05-03 07:06:31 UTC MAIN commitmail json YAML

Make PARANOIADIAG compile.

(skrll)