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

2024-05-10 04:14:59 UTC Now

2014-07-18 02:43:13 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1080):
distrib/utils/sysinst/arch/alpha/md.c: revision 1.53
Apply patch in PR port-alpha/48697 (with some tweaks).
Tru64 UNIX's disklabel is the same format as BSD disklabel,
and it seems Tru64 stores incorrect geometry values in
d_nsectors (sectors/track) and d_secpercyl (sectors/cylinder).
d_secperunit seems always reliable so use it to get
dlsec (sectors/track) and dlcylsize (sectors/cylinder) values.
Should be pulled up to netbsd-6 branches.

(riz)

2014-07-18 02:42:02 UTC netbsd-6 commitmail json YAML

2014-07-18 02:41:34 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1080):
distrib/utils/sysinst/arch/alpha/md.c: revision 1.53
Apply patch in PR port-alpha/48697 (with some tweaks).
Tru64 UNIX's disklabel is the same format as BSD disklabel,
and it seems Tru64 stores incorrect geometry values in
d_nsectors (sectors/track) and d_secpercyl (sectors/cylinder).
d_secperunit seems always reliable so use it to get
dlsec (sectors/track) and dlcylsize (sectors/cylinder) values.
Should be pulled up to netbsd-6 branches.

(riz)

2014-07-18 02:21:53 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1079):
distrib/utils/sysinst/arch/newsmips/md.c: revision 1.22
distrib/utils/sysinst/arch/pmax/md.c: revision 1.68
distrib/utils/sysinst/arch/vax/md.c: revision 1.40
distrib/utils/sysinst/arch/alpha/md.c: revision 1.52
distrib/utils/sysinst/arch/macppc/md.c: revision 1.46
distrib/utils/sysinst/arch/mipsco/md.c: revision 1.21
distrib/utils/sysinst/arch/landisk/md.c: revision 1.11
distrib/utils/sysinst/arch/news68k/md.c: revision 1.35
Use msg_display(3) rather than printf(3) to print dobootblk messages.
The latter won't show any characters on the sysinst screen
and other ports have used the former.

(riz)

2014-07-18 02:10:55 UTC MAIN commitmail json YAML

Don't set SOFTINT_MPSAFE to vioif_rx_softint

vioif_rx_softint calls vioif_populate_rx_mbufs that is not MPSAFE.
vioif_populate_rx_mbufs is also called via vioif_ioctl and so can
be called by two LWPs simultaneously, resulting in kernel panic.

PR kern/49007

(ozaki-r)

2014-07-18 00:00:51 UTC MAIN commitmail json YAML

We need just a VA, not wired physical pages too.

(riastradh)

2014-07-17 21:14:24 UTC MAIN commitmail json YAML

Don't double-free obj->pages, with two different allocators to boot!

(riastradh)

2014-07-17 21:13:49 UTC MAIN commitmail json YAML

Destroy the DMA subregion tag on error in drm_pci_detach.

Now that drm_pci_attach calls the driver load function, rather than
deferring it to the caller, the DMA subregion tag can be created
here.

(riastradh)

2014-07-17 20:56:14 UTC MAIN commitmail json YAML

Elide up to one excess driver-named component from firmware pathnames.

(riastradh)

2014-07-17 20:41:22 UTC MAIN commitmail json YAML

In radeon_device_init, use ddev->dev, not &pdev->dev, for rdev->dev.

ddev->dev is the actual device_t, and we need it for firmware load.
&pdev->dev is a dummy structure that serves no purpose except some
kludge in our Linux PCI compatibility crap.  In Linux the two should
be the same, so no need to #ifdef __NetBSD__ this.

(riastradh)

2014-07-17 20:37:01 UTC MAIN commitmail json YAML

Tweak failure case for Linux firmware API.

request_firmware is guaranteed to yield null on failure;
release_firmware on null is guaranteed to be a no-op.

(riastradh)

2014-07-17 19:58:18 UTC MAIN commitmail json YAML

Try to recover from vbus errors. Some devices draw too much
current at plug time, causing a trancient error.

(bouyer)

2014-07-17 19:23:40 UTC MAIN commitmail json YAML

Need <sys/atomic.h> for atomic_cas_uint.

(riastradh)

2014-07-17 18:53:35 UTC MAIN commitmail json YAML

Don't touch task after calling it.

(riastradh)

2014-07-17 18:42:38 UTC MAIN commitmail json YAML

2014-07-17 17:52:39 UTC MAIN commitmail json YAML

intel_dp_aux_wait_done can run while cold.

(riastradh)

2014-07-17 17:29:40 UTC MAIN commitmail json YAML

Do a post-write DMA sync pos-write, not a pre-write one.

(riastradh)

2014-07-17 17:19:42 UTC MAIN commitmail json YAML

Don't forget to advance the array index as we walk the queue...

(riastradh)

2014-07-17 17:17:24 UTC MAIN commitmail json YAML

Lock the right lock around the gmbus condvar.

(riastradh)

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

Fix wsmouse at uatp attachment for module.

(riastradh)

2014-07-17 15:09:00 UTC MAIN commitmail json YAML

Put in dummy gem uvm ops for radeon (uses ttm for real mmap).

(riastradh)

2014-07-17 14:55:32 UTC MAIN commitmail json YAML

Expand null macros to `do {} while (0)', not to nothing.

(riastradh)

2014-07-17 14:30:33 UTC MAIN commitmail json YAML

Correct return values of Linux test-and-set operations (PR 48999).

Linux's Documentation/atomic_ops.txt says in no uncertain terms these
must return 0 or 1, not zero or nonzero.  I don't think this has
caused an issue for drm (yet), but better to have it right.

(riastradh)

2014-07-17 14:28:28 UTC MAIN commitmail json YAML

Add non-atomic Linux test-and-set operations.

(riastradh)

2014-07-17 14:07:44 UTC MAIN commitmail json YAML

Remove defunct declarations of alloc_page/free_page.

(riastradh)

2014-07-17 14:05:12 UTC MAIN commitmail json YAML

Push -Wno-missing-prototypes into specific radeon source files.

Don't apply it willy-nilly to the whole kernel!

(riastradh)

2014-07-17 14:03:33 UTC tls-earlyentropy commitmail json YAML

Adjustments to the "earlyentropy" branch in response to the various
discussions beginning with my initial proposal
http://mail-index.netbsd.org/tech-kern/2014/04/08/msg016876.html and
particularly the long discussion of cprng_fast() performance (e.g.
https://mail-index.netbsd.org/tech-crypto/2014/04/21/msg000642.html).

In particular:

* Per-CPU, lockless cprng_fast replacement using Dennis Ferguson's
  "ccrand" implementation of ChaCha8.

* libkern arc4random() is gone, gone, gone.

* Entropy estimator reverted to 32-bit recordkeeping and timestamps
  per Dennis' comments and analysis.

* LZF entropy estimator removed: it required a great deal of state,
  and rejected only truly pathological input.

I have not yet reverted the changes that provide LZF in the kernel
as generic functionality; I will likely revert those changes prior
to any merge of this branch to HEAD.

(tls)

2014-07-17 13:52:22 UTC MAIN commitmail json YAML

Remove needless linux_gfp.c.

Trying to make do with Linux's page allocation interface is pretty
much always wrong: either we let uvm allocate pages in uvm objects
for us, or we use bus_dma.

(riastradh)

2014-07-17 13:47:19 UTC MAIN commitmail json YAML

Initialize the drm_global stuff.

(riastradh)

2014-07-17 13:42:02 UTC MAIN commitmail json YAML

Add hw.ncpuonline documentation.

(njoly)

2014-07-17 12:04:05 UTC MAIN commitmail json YAML

2014-07-17 10:49:45 UTC MAIN commitmail json YAML

Sync DEFCOPTS and CFLAGS with i386 and amd64 counterparts.
Especially -fno-omit-frame-pointer

(bouyer)

2014-07-17 10:46:58 UTC MAIN commitmail json YAML

Make sure to call ifp->if_output() with KERNEL_LOCK held.
Should fix mpls-related atf tests.

(bouyer)

2014-07-17 10:21:51 UTC MAIN commitmail json YAML

2014-07-17 08:21:34 UTC MAIN commitmail json YAML

Finish KAME IPSEC removal:
- Remove field kfs_value, it is always zero. Compute the hash from kt_tag.
- Remove stray definitions kernfs_revoke_sa and kernfs_revoke_sp.

While here, remove kfs_type from allocvp(), it is always kt->kt_tag.

(hannken)

2014-07-17 08:16:12 UTC MAIN commitmail json YAML

2014-07-17 07:17:03 UTC MAIN commitmail json YAML

Create the dhcpd.leases file if it doesn't exist already, don't just
warn about it not being there.
Closes PR misc/48868

(spz)

2014-07-17 06:27:53 UTC MAIN commitmail json YAML

rewrite much of the SSL code:
- handle errors in many places they weren't properly
- make SSL_accept() an error the main code notices
- expand bozo_ssl_err() to include bozo_ssl_warn(), bozo_clear_ssl_queue()
- remove empty bozo_ssl_flush()

(mrg)

2014-07-17 06:24:57 UTC MAIN commitmail json YAML

link against main.c and ssl-bozo.c (which provides the IO backend.)

(mrg)

2014-07-17 06:14:46 UTC MAIN commitmail json YAML

use const and remove unnecessary braces.

(mrg)

2014-07-17 03:34:13 UTC MAIN commitmail json YAML

Actually hook up the radeon_ttm uvm pager ops!

(riastradh)

2014-07-16 23:59:58 UTC MAIN commitmail json YAML

From https://github.com/raspberrypi/linux/commit/517d5c1c9ceb7bf94c4e56e4fb97758e13f24b3b

> Fix for ALSA driver crash
> Avoids an issue when closing and opening vchiq where a message can arrive before service handle has been written

(jmcneill)

2014-07-16 23:54:32 UTC MAIN commitmail json YAML

need opt_arm_debug.h for VERBOSE_INIT_ARM

(jmcneill)

2014-07-16 23:25:18 UTC MAIN commitmail json YAML

2014-07-16 23:24:24 UTC MAIN commitmail json YAML

Remove needless pci_map_rom error messages.

(riastradh)

2014-07-16 21:48:53 UTC MAIN commitmail json YAML

Explain why i915_gem_release_mmap is broken.

(riastradh)

2014-07-16 21:28:50 UTC MAIN commitmail json YAML

Restore error message tweak that got lost in the merge.

(riastradh)

2014-07-16 21:11:47 UTC MAIN commitmail json YAML

I thought I removed this troublemaker already.

(riastradh)

2014-07-16 20:59:58 UTC MAIN commitmail json YAML

First whack at radeon driver.

No hardware to test yet, but it builds.

(riastradh)

2014-07-16 20:56:26 UTC MAIN commitmail json YAML

Make it build and boot on my test machines.

Screen blanks on boot on the Ivy Bridge system with

  DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun

But after that everything is OK.  Appears to be an upstream problem.
To investigate...

I think there's a cache flushing issue somewhere -- there are little
display artefacts on my T60.

(riastradh)

2014-07-16 20:09:00 UTC MAIN commitmail json YAML

Limit the minimum size of a disk sector to 512 bytes, to prevent memory
overflow on extremely low secsize. This normally conforms to the old standard
(for which there doesn't seem to be a clear spec). Since 2011, IDEMA's Advanced
Format standardizes it to 4k, so this change won't cause any trouble on
new devices.

Put the printf under DIAGNOSTIC temporarily to see if someone complains.

after a quick discussion on tech-kern

(maxv)

2014-07-16 20:08:37 UTC MAIN commitmail json YAML

Delete troublesome drm_trace.h and drm_trace_points.c.

(riastradh)

2014-07-16 20:03:57 UTC MAIN commitmail json YAML

2014-07-16 19:53:18 UTC MAIN commitmail json YAML

sun4v: Introduce SET_MMU_CONTEXTID macro for setting the mmu context id on both sun4u and sun4v

(palle)

2014-07-16 19:31:11 UTC MAIN commitmail json YAML

Avoid use of __arraycount in tools as not portable

(justin)

2014-07-16 19:09:53 UTC MAIN commitmail json YAML

Hold arenas_mtx across (still unused) _malloc_pre/postfork (PR 47428).

(riastradh)

2014-07-16 19:05:42 UTC MAIN commitmail json YAML

Add doc/3RDPARTY entry for MesaLib.

(riastradh)

2014-07-16 19:05:37 UTC MAIN commitmail json YAML

Mention tiotg and tifb

(bouyer)

2014-07-16 18:58:07 UTC MAIN commitmail json YAML

Remove an accidental C99-ism in tools which needs to be portable

(justin)

2014-07-16 18:36:46 UTC MAIN commitmail json YAML

Add a commented out tifb and associated wsdisplay entry; mark the
driver as experimental and point out that video mode is hardcoded.
Add tiotg, mark as experimental but I think it's good enough to have
it in by default.

(bouyer)

2014-07-16 18:32:21 UTC MAIN commitmail json YAML

Add tifb and tiotg

(bouyer)

2014-07-16 18:31:17 UTC MAIN commitmail json YAML

Glue in tifb and tiotg drivers.

(bouyer)

2014-07-16 18:30:43 UTC MAIN commitmail json YAML

Work in progress on a driver for the graphic controller found in TI am355x SoCs,
based on the FreeBSD driver.
Only dumb framebuffer mode supported.
At this time, the video timings are hardcoded in the driver's source.
The timings inclued here are for the 12" 1280x800 LCD+LVDS cape from
Chalk Elec.
A better way to define video modes is clearly needed.

(bouyer)

2014-07-16 18:27:19 UTC MAIN commitmail json YAML

Add the bus front end for the Mentor Graphics USB OTG controllers found
in the TI am355x SoCs.

(bouyer)

2014-07-16 18:25:24 UTC MAIN commitmail json YAML

Add USB control registers.

(bouyer)

2014-07-16 18:24:35 UTC MAIN commitmail json YAML

Add peripheral clock defines, from FreeBSD.

(bouyer)

2014-07-16 18:22:23 UTC MAIN commitmail json YAML

Add motg(4), a driver for Mentor Graphic's OTG USB controller IP,
as found in several SoCs.
Only host mode is supported, good enough for umass (USB keys), kubd and ums,
and USB2 hubs.
It fails to properly talk to USB/serial adapters at this time.

(bouyer)

2014-07-16 17:58:35 UTC MAIN commitmail json YAML

- move all register definitions and hardware documenting comments to
  tcxreg.h
- expand hardware documenting comments
no functional change

(macallan)

2014-07-16 16:52:59 UTC MAIN commitmail json YAML

2014-07-16 15:33:41 UTC MAIN commitmail json YAML

PR/48367: David A. Holland: Mark possible submake nodes so that we can
avoid closing the job pipe on exec for them in order to make recursive
makes work in parallel.

(christos)

2014-07-16 14:47:59 UTC MAIN commitmail json YAML

make a minor output change match again.

(mrg)

2014-07-16 14:10:26 UTC MAIN commitmail json YAML

Add new transform for gl.pc.
Now GLX_TLS is "no" since GLX_USE_TLS is not defined.

(nakayama)

2014-07-16 14:05:04 UTC MAIN commitmail json YAML

The placeholder name in fontconfig.pc.in has been changed.

(nakayama)

2014-07-16 13:26:33 UTC MAIN commitmail json YAML

Keep setting 'error' as appropriate (even if this place is broken enough
to crash in many other ways...)

(maxv)

2014-07-16 11:48:37 UTC MAIN commitmail json YAML

PR/30756: Thomas Klausner: Deactivate threads after detaching the main thread.

(christos)

2014-07-16 10:52:26 UTC MAIN commitmail json YAML

basename_r and dirname_r are non-standard and different from what we define
here on FreeBSD. Their libgen.h exposes them unconditionally, so hide ours
for now.

(christos)

2014-07-16 07:41:43 UTC MAIN commitmail json YAML

make -t chroot option available always again.

(mrg)

2014-07-16 03:17:26 UTC MAIN commitmail json YAML

Kill void * for bridge in struct ifnet

No functional change.

(ozaki-r)

2014-07-16 02:45:47 UTC MAIN commitmail json YAML

Because of the way we do substitutions we (currently anyway) need to
set prefix=@prefix@ and includedir=@includedir@ here. Fixes PR 48991.

(dholland)

2014-07-15 20:18:30 UTC MAIN commitmail json YAML

Print uint32_t field as such.

(joerg)

2014-07-15 20:17:53 UTC MAIN commitmail json YAML

socklen_t is not uint8_t, so don't print it as such.

(joerg)

2014-07-15 20:00:23 UTC MAIN commitmail json YAML

Darren fixed n8 and n9 recently

(martin)

2014-07-15 19:51:36 UTC MAIN commitmail json YAML

NetBSD has an entry for protocol #255 in /etc/protocols labeled "reserved"
so expect that in the parsing output instead of 255.

(martin)

2014-07-15 18:24:45 UTC MAIN commitmail json YAML

Document the upper limit on size of props dictionary that was recently
imposed.

(pgoyette)

2014-07-15 17:39:21 UTC MAIN commitmail json YAML

Clean up ERRORS (sort, merge).

(wiz)

2014-07-15 17:35:54 UTC MAIN commitmail json YAML

2014-07-15 17:35:39 UTC MAIN commitmail json YAML

replace the old macros with the function names like the rest of the code did.

(christos)

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

Bump date for -c (exactly one year after previous bump)

(wiz)

2014-07-15 16:04:35 UTC MAIN commitmail json YAML

use host rules for files.

(christos)

2014-07-15 14:56:35 UTC MAIN commitmail json YAML

2014-07-15 13:27:58 UTC MAIN commitmail json YAML

2014-07-15 13:27:04 UTC MAIN commitmail json YAML

2014-07-15 13:25:40 UTC MAIN commitmail json YAML

2014-07-15 13:22:39 UTC MAIN commitmail json YAML

2014-07-15 13:19:44 UTC MAIN commitmail json YAML

descend to vgrind

(christos)

2014-07-15 13:19:13 UTC MAIN commitmail json YAML

2014-07-15 13:17:15 UTC MAIN commitmail json YAML

2014-07-15 11:43:54 UTC MAIN commitmail json YAML

Correct the bread size of struct fsinfo from Gerald Lee at DELL dot com

(christos)

2014-07-15 11:19:08 UTC MAIN commitmail json YAML

stopgap for non-netbsd build.

(christos)

2014-07-15 03:40:06 UTC MAIN commitmail json YAML

Unbreak the build for i386

__debugused => XHCI_DEBUG

(ozaki-r)

2014-07-15 02:25:46 UTC MAIN commitmail json YAML

Suppress another debug output

It's output when DDB.

Fix previous: DEBUG => XHCI_DEBUG

(ozaki-r)

2014-07-14 21:56:03 UTC MAIN commitmail json YAML

fix type, from enh at google dot com

(christos)

2014-07-14 20:44:45 UTC MAIN commitmail json YAML

Factor out the basename and dirname code into basename_r and dirname_r
which are static for now. Inspired by similar changes to android(bionic).

(christos)

2014-07-14 20:20:31 UTC MAIN commitmail json YAML

Do not explicitly undef __INT8_TYPE__, clang is handled specially below.

(joerg)

2014-07-14 19:11:15 UTC MAIN commitmail json YAML

Add a link to ../../net/bpfjit/t_extmem.c.

(alnsn)

2014-07-14 18:50:22 UTC MAIN commitmail json YAML

remove PCC specific definitions for __packed, __aligned and __section
which result in a _Pragma() usage.  I don't think this ever worked,
as you can't concatenate string literals in this way.  A warning
would have been produced, but until recently did not result in an
error condition so this was overlooked. Use __attribute__ instead as
this is supported by PCC.

(plunky)

2014-07-14 16:29:50 UTC MAIN commitmail json YAML

smbfs depends on nsmb, so add the dependency as appropriate. Fixes
# modload smbfs
on modular kernels, PR kern/40011, and probably system crashes.

(maxv)

2014-07-14 16:06:48 UTC MAIN commitmail json YAML

Tell which dependency has failed

(maxv)

2014-07-14 14:58:32 UTC MAIN commitmail json YAML

Add module crud to uatp(4).

Compile-tested only; hardware not available right now.

(riastradh)

2014-07-14 14:56:10 UTC MAIN commitmail json YAML

Convert uatp(4) to use usb_task instead of a workqueue.

Compile-tested only; hardware not available right now.

(riastradh)

2014-07-14 14:08:41 UTC MAIN commitmail json YAML

Note import of dhcpcd-6.4.2

(roy)

2014-07-14 14:07:02 UTC MAIN commitmail json YAML

Remove unused file.

(roy)

2014-07-14 13:39:18 UTC MAIN commitmail json YAML

fix fat fingered KASSERT(solocked(0)) -> KASSERT(solocked(so)) mistake.

spotted by Takahiro HAYASHI

(rtr)

2014-07-14 13:20:41 UTC MAIN commitmail json YAML

pr_generic() for req = PRU_RCVOOB is always called with control == NULL
so don't bother with a conditional block that handles non-NULL, it
doesn't happen.

(rtr)

2014-07-14 12:40:38 UTC MAIN commitmail json YAML

Make bus_space_barrier inline to avoid unnecessary argument handling.

(nakayama)

2014-07-14 12:38:00 UTC MAIN commitmail json YAML

wskbd(4) has a belgian keyboard layout now.

(mbalmer)

2014-07-14 12:29:48 UTC MAIN commitmail json YAML

Consistency changes only.  Start sentences with a capital letter and end
them with a full stop.

(mbalmer)

2014-07-14 12:21:56 UTC MAIN commitmail json YAML

Put them one file per line.

(mbalmer)

2014-07-14 12:07:04 UTC MAIN commitmail json YAML

Add Sharp CE-175TU entry, and bump date.

(ryoon)

2014-07-14 12:04:48 UTC MAIN commitmail json YAML

Sharp CE-175TU USB to Zaurus Option Port 16 cable is uplcom(4) device.

(ryoon)

2014-07-14 12:03:42 UTC MAIN commitmail json YAML

2014-07-14 12:02:59 UTC MAIN commitmail json YAML

Add Sharp CE-175TU USB to Zaurus Option Port 16 cable.
With this cable, you can login to NetBSD/zaurus on SL-C750 via serial console.

(ryoon)

2014-07-14 11:51:08 UTC MAIN commitmail json YAML

Note import of dhcpcd-6.4.1

(roy)

2014-07-14 11:49:48 UTC MAIN commitmail json YAML

2014-07-14 11:36:39 UTC MAIN commitmail json YAML

Use static_cast for rb_tree_insert_node void * return value.

(joerg)

2014-07-14 10:36:33 UTC MAIN commitmail json YAML

Remove unused file.

(alnsn)

2014-07-14 10:05:24 UTC MAIN commitmail json YAML

Add a belgian keyboard layout, based on the french keyboard layout.
Fixes PR install/46871.

(mbalmer)

2014-07-14 09:17:04 UTC netbsd-5-1 commitmail json YAML

2014-07-14 09:16:12 UTC netbsd-5-2 commitmail json YAML

2014-07-14 09:15:07 UTC netbsd-5 commitmail json YAML

2014-07-14 09:10:18 UTC netbsd-5-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1914):
sys/kern/sys_module.c: revision 1.15 via patch
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@

(msaitoh)

2014-07-14 09:09:37 UTC netbsd-5-2 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1914):
sys/kern/sys_module.c: revision 1.15 via patch
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@

(msaitoh)

2014-07-14 09:08:42 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1914):
sys/kern/sys_module.c: revision 1.15 via patch
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@

(msaitoh)

2014-07-14 07:55:27 UTC MAIN commitmail json YAML

Don't include atomic.c, we have aliases for it in src/common.

(joerg)

2014-07-14 06:35:33 UTC netbsd-6-0 commitmail json YAML

2014-07-14 06:34:51 UTC netbsd-6-1 commitmail json YAML

2014-07-14 06:34:22 UTC netbsd-6 commitmail json YAML

2014-07-14 06:33:55 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1098):
sys/kern/sys_module.c: revision 1.15
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@

(msaitoh)

2014-07-14 06:33:33 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1098):
sys/kern/sys_module.c: revision 1.15
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@

(msaitoh)

2014-07-14 06:32:31 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1098):
sys/kern/sys_module.c: revision 1.15
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@

(msaitoh)

2014-07-14 06:26:02 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by maxt in ticket #1097):
sys/kern/kern_core.c: revision 1.23
Fix a read-beyond-end string read.

(msaitoh)

2014-07-14 06:24:17 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by maxt in ticket #1097):
sys/kern/kern_core.c: revision 1.23
Fix a read-beyond-end string read.

(msaitoh)

2014-07-14 06:21:22 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by maxt in ticket #1097):
sys/kern/kern_core.c: revision 1.23
Fix a read-beyond-end string read.

(msaitoh)

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

Cleanup comments. No functional change.

(msaitoh)

2014-07-14 02:34:36 UTC MAIN commitmail json YAML

Make bridge MPSAFE

- Introduce BRIDGE_MPSAFE
  - It's enabled only when NET_MPSAFE is defined
    in if.h or the kernel config
- Add iflist and rtlist mutex locks
  - Locking iflist is performance sensitive,
    so it's not used when !BRIDGE_MPSAFE
- Add bif object reference counting
  - It enables fine-grain locking for bridge member lists
    by allowing to not hold a lock during touching a bif
  - bridge_release_member is added to decrement the
    reference count
  - A condition variable is added to do bridge_delete_member
    gracefully
- Add if_bridgeif to ifnet
  - It's a shortcut to a bif object of a bridge member
  - It reduces a bif lookup cost and so lock contention on iflist
- Make bridgestp MPSAFE too

(ozaki-r)

2014-07-14 01:24:58 UTC MAIN commitmail json YAML

Remove a duplicated error message

(ozaki-r)

2014-07-14 00:58:35 UTC MAIN commitmail json YAML

Suppress debug output of xhci_device_intr_done

It's annoying because it is output even on keyboard inputs.

(ozaki-r)

2014-07-14 00:22:46 UTC MAIN commitmail json YAML

clang doesn't like -Wno-tautological-undefined-compare, use
-Wno-tautological-compare instead.

(riz)

2014-07-13 22:32:49 UTC MAIN commitmail json YAML

sun4v: add interrupt handling to sun4v trap table

(palle)

2014-07-13 22:09:01 UTC MAIN commitmail json YAML

Bugfix: add missing cmp instruction to GET_MAXCWP macro

(palle)

2014-07-13 22:06:56 UTC MAIN commitmail json YAML

Make named and the rest of BIND seed their RNG from /dev/urandom, not /dev/random.  Better would be to rip the enormous gonkulating RNG machinery out of libisc entirely.  Later.

(tls)

2014-07-13 21:54:46 UTC MAIN commitmail json YAML

Refactor BPF_COPX code. New version doesn't load buf and buflen after copx call.

(alnsn)

2014-07-13 21:35:33 UTC MAIN commitmail json YAML

Add bpfjit_cop_copx and bpfjit_copx_cop tests.

(alnsn)

2014-07-13 19:37:23 UTC MAIN commitmail json YAML

make the comment at the DHCPv6 define less cryptic

(spz)

2014-07-13 18:48:27 UTC MAIN commitmail json YAML

Don't use BJ_TMP2REG for 32bit packet reads. Assign this register to (buf+X)
in BPF_LD+BPF_IND and save one instruction.

(alnsn)

2014-07-13 18:28:13 UTC MAIN commitmail json YAML

2014-07-13 18:08:33 UTC MAIN commitmail json YAML

Vinnitsa isn't even in South-Western Russia. Make it Ukraine.

(asau)

2014-07-13 18:02:27 UTC MAIN commitmail json YAML

Sukhum isn't in Georgia since 1993 (1990, 1992, 1993, 1994,
1999, or 2008 depending on what you count as break-up).
In any case in recent twenty years it was easier to get there
through Russia than through Georgia.

(asau)

2014-07-13 17:38:38 UTC MAIN commitmail json YAML

At suggestion of christos@, use -b for b&w rather than -c

(pgoyette)

2014-07-13 17:27:45 UTC MAIN commitmail json YAML

Simferopol' is in Krym rather than in Adygeya, and it is in Russia.
(Whether your government recognize it or not is another issue.
If you want to visit it these days, you have to enter Russia.
Following Ukrainians, even before the recent unrest and referendum
it was strongly advised not to discuss this topic with locals there.
At least it was advised not to call Krym a part of Ukraine.)
Fix Kerch' entry as well.

(asau)

2014-07-13 17:12:23 UTC MAIN commitmail json YAML

2014-07-13 16:37:45 UTC MAIN commitmail json YAML

Fix compare to actually do the right thing.

(joerg)

2014-07-13 16:35:49 UTC MAIN commitmail json YAML

2014-07-13 16:31:20 UTC MAIN commitmail json YAML

Clang expects __INTx_TYPE__ to be used with signed/unsigned modifier
when defining (u)intx_t, GCC has a separate __UINTx_TYPE__. Newer Clang
will also provide the latter, but expects the behavior of the former to
remain. As ARM uses unsigned char by default, distinguish between Clang
and non-Clang here to the right type for int8_t.

(joerg)

2014-07-13 16:23:56 UTC MAIN commitmail json YAML

2014-07-13 16:00:32 UTC MAIN commitmail json YAML

Setup Bt458 color palette to support ANSI color text on 8bpp framebuffer.

Mostly taken from OpenBSD/luna88k.  Also sync some comments.
Tested on LUNA-II, and mlterm-fb with 8bpp wallpaper also works fine.

Thanks to Kenji Aoyama (OpenBSD/luna88k maintainer) for providing
his spare 8bpp board.

(tsutsui)

2014-07-13 15:15:06 UTC MAIN commitmail json YAML

2014-07-13 15:12:27 UTC MAIN commitmail json YAML

Add the new files to unbreak the build (hi marc!)

(martin)

2014-07-13 14:56:56 UTC MAIN commitmail json YAML

remove WORDS_BIGENDIAN, nothing uses it.
Pick up DHCPv6 from Makefile, so we only enable it for USE_INET6 like
before.

(christos)

2014-07-13 14:54:22 UTC MAIN commitmail json YAML

Remove irs re-implementation of getaddrinfo, getnameinfo, gai_strerror
that libc provides. XXX: Perhaps it is better to just make irs a private
library since not many things use it, and it is so small after we removed
the stuff that is provided by libc.

(christos)

2014-07-13 14:16:21 UTC MAIN commitmail json YAML

Remove bogus self-assigned loop field.  From upstream.

(riastradh)

2014-07-13 13:53:59 UTC MAIN commitmail json YAML

2014-07-13 12:47:14 UTC MAIN commitmail json YAML

Add a description of SIOCGIFALIAS.  From Jens A Nilsson via PR misc/6880.

(mbalmer)

2014-07-13 12:29:01 UTC MAIN commitmail json YAML

2014-07-13 12:15:45 UTC MAIN commitmail json YAML

2014-07-13 12:08:32 UTC MAIN commitmail json YAML

Fix asus entry.

(wiz)

2014-07-13 12:04:07 UTC MAIN commitmail json YAML

Use import date for Dd. Remove unnecessary quotes. End sentence with dot.

(wiz)

2014-07-13 11:23:01 UTC MAIN commitmail json YAML

2014-07-13 11:08:46 UTC MAIN commitmail json YAML

Fix a typo in a function name.  Found by Nat Sloss, thanks.
Fixes PR misc/46446.

(mbalmer)

2014-07-13 11:03:26 UTC MAIN commitmail json YAML

Don't lie about the CardBus device database.  Diff from Jukka Ruohonen.
Fixes PR misc/39625.

(mbalmer)

2014-07-13 09:32:05 UTC MAIN commitmail json YAML

Add a missing word; found by Maxime Villard, thanks!

(mbalmer)

2014-07-13 08:43:29 UTC MAIN commitmail json YAML

Fix asus(4) entry.

(mbalmer)

2014-07-13 08:37:13 UTC MAIN commitmail json YAML

Add a man page for asus(4), written by Leonardo Taccari as part of PR/39932.

(mbalmer)

2014-07-13 02:44:21 UTC MAIN commitmail json YAML

Revert previous; it doesn't work because all the lfs tools
promiscuously .PATH in each other's source files, and I haven't the
time or patience to deal with it tonight.

(dholland)

2014-07-13 01:58:08 UTC MAIN commitmail json YAML

Remove bogus length check - SUSV2 says add(n)str wraps and performs
special character processing so we should not be trying to limit the
length to the screen edge.  This partially fixes PR 48827, the test case
works now.

(blymn)

2014-07-13 01:46:04 UTC MAIN commitmail json YAML

Remove leftover #if 0 code from before the libquota rework.

(dholland)

2014-07-13 01:17:15 UTC MAIN commitmail json YAML

The vga driver now detaches wscons.

(mlelstv)

2014-07-13 01:02:20 UTC MAIN commitmail json YAML

The vga driver now detaches wscons.

(mlelstv)

2014-07-13 00:16:31 UTC MAIN commitmail json YAML

2014-07-12 20:31:04 UTC MAIN commitmail json YAML

2014-07-12 20:14:18 UTC MAIN commitmail json YAML

emit_xcall: check overflow by comparing X with (UINT32_MAX - pk->k), restore
the A register after checking that xcall succeeded.

(alnsn)

2014-07-12 20:04:31 UTC MAIN commitmail json YAML

Use u_long to avoid negative value outputs.

(nakayama)

2014-07-12 20:03:19 UTC MAIN commitmail json YAML

update config.h to the new version and enable DHCPv6

(spz)

2014-07-12 19:48:24 UTC MAIN commitmail json YAML

2014-07-12 19:46:22 UTC MAIN commitmail json YAML

2014-07-12 19:44:00 UTC MAIN commitmail json YAML

Remove pointless function indirection through panic_func(). It was
initialized to one thing, and then set to another right at the top of
main and never changed again.

(dholland)

2014-07-12 19:21:48 UTC MAIN commitmail json YAML

Include sparc_v8 library into sparc64 32-bit compat libc library.

(nakayama)

2014-07-12 19:11:57 UTC MAIN commitmail json YAML

Use save instruction to set up a local stack frame.

This fixes a segmentation fault caused by bash 4.3 on sparc64
kernels with 32-bit userland, bash uses _setjmp/_longjmp heavyly
via sigsetjmp/siglongjmp since 4.3.

For 32-bit compat library which is compiled with -mcpu=ultrasparc
option (and define __sparc_v9__), use a similar code to 64-bit
library.

(nakayama)

2014-07-12 16:52:57 UTC MAIN commitmail json YAML

Initialise status to avoid -Wuninitialized warning.

(alnsn)

2014-07-12 16:13:57 UTC MAIN commitmail json YAML

Some small changes: add missing error checks; move sjump initialisation away
from optimize(); +BJ_HINT_PKT, -BJ_HINT_IND; tweak comments.

(alnsn)