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 (3h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

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

2014-05-02 03:05:41 UTC MAIN commitmail json YAML

struct device * -> device_t

(hkenken)

2014-05-01 18:43:45 UTC MAIN commitmail json YAML

2014-05-01 18:37:26 UTC MAIN commitmail json YAML

Add -fno-asynchronous-unwind-tables -fno-exceptions to gcc builds.
One of these (probably the first) is needed to stop the eh-frame
section being created.
The eh_frame section is loadable and bloats the boot images.
This might be enough to make pxeboot work.

(dsl)

2014-05-01 18:08:47 UTC MAIN commitmail json YAML

Reduce a number of getsecs() calls in le_get() to make netboot a bit faster.

(tsutsui)

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

Tweak some DRM GEM page indexing crap.

- Fix order of subtraction in drm_mmap_paddr_locked.
- Address GEM objects' pages from 0, not from the mmap cookie.
- Check page alignment earlier in mmap code paths.
- Sprinkle kasserts throughout.

Still doesn't fix the garbage that is sometimes being scribbled all
over kernel memory!

(riastradh)

2014-05-01 14:37:36 UTC MAIN commitmail json YAML

Clear only the requested range in gen6_ggtt_clear_range.

Sprinkle kasserts throughout i915_gem_gtt.c.

(riastradh)

2014-05-01 03:46:11 UTC MAIN commitmail json YAML

2014-05-01 03:07:50 UTC MAIN commitmail json YAML

First argument of vchiq_log_info is the log level, not a boolean.

(joerg)

2014-05-01 00:03:01 UTC MAIN commitmail json YAML

acpica-20140424 out.

(wiz)

2014-04-30 21:15:07 UTC MAIN commitmail json YAML

pmap_is_current might be unused, tag it as such.

(joerg)

2014-04-30 21:04:58 UTC MAIN commitmail json YAML

Most CPUs implement shifts modulo the width, but ARM doesn't. Don't
depend on this UB.

(joerg)

2014-04-30 21:04:21 UTC MAIN commitmail json YAML

Annotate dependencies.

(joerg)

2014-04-30 17:51:53 UTC MAIN commitmail json YAML

Add and enable sti(4) at sgc in install kernels for 425e.

Tested on both serial console and framebuffer console.
(switched by the service switch on the back panel)

(tsutsui)

2014-04-30 17:24:20 UTC MAIN commitmail json YAML

2014-04-30 17:23:45 UTC MAIN commitmail json YAML

Do not use native off_t type under compat netbsd32, but a new
netbsd32_off_t that provide the expected alignment for 64bit types.

(njoly)

2014-04-30 15:53:09 UTC MAIN commitmail json YAML

Probe mcclock only on 425e to avoid an extra "not configured" message.

(tsutsui)

2014-04-30 12:35:55 UTC MAIN commitmail json YAML

Bugfix from upstream:

commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b
Author: James Cloos <cloos@jhcloos.com>
Date:  Tue Sep 17 12:50:42 2013 -0400

    nls/en_US.UTF-8/Compose.pre: Fix typo.

    Fix typo added in 215ce6a67863, s/actute/acute/.

    Fixes bug #69476.  Reported by Jean Krohn.

    Signed-off-by: James Cloos <cloos@jhcloos.com>

(wiz)

2014-04-30 11:51:51 UTC MAIN commitmail json YAML

Fix compat netbsd32 syscall return values display by calling
output_long() instead of printf().

(njoly)

2014-04-30 05:41:30 UTC netbsd-5 commitmail json YAML

Add missing newlines.

(msaitoh)

2014-04-30 05:38:32 UTC netbsd-6 commitmail json YAML

Add missing newlines.

(msaitoh)

2014-04-30 02:04:11 UTC MAIN commitmail json YAML

fix munged patch: xcompilation on linux/non-arm systems -> netbsd/arm works again.

(dogcow)

2014-04-30 01:59:30 UTC MAIN commitmail json YAML

2014-04-30 01:33:51 UTC MAIN commitmail json YAML

2014-04-30 01:33:11 UTC MAIN commitmail json YAML

2014-04-30 01:02:40 UTC MAIN commitmail json YAML

Add common support for bringing devices out of reset or enabling their clocks
to device_register.  Add code to switch USB to host mode.

(matt)

2014-04-30 01:01:47 UTC MAIN commitmail json YAML

Add some MT7620 support.

(matt)

2014-04-30 01:01:04 UTC MAIN commitmail json YAML

2014-04-30 00:58:54 UTC MAIN commitmail json YAML

Localize the bsentry ubootimage kludge needed for the CPMBR1400
doesn't spread beyong the CPMBR1400.

(matt)

2014-04-30 00:54:47 UTC MAIN commitmail json YAML

Remove cfg1 manip, moved elsewhere.
Use aprintf_normal_dev for some debug printfs

(matt)

2014-04-30 00:53:31 UTC MAIN commitmail json YAML

Fix a few more register definitions.

(matt)

2014-04-30 00:52:49 UTC MAIN commitmail json YAML

Instead of
mainbus0 (root): Ralink System Bus
be more explicit about the system:
mainbus0 (root): Mediatek MT7620 System Bus

(matt)

2014-04-30 00:51:26 UTC MAIN commitmail json YAML

2014-04-30 00:51:01 UTC MAIN commitmail json YAML

Add a static bus_space_handle_t for the core (sysctl) registers.

(matt)

2014-04-30 00:09:29 UTC MAIN commitmail json YAML

avoid divide by zero when setting 'hz' low.

(mrg)

2014-04-29 23:18:53 UTC MAIN commitmail json YAML

2014-04-29 18:47:22 UTC MAIN commitmail json YAML

Disable options NVNODE, NBUF and BUFPAGES in the RAMDISK kernel.

These options were specified in the INSTALL kernel for 4MB machines,
but nowadays even the INSTALL kernel would not boot on such machines
and the RAMDISK kernel assumes the target machine has more memories.
Furthermore, these options makes extracting binary sets much slower
and also could cause "wapbl_register_deallocation: out of resources"
panic during extracting binaries into a 32GB SSD with 4KB fragments.

Should be pulled up to netbsd-6* branches.

(tsutsui)

2014-04-29 18:38:27 UTC MAIN commitmail json YAML

Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.

On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4).  In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)

Should be pulled up to all netbsd-6* branches.

(tsutsui)

2014-04-29 17:24:11 UTC MAIN commitmail json YAML

2014-04-29 17:21:24 UTC MAIN commitmail json YAML

Stub for PCI/PCIe support for RT3883/MT7620

(matt)

2014-04-29 17:10:07 UTC MAIN commitmail json YAML

Clean these up and move some defines to ralink_reg.h

(matt)

2014-04-29 17:09:17 UTC MAIN commitmail json YAML

More MT7620 definitions

(matt)

2014-04-29 16:47:10 UTC MAIN commitmail json YAML

2014-04-29 11:52:51 UTC MAIN commitmail json YAML

Revert previous for now; resolvepath() has to work for file paths too.

(uebayasi)

2014-04-29 11:16:25 UTC MAIN commitmail json YAML

return a match score >1 to beat out genfb if present

(macallan)

2014-04-29 10:56:39 UTC MAIN commitmail json YAML

2014-04-29 10:55:02 UTC MAIN commitmail json YAML

Added Planex GW-USFang300 entry.

(nonaka)

2014-04-29 09:58:18 UTC MAIN commitmail json YAML

2014-04-29 09:56:16 UTC MAIN commitmail json YAML

Refactor a little to remove huge indents.

(uebayasi)

2014-04-29 09:42:51 UTC MAIN commitmail json YAML

Split huge monolithic functions for readability.

(uebayasi)

2014-04-29 08:40:58 UTC MAIN commitmail json YAML

write all SX commands to 64bit-aligned addresses
now this works on rev. 27 hardware

(macallan)

2014-04-29 08:11:46 UTC MAIN commitmail json YAML

Specify both -march=68030 and -mcpu=68030 for assembler files here
as well.

(martin)

2014-04-29 06:51:57 UTC MAIN commitmail json YAML

resolvepath: Resolve .. in absolute paths.

(uebayasi)

2014-04-29 06:29:02 UTC MAIN commitmail json YAML

2014-04-29 01:21:02 UTC MAIN commitmail json YAML

2014-04-28 22:59:49 UTC MAIN commitmail json YAML

2014-04-28 21:56:20 UTC MAIN commitmail json YAML

2014-04-28 19:09:29 UTC MAIN commitmail json YAML

Makefile glue to build libgnuefi; similar to libsa or libkern.

(jakllsch)

2014-04-28 16:06:47 UTC netbsd-5-2 commitmail json YAML

2014-04-28 16:05:37 UTC netbsd-5-2 commitmail json YAML

Pull up the following revisions(s) (requested by maxv in ticket #1901):
sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch
sys/coda/coda_vfsops.c: revision 1.81
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch
sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch
sys/fs/udf/udf_vfsops.c: revision 1.67
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/kern/vfs_syscalls.c: revision 1.479
sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/nfs/nfs_vfsops.c: revision 1.227
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/ufs/mfs/mfs_vfsops.c: revision 1.107

Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.

(sborrill)

2014-04-28 16:04:09 UTC netbsd-5-1 commitmail json YAML

2014-04-28 16:03:16 UTC netbsd-5-1 commitmail json YAML

Pull up the following revisions(s) (requested by maxv in ticket #1901):
sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch
sys/coda/coda_vfsops.c: revision 1.81
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch
sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch
sys/fs/udf/udf_vfsops.c: revision 1.67
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/kern/vfs_syscalls.c: revision 1.479
sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/nfs/nfs_vfsops.c: revision 1.227
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/ufs/mfs/mfs_vfsops.c: revision 1.107

Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.

(sborrill)

2014-04-28 15:41:15 UTC MAIN commitmail json YAML

use the same for the route metrics part, both in the sysctl and kmem paths.
From Takahiro HAYASHI

(christos)

2014-04-28 13:39:23 UTC MAIN commitmail json YAML

2014-04-28 08:47:43 UTC MAIN commitmail json YAML

Tune COPTS for alpha

(martin)

2014-04-28 08:46:35 UTC MAIN commitmail json YAML

Tune COPTS for alpha

(martin)

2014-04-28 08:34:16 UTC MAIN commitmail json YAML

Skip the curtain test case if curtain is not enabled and we would not
be able to restore it to its old value later due to running at securelevel
above 0.
Previously this would fail and leave curtain enabled untill next reboot (but
causing further runs of the test to suceed, just to maximize confusion).
This went unnoticed initial since most modular test kernels run with options
INSECURE to allow exercising the kernel module loader.

(martin)

2014-04-27 21:45:53 UTC MAIN commitmail json YAML

reformat line so webpage parser updates correctly

(pettai)

2014-04-27 20:43:19 UTC MAIN commitmail json YAML

Exynos4's MCT doesn't interrupt on the MCT_LTIMER interrupt but on the
IRQ_G0_IRQ and/or the IRQ_MCT_G{0,1,2,3}. The later are not chosen yet since
they are behind the interrupt combiner.

Confirmed that it indeed calls hardclock() at the specified intervals.

(reinoud)

2014-04-27 20:22:46 UTC MAIN commitmail json YAML

We can't use IPL_SERIAL here, since it would mean its the same as IPL_HIGH
which panics the armgic's assertion.

In practice i dont think this will hurt since even the small queues are
relatively big.

(reinoud)

2014-04-27 16:30:09 UTC MAIN commitmail json YAML

2014-04-27 16:28:21 UTC MAIN commitmail json YAML

unsprinkle const to fix clang build.  mmm, travis ci

(pooka)

2014-04-27 16:22:13 UTC MAIN commitmail json YAML

When dealing with the PMR register, only use non-secure priority values.

(matt)

2014-04-27 15:26:05 UTC MAIN commitmail json YAML

Remove LD_DYNAMIC_WEAK whine, by large it's not necessary anymore.

(pooka)

2014-04-27 15:19:00 UTC MAIN commitmail json YAML

weak alias removal implication: rumpuser_dl_globalsym() can now sleep
with the fishes.

(pooka)

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

Eliminate weak symbols from rump kernel syscall handlers, part 7:

Build component constructors which establish syscalls at boottime.

(pooka)

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

Eliminate weak symbols from rump kernel syscall handlers, part 6:

Generate component constructors which establish non-modular syscalls.

(pooka)

2014-04-27 15:11:23 UTC MAIN commitmail json YAML

2014-04-27 15:08:52 UTC MAIN commitmail json YAML

Eliminate weak symbols from rump kernel syscall handlers, part 4:

Do not query system call handlers by using the rumpuser_dl_globalsym()
hypercall -- it will not work in environments which are not in control
of their own symbols (e.g. rumpuser-xen).  Instead, provide
rump_syscall_boot_establish(), which component constructors can use
to establish their non-modular syscalls.

(pooka)

2014-04-27 15:05:30 UTC MAIN commitmail json YAML

Eliminate weak symbols from rump kernel syscall handlers, part 3:

Add a tool to autogenerate callbacks from components to establish system
call handlers for non-modular syscalls.

(pooka)

2014-04-27 14:50:23 UTC MAIN commitmail json YAML

Eliminate weak symbols from rump kernel syscall handlers, part 2:

Generate a file (rump.sysmap) which can be used to autogenerate the
syscall loaders.  The file contains syscall handler names and numbers.

Also store "libc" side syscall names in rump.sysmap to help with
the rumprun build process.

(pooka)

2014-04-27 14:29:53 UTC MAIN commitmail json YAML

Eliminate weak symbols from rump kernel syscall handlers, part 1:

Initialize all non-modular syscalls to enosys and expect them to be
filled at boottime.  Do not create the now-unnecessary weak aliases.

Modular syscalls work as before.

(pooka)

2014-04-26 23:17:38 UTC MAIN commitmail json YAML

Use the return address register from the CIE. Based on patch from Nick
Kledzik.

(joerg)

2014-04-26 22:38:09 UTC MAIN commitmail json YAML

Don't use inline in C sources, it will certainly not work correctly with
a C99 compiler.

(joerg)

2014-04-26 22:10:40 UTC MAIN commitmail json YAML

Avoid enum type mismatch.

(joerg)

2014-04-26 20:26:26 UTC MAIN commitmail json YAML

2014-04-26 20:25:07 UTC MAIN commitmail json YAML

Fix typo in previous.

(wiz)

2014-04-26 20:15:48 UTC MAIN commitmail json YAML

2014-04-26 18:53:21 UTC MAIN commitmail json YAML

Include bsd.own.mk (hi pooka)

(christos)

2014-04-26 16:30:05 UTC MAIN commitmail json YAML

Ensure pool_head is non static - for "vmstat -i"

(abs)

2014-04-26 14:55:43 UTC MAIN commitmail json YAML

Replace cpu_relax() by DELAY(1) or DELAY(1000) to wait us/ms.

(riastradh)

2014-04-26 14:15:08 UTC MAIN commitmail json YAML

Increase alignement of the global "buf" variable to cover all pointers it
is casted too. Fixes a crash on arm v5.

(martin)

2014-04-26 13:23:49 UTC MAIN commitmail json YAML

Provide proper alignement for "buf" - it is casted to a struct fs pointer,
so it requires the same alignement.
Fixes crashes on armv5.

(martin)

2014-04-26 11:23:56 UTC MAIN commitmail json YAML

don't invade the __toolchain namespace

(pooka)

2014-04-26 11:23:03 UTC MAIN commitmail json YAML

Move a few stubs to where they really belong; allows us to create
them as strong instead of weak symbols.

(pooka)

2014-04-26 11:17:55 UTC MAIN commitmail json YAML

2014-04-26 11:16:22 UTC MAIN commitmail json YAML

Decouple sockets linkage from interface code by making ifioctl() a pointer.

(pooka)

2014-04-26 11:10:10 UTC MAIN commitmail json YAML

It's been > 20years since rtioctl() did something.  Let's just
remove that special way of returning EOPNOTSUPP.

(pooka)

2014-04-26 07:53:41 UTC MAIN commitmail json YAML

Bump versions to denote recent 425e related changes.

(tsutsui)

2014-04-26 07:32:57 UTC MAIN commitmail json YAML

2014-04-26 07:32:26 UTC MAIN commitmail json YAML

add some new Attansic ethernet devices (but no driver)

(mrg)

2014-04-25 23:54:59 UTC MAIN commitmail json YAML

2014-04-25 20:17:28 UTC MAIN commitmail json YAML

If we don't find any label, default partition a to full disk size
and type 4.2BSD (like most other architectures and everything using MBR
does).

(martin)

2014-04-25 19:56:01 UTC MAIN commitmail json YAML

cpu_reboot() is more of an emul.c thing than a rump.c thing

(pooka)

2014-04-25 19:07:55 UTC MAIN commitmail json YAML

Fix hot-plug with small patch from upstream before a full update.

(riastradh)

2014-04-25 19:02:51 UTC MAIN commitmail json YAML

Take the console only from vga or generic genfb.

Adapted from a patch by nonaka@ in PR 48705.

While here, attach i915 genfb earlier as in PR 48706.

(riastradh)

2014-04-25 18:38:54 UTC MAIN commitmail json YAML

Adapt Linux i915 wait_for to use DELAY so it works while cold.

Adapted from a patch by nonaka@ in PR 48706.

(riastradh)

2014-04-25 18:37:38 UTC MAIN commitmail json YAML

Apparently clang pretends to be gcc 4.2 but is secretly much awesomer
than gcc 4.2, so enable the stpncpy() wrapper also for clang.

(pooka)

2014-04-25 18:31:35 UTC MAIN commitmail json YAML

2014-04-25 18:25:52 UTC MAIN commitmail json YAML

2014-04-25 18:25:38 UTC MAIN commitmail json YAML

2014-04-25 18:13:59 UTC MAIN commitmail json YAML

2014-04-25 18:10:21 UTC MAIN commitmail json YAML

Reassign copyright to TNF.

(riastradh)

2014-04-25 18:07:29 UTC MAIN commitmail json YAML

Fix include order.

(riastradh)

2014-04-25 18:04:45 UTC MAIN commitmail json YAML

Correct type of i in execve_dovmcmds.  Fixes DEBUG_EXEC build.

(riastradh)

2014-04-25 17:50:28 UTC MAIN commitmail json YAML

2014-04-25 17:50:01 UTC MAIN commitmail json YAML

create multi-inclusion protectors; some compilers don't like duplicate typedefs

(pooka)

2014-04-25 15:54:12 UTC MAIN commitmail json YAML

whoops, remove testing printf

(pooka)

2014-04-25 15:52:45 UTC MAIN commitmail json YAML

Remove pollsock().  Since it took only a single socket, it was essentially
a complicated way to call soreceive() with a sb_timeo.  The only user
(netsmb) already did that anyway, so just had to delete the call to
pollsock().

(pooka)

2014-04-25 15:51:13 UTC MAIN commitmail json YAML

2014-04-25 15:50:39 UTC netbsd-5 commitmail json YAML

2014-04-25 15:49:17 UTC MAIN commitmail json YAML

2014-04-25 15:43:51 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by maxv in ticket #1901):
sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch
sys/coda/coda_vfsops.c: revision 1.81
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch
sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch
sys/fs/udf/udf_vfsops.c: revision 1.67
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/kern/vfs_syscalls.c: revision 1.479
sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/nfs/nfs_vfsops.c: revision 1.227
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/ufs/mfs/mfs_vfsops.c: revision 1.107

Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.

(sborrill)

2014-04-25 15:18:06 UTC MAIN commitmail json YAML

Don't lock an already locked vnode.

(pooka)

2014-04-25 13:20:45 UTC MAIN commitmail json YAML

2014-04-25 13:13:26 UTC MAIN commitmail json YAML

g/c no longer necessary weak alias

(pooka)

2014-04-25 13:11:47 UTC MAIN commitmail json YAML

2014-04-25 13:10:42 UTC MAIN commitmail json YAML

Move the etfs linkage from rumpvfs to rumpkern, and replace the
weak alias show with an honest pointer indirection.

No client-visible change. (apart from this version working e.g.
on musl w/ dlopen)

(pooka)

2014-04-25 13:07:31 UTC MAIN commitmail json YAML

Automatogically create a function pointer type for each interface.

(pooka)

2014-04-25 12:20:12 UTC MAIN commitmail json YAML

pretend to handle the poll return value for -Wunused-but-set

(pooka)

2014-04-25 12:11:27 UTC MAIN commitmail json YAML

2014-04-25 11:49:17 UTC MAIN commitmail json YAML

Remove old HAVE_SUN_LD compat handling, it was there long enough.

(pooka)

2014-04-25 11:06:52 UTC MAIN commitmail json YAML

Pull up upstream revision 209789: remove the *ashlsi3_extend pattern.
This fixes gcc [Bug target/60941] and resolves a firefox crash for me.

(martin)

2014-04-25 00:26:16 UTC MAIN commitmail json YAML

2014-04-25 00:24:40 UTC MAIN commitmail json YAML

2014-04-25 00:23:26 UTC MAIN commitmail json YAML

don't apply "ptyfsoldnodes" if /dev/pts does not exist, even if ptyfs
is listed in /etc/fstab.  without this, postinstall happily removes
all your ptys leaving you with none at all.  return an error if we
have ptyfs in /etc/fstab, but no /dev/pts.

(mrg)

2014-04-25 00:17:48 UTC MAIN commitmail json YAML

CPPFLAGS for rump_private.h

(pooka)

2014-04-24 23:49:40 UTC MAIN commitmail json YAML

Fix volume name (Ed Maste)

(christos)

2014-04-24 21:46:45 UTC MAIN commitmail json YAML

2014-04-24 20:12:56 UTC MAIN commitmail json YAML

Wrap stpncpy() iff GNUC_PREREQ(4,8).  Fixes USE_SSP=yes builds
with gcc 4.5.

(pooka)

2014-04-24 19:23:00 UTC MAIN commitmail json YAML

Explain what is going on with the 64 bit atomic ops, and restore them
for pure kernel use.

(christos)

2014-04-24 18:43:02 UTC MAIN commitmail json YAML

PR/48426: Dimitris Karagkasidis: Convert to sized, unsigned types.
Ideally we could use uint64_t, but for compatibility and performance
we don't (for now)

(christos)

2014-04-24 18:40:36 UTC MAIN commitmail json YAML

PR/48426: Dimitris Karagkasidis: Make nfsstat use unsigned numbers.

(christos)

2014-04-24 17:22:42 UTC MAIN commitmail json YAML

Pass a file pointer to write data instead of writing to stdout.
No functional change.

(christos)

2014-04-24 14:57:37 UTC MAIN commitmail json YAML

note kerberos(8) update

(pettai)

2014-04-24 14:56:29 UTC MAIN commitmail json YAML

The sysctl code does not support verbose route printing that prints the
internal route statistics. Restore the old kmem route printing code that
was not just used for post-mortem displays. Reported by kardel@, test by
netstat -nrvf inet

(christos)

2014-04-24 14:54:51 UTC MAIN commitmail json YAML

2014-04-24 14:49:44 UTC MAIN commitmail json YAML

remove duplicate resolve_free_handle(handle);

(pettai)

2014-04-24 13:50:53 UTC MAIN commitmail json YAML

2014-04-24 13:45:35 UTC MAIN commitmail json YAML

Import latest heimdal-1-5-branch, merge conflicts

Ok'ed and reviewed by elric@

(pettai)

2014-04-24 12:10:27 UTC MAIN commitmail json YAML

Pull random notes on the Apollo Domain keyboard from ancient PR/3528.

(tsutsui)

2014-04-24 12:04:28 UTC MAIN commitmail json YAML

Make sleepq_wake() type void.  The return value hasn't been used in
almost 6 years.  Even if it were, returning an arbitrary lwp is a bit
of a wonky interface and can really work only when expected == 1.

(pooka)

2014-04-24 11:58:04 UTC MAIN commitmail json YAML

Make the Apollo Domain keyboard actually work.

Tested on HP9000/425e and the keyboard model A1630-82001 R2 (RX-60857-HW)
provided by Miod Vallat.  Mouse support needs more work.

(tsutsui)

2014-04-24 11:56:11 UTC MAIN commitmail json YAML

in sleepq_wake(), honor the "expected" parameter

(pooka)

2014-04-24 03:00:10 UTC MAIN commitmail json YAML

space -> tab conversion

(jnemeth)

2014-04-24 00:14:59 UTC MAIN commitmail json YAML

allow use with linkers that don't support --warn-shared-textrel
(Solaris, OpenBSD)

(pooka)

2014-04-23 23:25:45 UTC MAIN commitmail json YAML

Add a RUMP_USE_CTOR compile-time switch.  If defined, use
__attribute__((constructor)) to determine which rump kernel components
and kernel modules are linked into the rump kernel.  If not defined
(default), use the regular approach with link sets.

This option is aimed to fix problems with toolchains where using link
sets is not possible because the linker does not generate the requisite
__start/__stop symbols for the link set sections (e.g. GNU gold, OS X, ...).

(pooka)

2014-04-23 23:17:22 UTC MAIN commitmail json YAML

add a mask for currently valid ETHERCAP flags

(pooka)

2014-04-23 21:53:53 UTC MAIN commitmail json YAML

matt@ did the real work for the Beaglebone, so credit him properly.

My memory misled me when I added this entry the other day.

(riastradh)

2014-04-23 21:34:17 UTC MAIN commitmail json YAML

Avoiding arithmetic on void * need not be NetBSD-specific.

(riastradh)

2014-04-23 20:57:15 UTC MAIN commitmail json YAML

Fix a logic inversion introduced with the matt-nb5-mips64 for
pmap_{zero,copy}_page cache alias handing. The check previously used
PG_MD_UNCACHED_P, where it now uses PG_MD_CACHED_P, when considering if
a cache invalidation is required.

Additionally flush the cache for the uarea va to avoid potential (future)
cache aliases in cpu_uarea_free when handing pages back to uvm for later
use.

ok matt@

Hopefully this addresses the instability reported in the following PRs:

PR/44900 - R5000/Rm5200 mips ports are broken
PR/46170 - NetBSD/cobalt 6.0_BETA does not boot
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-04-23 17:05:18 UTC MAIN commitmail json YAML

domains are attached by module(-like) constructors, so no need to
play link_set games with them.

(pooka)

2014-04-23 16:54:21 UTC MAIN commitmail json YAML

rev. 27 SX needs memory referencing instructions written to 64bit aligned
addresses ( my rev. 25 just ignores the lower 3 bits )
so, we zero these bits now

(macallan)

2014-04-23 16:17:55 UTC MAIN commitmail json YAML

Include LIST_ENTRY() in "struct rump_component".

Main benefit: rump_component_load() can now be called from an
early-running constructor since the routine doesn't need to allocate
memory.

(pooka)

2014-04-23 09:06:57 UTC MAIN commitmail json YAML

if a device is marked as BS_EARLY but no driver is present don't panic()
when the device is also BS_OPTIONAL
now kernels without the sx driver will boot again on hardware that has SX

(macallan)

2014-04-23 07:34:30 UTC MAIN commitmail json YAML

Enable pseudo-device ipfilter.

(msaitoh)

2014-04-23 07:04:01 UTC MAIN commitmail json YAML

2014-04-23 06:53:14 UTC MAIN commitmail json YAML

move mcp23s17gpio.4 to MI SPI drivers section

(kardel)

2014-04-22 22:23:43 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2014-04-22 21:37:52 UTC MAIN commitmail json YAML

Fixed mkbootimage for 64-bit architectures. Now I can create a working
BeBox boot.fs under NetBSD/amd64.

(phx)

2014-04-22 19:27:17 UTC MAIN commitmail json YAML

The kernel uses 64 bit atomic ops.

(christos)

2014-04-22 19:01:47 UTC MAIN commitmail json YAML

Fix a read-beyond-end string read.

coredump_buildname() copies 'pattern' into 'name', and handles special
characters such as "%n". "%n", if present, will be replaced by p->p_comm.

error = coredump_buildname(p, name, pattern, MAXPATHLEN);

This function handles overflows, and returns an error when 'name' becomes
larger than MAXPATHLEN. However, when coredump() calls it, 'name' is used
before the error check, with:

lastslash = strrchr(name, '/');

'name' is not guaranteed to be NUL-terminated, because of the *d = *s in
coredump_buildname(). This strrchr will read a string which is not NUL-
terminated (ie. until finding a '\0' in memory).

'pattern' can't be higher than MAXPATHLEN. A user can fill it in via a
PT_DUMPCORE ptrace call, given the input is not longer than MAXPATHLEN.
Since the 2-bytes-sized "%n"s will be replaced by p->p_comm (which is
user-settable, like a 10-bytes-sized "0123456789"), 'name' can become
longer than 'pattern' (and thus longer than MAXPATHLEN). Some 'a's at the
end of the buffer will make sure 'name' is not NUL-terminated.

    pattern: "%n%n%naaaaaaaaaaaaaaaaaaaaaaaaaaaa\0"
              | | | |||||||||||||||||||||||||||||
  ->  name: "012345678901234567890123456789aaaaa" [no \0]
              |        |        |        |||||MAXPATHLEN

Fix it by checking 'error' before calling strrchr.

(maxv)

2014-04-22 18:51:35 UTC MAIN commitmail json YAML

2014-04-22 16:10:48 UTC MAIN commitmail json YAML

Add the missing mpcaa_memh to reflect the correct offset.

The offsets are not actually used now on matt's request.

(reinoud)

2014-04-22 16:08:24 UTC MAIN commitmail json YAML

Missing EOL at end of file

(reinoud)

2014-04-22 16:06:27 UTC MAIN commitmail json YAML

Adjust the GIC offset to match the linux dts

(reinoud)

2014-04-22 15:55:16 UTC MAIN commitmail json YAML

2014-04-22 15:49:14 UTC MAIN commitmail json YAML

Also fix the apci device address in dnkbd.c as apci.c rev 1.12:

http://mail-index.netbsd.org/source-changes/2014/04/10/msg053940.html

Finally dnkbd(4) is confirmed working at least on bootloader.
Thanks again to Miod Vallat.

(tsutsui)

2014-04-22 15:27:50 UTC MAIN commitmail json YAML

2014-04-22 15:12:52 UTC MAIN commitmail json YAML

2014-04-22 15:12:35 UTC MAIN commitmail json YAML

make compilable from the kernel

(christos)

2014-04-22 15:02:38 UTC MAIN commitmail json YAML

Add fake atomic 64 ops for those who don't have them.
XXX: used to be arm, now it is also i386.

(christos)

2014-04-22 14:20:04 UTC MAIN commitmail json YAML

Remove stray comment.

(skrll)

2014-04-22 14:09:19 UTC MAIN commitmail json YAML

we don't really have 64 bit atomic ops.

(christos)

2014-04-22 14:07:31 UTC MAIN commitmail json YAML

heimdal's git (master/origin) has moved to github

(pettai)

2014-04-22 14:00:45 UTC MAIN commitmail json YAML

Call pmap_free_l2_bucket for the kernel pmap so that l2b_occupancy is
updated. pmap_free_l2_bucket already deals with the kernel pmap properly.

ok matt@

Should fix the

panic: kernel debugging assertion "mappings <= l2b->l2b_occupancy" failed:
file "/usr/src/sys/arch/arm/arm32/pmap.c", line 3838

problem reported on port-arm by Joachim Thiemann

(skrll)

2014-04-22 13:23:36 UTC MAIN commitmail json YAML

2014-04-22 13:20:58 UTC MAIN commitmail json YAML

2014-04-22 12:13:09 UTC MAIN commitmail json YAML

Fix a format string to actually print the prot

(skrll)

2014-04-22 06:02:06 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2014-04-22 05:32:55 UTC MAIN commitmail json YAML

Swap spaces to tab on second line (so netbsd.org/changes updates correctly)

(pettai)

2014-04-22 03:28:56 UTC netbsd-6 commitmail json YAML

2014-04-22 03:26:21 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1036):
lib/libc/net/sethostent.c: revision 1.20
fix memory leak
XXX: pullup 6

(msaitoh)

2014-04-22 02:23:03 UTC MAIN commitmail json YAML

Add optional method for specifying protocol as part of the service
option.  This is similar to how the port number and protocol name are
specified in services(5).

(ginsbach)

2014-04-21 22:40:00 UTC MAIN commitmail json YAML

Revert previous and fix correctly.  Thanks, joerg

(pgoyette)

2014-04-21 21:57:03 UTC MAIN commitmail json YAML

Put back MKLINT=no for now
    - unnamed unions [c99]
    - __builtin_offsetof [gcc]
    - typeof [gcc]

(christos)

2014-04-21 21:52:24 UTC MAIN commitmail json YAML

2014-04-21 21:04:27 UTC netbsd-6-0 commitmail json YAML

2014-04-21 21:04:25 UTC netbsd-6-1 commitmail json YAML

2014-04-21 21:04:21 UTC netbsd-6 commitmail json YAML

2014-04-21 21:03:53 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1051):
sys/compat/linux/common/linux_exec_elf32.c: revision 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@

(bouyer)