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:13 UTC Now

2015-11-30 01:31:02 UTC MAIN commitmail json YAML

Factor the basic dependency list out of the #ifdef _KERNEL_OPT block, since
the only difference was ksem (which is available as either built-in or
loadable module).

(pgoyette)

2015-11-29 23:38:47 UTC MAIN commitmail json YAML

2015-11-29 21:38:10 UTC MAIN commitmail json YAML

Drop trailing whitespace.

(wiz)

2015-11-29 21:36:35 UTC MAIN commitmail json YAML

2015-11-29 19:52:03 UTC MAIN commitmail json YAML

Page align KERNEL_BASE_{PHYS,VIRT} and fix boot on my BPI after the XN
fix.

(skrll)

2015-11-29 19:16:58 UTC MAIN commitmail json YAML

Fix A9 periph clock when selecting frequencies below 1200MHz. Remove
frequencies below 312MHz as they require special handling. We can now
choose between 1536 1488 1320 1200 1008 816 720 600 504 408 312.

(jmcneill)

2015-11-29 17:09:33 UTC MAIN commitmail json YAML

2015-11-29 16:52:00 UTC MAIN commitmail json YAML

Retire CPUFREQ option, instead just pick the highest available frequency
at boot. Update the list of supported frequencies to match the list of dvfs
frequencies from the meson8b dts, capped at 1.5GHz. The highest available
frequency is changed from 1512MHz to 1536MHz.

(jmcneill)

2015-11-29 15:58:07 UTC MAIN commitmail json YAML

Bump date for previous

(kamil)

2015-11-29 15:32:46 UTC MAIN commitmail json YAML

Remove getdisksize support; we either have the ioctls (current/-7) or we
don't (non-netbsd-current/7+tools).

(christos)

2015-11-29 15:29:55 UTC MAIN commitmail json YAML

Synchronize SYNOPSIS with reality

(kamil)

2015-11-29 15:26:10 UTC MAIN commitmail json YAML

Remove nonexistent option z: in the getopt(3) call

(kamil)

2015-11-29 14:12:56 UTC MAIN commitmail json YAML

Add the missing cases.

(christos)

2015-11-29 14:12:36 UTC MAIN commitmail json YAML

Add some debugging.

(christos)

2015-11-29 14:03:36 UTC MAIN commitmail json YAML

Do division once

(christos)

2015-11-29 13:46:23 UTC MAIN commitmail json YAML

Only use the ioctl's if we have them.

(christos)

2015-11-29 13:24:28 UTC MAIN commitmail json YAML

fix build breakage for systems that do not have DIOCG{SECTOR,MEDIA}SIZE

(jnemeth)

2015-11-29 11:49:47 UTC nick-nhusb commitmail json YAML

Remove #if 0 / #endif debug code that raced hardware

(skrll)

2015-11-29 09:10:05 UTC MAIN commitmail json YAML

2015-11-29 06:10:01 UTC MAIN commitmail json YAML

Initial documentation of the internal syscalls that implement the librt
posix semaphores.  As requested in PR kern/37427

XXX Feel free to expand this page!

(pgoyette)

2015-11-29 01:40:12 UTC MAIN commitmail json YAML

clean up the header file:

+ put c++ compilation guards around the function prototypes

+ use a typedef so that we're less verbose in the header file

(agc)

2015-11-29 00:34:39 UTC MAIN commitmail json YAML

print the current map type.

(christos)

2015-11-29 00:15:12 UTC MAIN commitmail json YAML

- use snprintf
- fix bogus logic on map_type

(christos)

2015-11-29 00:14:46 UTC MAIN commitmail json YAML

2015-11-28 23:53:48 UTC MAIN commitmail json YAML

Add cross-refs from modload(8) amd modunload(8) to modctl(2)

(pgoyette)

2015-11-28 22:41:36 UTC MAIN commitmail json YAML

When loading the module, if devsw_attach() fails, call dtrace_unload()
to undo the effects of dtrace_load().  And if dtrace_unload() fails,
panic (since we can't get the system back to its earlier stable state).

When unloading the module, call devsw_detach() first, to lock out any
new access.  Then call dtrace_unload().  If dgtrace_unload() fails,
reattach the devsw, and if that fails, panic.

Implements fixes described in PR kern/43032

(pgoyette)

2015-11-28 21:06:31 UTC MAIN commitmail json YAML

Remove bogus dk_getdisklabel call.

- there is no need to read the label in the attach routine
- passing a (dev_t)0 may cause havoc.

This fixes PR 41704.

(mlelstv)

2015-11-28 20:51:36 UTC MAIN commitmail json YAML

Exit hypervisor mode before entering supervisor

The Odroid XU4 is booted in hypervisor mode, probably because it is trust
zone enabled.  Before we can put it in supervisor we must explicitly remove
it from hypervisor.

This change is from Nick, who figured it out and adapted code from FreeBSD
to make the necessary change.

(marty)

2015-11-28 18:08:40 UTC MAIN commitmail json YAML

2015-11-28 15:26:29 UTC MAIN commitmail json YAML

2015-11-28 15:06:55 UTC MAIN commitmail json YAML

If the kernel jumps to NULL, print where it came from instead of trying
to dereference and faulting again.

(dholland)

2015-11-28 14:45:24 UTC MAIN commitmail json YAML

Inherit sector size from underlying disk to support disks with
sector sizes other than 512 bytes.

The CGD disk image depends on disk geometry as it encodes the block
number into each block. You cannot copy an image between disks
with different sector sizes.

(mlelstv)

2015-11-28 14:37:50 UTC MAIN commitmail json YAML

bounds check requires consistent units, i.e. DEV_BSIZE.

(mlelstv)

2015-11-28 14:36:00 UTC MAIN commitmail json YAML

Handle sector sizes other than DEV_BSIZE when reading labels.

(mlelstv)

2015-11-28 14:20:32 UTC MAIN commitmail json YAML

Of course we can always not do something.  Doesn't mean that we "can't"
(or "cannot").  In any case make the messages consistent and move the
period to inside the quotes.

(darcy)

2015-11-28 13:41:31 UTC MAIN commitmail json YAML

sc_size is already measured in sectors.

(mlelstv)

2015-11-28 13:20:03 UTC MAIN commitmail json YAML

2015-11-28 09:25:45 UTC MAIN commitmail json YAML

add details of later (to v4.2) specification versions and
extended feature flags,

(plunky)

2015-11-28 09:04:34 UTC MAIN commitmail json YAML

add version and extended feature flags defined in 4.2 specification,
add cache for page 2 of extended features and return this in
the SIOCGBTFEAT ioctl (no change in size)

(plunky)

2015-11-28 08:57:33 UTC MAIN commitmail json YAML

note recent spec additions to L2CAP Info command regarding fixed channels

(plunky)

2015-11-28 07:50:37 UTC MAIN commitmail json YAML

add in PSMs defined in later versions of specification

(plunky)

2015-11-28 07:47:30 UTC MAIN commitmail json YAML

fix spelling Multiplexor->Multiplexer

(plunky)

2015-11-28 07:46:33 UTC MAIN commitmail json YAML

clean up: remove FreeBSD cvs tags, update URLS, fix spelling
and add in PSMs defined in recent versions of specifications

(plunky)

2015-11-28 03:40:43 UTC MAIN commitmail json YAML

2015-11-28 03:06:46 UTC MAIN commitmail json YAML

Re-work the module init and destroy code to allow it to be unloaded and
then reloaded.

Should fix PR kern/49842

(pgoyette)

2015-11-27 22:02:15 UTC MAIN commitmail json YAML

EXYNOS_CONSOLE_EARLY doesn't belong here

(skrll)

2015-11-27 21:16:17 UTC MAIN commitmail json YAML

Pull in changes from OpenBSD r1.34:
> Fix values of AR9003 Rx queue software indexes. Both indexes were zero,
> which is obviously not intended given how they are used in the ar9003 code.
> No currently working athn(4) devices are affected by this change.

(jmcneill)

2015-11-27 20:59:47 UTC MAIN commitmail json YAML

use commands() instead of target() because assym.mk creates all the targets
unconditionally.

(christos)

2015-11-27 20:33:55 UTC MAIN commitmail json YAML

PR/50483: David A. Holland: fix building of assym.d:

1. use += to add to DEPS
2. move inclusion of rules mk. files before the rules are defined
  so that variables are set.

Now we get on amd64:

mkdep: ignoring acpi_wakeup_low.d: No such file or directory
mkdep: ignoring amd64func.d: No such file or directory
mkdep: ignoring busfunc.d: No such file or directory
mkdep: ignoring copy.d: No such file or directory
mkdep: ignoring cpu_in_cksum.d: No such file or directory
mkdep: ignoring cpufunc.d: No such file or directory

because there are no rules to generate those, but it is harmless.

(christos)

2015-11-27 16:52:32 UTC MAIN commitmail json YAML

Don't use dynamically sized unions, they are a horrible GNUism. Just use
the existing upper limit all the time.

(joerg)

2015-11-27 15:10:32 UTC MAIN commitmail json YAML

Don't pass garbage to parsedate, but do use the return value.

(joerg)

2015-11-27 13:59:40 UTC MAIN commitmail json YAML

2015-11-27 13:51:57 UTC MAIN commitmail json YAML

Shuffle a bit to avoid empty loop body.

(joerg)

2015-11-27 13:51:24 UTC MAIN commitmail json YAML

Left-shift of negative values is UB.

(joerg)

2015-11-27 13:45:17 UTC MAIN commitmail json YAML

Remove shifts of the PSR constants before applying to the trap frame.
Oring 0 doesn't do anything useful.

(joerg)

2015-11-27 13:41:20 UTC MAIN commitmail json YAML

2015-11-27 09:45:03 UTC MAIN commitmail json YAML

Save a whole instruction when KERNEL_BASE_VOFFSET is zero.

(skrll)

2015-11-27 09:43:18 UTC MAIN commitmail json YAML

2015-11-27 09:34:36 UTC MAIN commitmail json YAML

Use __BIT() for some masks to fix the sparc build.
No binary changes.

(martin)

2015-11-27 08:48:25 UTC MAIN commitmail json YAML

Add some KERNEL_BASES_EQUAL improvements from other start.S files.

My ODROID-XU still boots.

(skrll)

2015-11-27 08:43:10 UTC MAIN commitmail json YAML

#ifdef -> #if defined()

No functional change

(skrll)

2015-11-27 07:47:45 UTC MAIN commitmail json YAML

Don't use magic number.

No functional change.

(skrll)

2015-11-27 07:45:58 UTC MAIN commitmail json YAML

Use movw/movt to get EXYNOS_CORE_PBASE (just in case)

(skrll)

2015-11-27 07:44:39 UTC MAIN commitmail json YAML

Use character literals and not decimals.

No functional change.

(skrll)

2015-11-27 06:05:26 UTC MAIN commitmail json YAML

When calling "put" method with R_NOOVERWRITE and we already have that key,
don't add it to the database, just return 1.

(agc)

2015-11-27 03:58:20 UTC MAIN commitmail json YAML

In the "put" function, don't just do a straight INSERT, as the key may
already exist.  Instead, do an sqlite3 UPSERT (ha!) - well, the
nearest thing it has to one anyway. Add a test for this

(agc)

2015-11-27 02:54:22 UTC MAIN commitmail json YAML

Replace __debugused with __diagused

Declaring __debugused was just a mistake. This fixes builds of kernels with
DEBUG but without DIAGNOSTIC.

(ozaki-r)

2015-11-27 00:36:59 UTC MAIN commitmail json YAML

s/pa/busaddr/ in a debug message, we print the actual paddr next.

(mrg)

2015-11-27 00:08:43 UTC MAIN commitmail json YAML

Use device name instead of fixed string "mvpex" for evcnt group.

(nonaka)

2015-11-26 23:44:57 UTC MAIN commitmail json YAML

adjust a bunch of debugging messages to use __func__ and to normalise
newline usage (some sequences ended up printing blank lines.)

(mrg)

2015-11-26 23:31:56 UTC MAIN commitmail json YAML

2015-11-26 23:29:05 UTC MAIN commitmail json YAML

2015-11-26 22:22:44 UTC MAIN commitmail json YAML

remove *all* of my changes to odroid_start.S

(marty)

2015-11-26 21:42:19 UTC MAIN commitmail json YAML

repair conflicts from previous commit

stupid marty checked in version with conflicts. bad marty no donut.

(marty)

2015-11-26 21:27:31 UTC MAIN commitmail json YAML

2015-11-26 19:25:54 UTC MAIN commitmail json YAML

Update now-lying comment.

(dholland)

2015-11-26 17:31:57 UTC MAIN commitmail json YAML

Allow i2cdev to be specified with or without the /dev prefix.
Inspired by and code borrowed from gpioctl(8).

(hubertf)

2015-11-26 17:18:55 UTC MAIN commitmail json YAML

- round available video memory to full scanlines in order to avoid a bug
  in EXA
- use host blits for UploadToScreen() - no more unaligned accesses needed

(macallan)

2015-11-26 16:56:52 UTC MAIN commitmail json YAML

Add an EXAMPLES section to show what 'i2cdev' looks like.
Hint: /dev required!

(hubertf)

2015-11-26 16:27:05 UTC MAIN commitmail json YAML

Move acpimcfg_map_bus() before no-MSI bailout in pci_attach_hook().

(jakllsch)

2015-11-26 16:07:40 UTC MAIN commitmail json YAML

Move today's most common config (WPA) to the front
Add a WPA config with hidden (non-broadcasting) SSID

(hubertf)

2015-11-26 16:03:18 UTC MAIN commitmail json YAML

2015-11-26 15:41:58 UTC MAIN commitmail json YAML

checkflist requires an egrep that honours multiple pattern options, so
use ours. Fixes build on Solaris distributions.

(joerg)

2015-11-26 15:13:43 UTC MAIN commitmail json YAML

Adapt to e_default_mapaddr signature changes

(martin)

2015-11-26 13:17:07 UTC MAIN commitmail json YAML

struct emul::e_vm_default_addr changed signature, welcome to 7.99.22!

(martin)

2015-11-26 13:15:35 UTC MAIN commitmail json YAML

We never exec(2) with a kernel vmspace, so do not test for that, but instead
KASSERT() that we don't.
When calculating the load address for the interpreter (e.g. ld.elf_so),
we need to take into account wether the exec'd process will run with
topdown memory or bottom up. We can not use the current vmspace's flags
to test for that, as this happens too early. Luckily the execpack already
knows what the new state will be later, so instead of testing the current
vmspace, pass the info as additional argument to struct emul
e_vm_default_addr.
Fix all such functions and adopt all callers.

(martin)

2015-11-26 09:48:21 UTC MAIN commitmail json YAML

Sort sections. Mark up NULL. End Bl with El.

(wiz)

2015-11-26 01:41:20 UTC MAIN commitmail json YAML

Fix build dependency of if_llatbl.c

if_llatbl.c is required if inet or inet6 is enabled. Depending on ether
doesn't suit for NDP case.

(ozaki-r)

2015-11-26 01:05:08 UTC MAIN commitmail json YAML

fix memory leaks (from Rin Okuyama)

(christos)

2015-11-26 01:03:22 UTC MAIN commitmail json YAML

Always copy the area buffer, even when the length was the same
(from Rin Okuyama)

(christos)

2015-11-26 01:00:54 UTC MAIN commitmail json YAML

Fix documentation inconsistencies, and add some clarifications (from kre)

(christos)

2015-11-26 01:00:02 UTC MAIN commitmail json YAML

Patch from kre:
- fix missing/inconsistent abbreviations
- set dst only if we are using localtime.
- properly check for errors where there were missing checks
- handle errno properly including saving and restoring.

(christos)

2015-11-26 00:23:04 UTC MAIN commitmail json YAML

ParseTrackInput: do not access beyond end of buffer.

Detected by Address Sanitizer - dim at FreeBSD.org

(sjg)

2015-11-26 00:06:59 UTC MAIN commitmail json YAML

2015-11-25 20:25:20 UTC MAIN commitmail json YAML

2015-11-25 19:13:49 UTC MAIN commitmail json YAML

From PR/50092:
- handle calling _ti_readterm with an existing initialized terminal
- simplify free code
Also:
- fix an inconsistency in userdefs count computation

(christos)

2015-11-25 18:46:59 UTC MAIN commitmail json YAML

We have the max length; use snprintf.

(christos)

2015-11-25 18:46:24 UTC MAIN commitmail json YAML

PR/50092: Rin Okuyama: Fix memory leak.

(christos)

2015-11-25 18:38:22 UTC MAIN commitmail json YAML

2015-11-25 18:02:08 UTC MAIN commitmail json YAML

2015-11-25 18:01:30 UTC MAIN commitmail json YAML

2015-11-25 16:32:20 UTC MAIN commitmail json YAML

Sort options in usage to match man page order.

(wiz)

2015-11-25 16:32:00 UTC MAIN commitmail json YAML

"file system" as two words.

(wiz)

2015-11-25 16:00:10 UTC MAIN commitmail json YAML

2015-11-25 08:39:45 UTC MAIN commitmail json YAML

G/C TEGRAK1_PMAP_WORKAROUND.

Using XN (eXecute Never) properly means speculative reads from devices
aren't done.  Pretty sure this was the cause of the wedges.

(skrll)

2015-11-25 08:36:50 UTC MAIN commitmail json YAML

In the ARM_MMU_EXTENDED case make sure the kernel mappings are marked with
XN (eXecute Never) appropriately.

The XN logic is inconsistent and could do with changing to XN always set
and cleared for VM_PROT_EXECUTE (or the inverse) everywhere.

(skrll)

2015-11-25 08:32:33 UTC MAIN commitmail json YAML

2015-11-25 07:34:49 UTC MAIN commitmail json YAML

Be a bit more paranoid about hijacking (and restoring) syscall function
pointers.  Ensure that we have the correct "old" values before setting
new values, for both "intall" and "deinstall".

XXX This is NOT intended to encourage additional cases of hijacking!  If
XXX some other hijack feature ever gets committed, this code should be
XXX moved to (most likely) kern/kern_syscall.c.

(pgoyette)

2015-11-25 07:06:19 UTC MAIN commitmail json YAML

Declare __debugused for no DIAGNOSTIC kernels

This unbreaks hpcsh GENERIC kernel build.

(ozaki-r)

2015-11-25 06:21:26 UTC MAIN commitmail json YAML

Use lltable/llentry for NDP

lltable and llentry were introduced to replace ARP cache data structure
for further restructuring of the routing table: L2 nexthop cache
separation. This change replaces the NDP cache data structure
(llinfo_nd6) with them as well as ARP.

One noticeable change is for neighbor cache GC mechanism that was
introduced to prevent IPv6 DoS attacks. net.inet6.ip6.neighborgcthresh
was the max number of caches that we store in the system. After
introducing lltable/llentry, the value is changed to be per-interface
basis because lltable/llentry stores neighbor caches in each interface
separately. And the change brings one degradation; the old GC mechanism
dropped exceeded packets based on LRU while the new implementation drops
packets in order from the beginning of lltable (a hash table + linked
lists). It would be improved in the future.

Added functions in in6.c come from FreeBSD (as of r286629) and are
tweaked for NetBSD.

Proposed on tech-kern and tech-net.

(ozaki-r)

2015-11-25 04:04:13 UTC MAIN commitmail json YAML

2015-11-25 04:03:34 UTC MAIN commitmail json YAML

something temporary that will go away once odroid xu4 works

(marty)

2015-11-25 01:20:11 UTC MAIN commitmail json YAML

2015-11-25 01:12:03 UTC MAIN commitmail json YAML

2015-11-25 01:08:34 UTC MAIN commitmail json YAML

2015-11-25 00:50:57 UTC MAIN commitmail json YAML

PR/50360: Thomas Klausner: if MKREPRO is set, provide a consistent timestamp
for the files in the cdroms to be built. For now we copy the timestamp of
<sys/param.h>. We could set an absolute timestamp too like -T 0 for the epoch.

(christos)

2015-11-25 00:48:49 UTC MAIN commitmail json YAML

2015-11-24 23:33:47 UTC MAIN commitmail json YAML

2015-11-24 23:30:04 UTC MAIN commitmail json YAML

2015-11-24 21:11:39 UTC MAIN commitmail json YAML

newer versions of the Bluetooth Core specification state that
service record number values of 0x00000001->0x0000FFFF are
reserved, so comply with that here.

(plunky)

2015-11-24 20:13:12 UTC MAIN commitmail json YAML

kern/50456: Freddy DISSAUX: Fix packets lost with tcpdump.

(christos)

2015-11-24 18:17:37 UTC MAIN commitmail json YAML

Revert previous.  At least AR9280 and AR9285 apparently do not have
working-by-default MSI functionality, despite advertising such.

Fixes PR kern/50465.

(jakllsch)

2015-11-24 17:39:13 UTC netbsd-7 commitmail json YAML

2015-11-24 17:37:16 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #829):
lib/libpthread_dbg/pthread_dbg.c: revision 1.43 (via patch)
lib/libpthread/pthread_int.h: revision 1.91-1.92 (via patch)
lib/libc/stdlib/jemalloc.c: revision 1.37-1.38
lib/libpthread/pthread_tsd.c: revision 1.12-1.14 (via patch)
include/limits.h: revision 1.34 (via patch)
lib/libpthread/pthread.c: revision 1.146-1.147 (via patch)
lib/libpthread/pthread_key_create.3: revision 1.7 (via patch)

libpthread:

Make PTHREAD_KEYS_MAX dynamically adjustable
NetBSD's PTHREAD_KEYS_MAX is set to 256, which is low compared to
other systems like Linux (1024) or MacOS X (512). As a result some
setups tested on Linux will exhibit problems on NetBSD because of
pthread_keys usage beyond the limit. This happens for instance on
Apache with various module loaded, and in this case no particular
developper can be blamed for going beyond the limit, since several
modules from different sources contribute to the problem.
This patch makes the limit conigurable through the PTHREAD_KEYS_MAX
environement variable. If undefined, the default remains unchanged
(256). In any case, the value cannot be lowered below POSIX-mandated
_POSIX_THREAD_KEYS_MAX (128).

While there:
- use EXIT_FAILURE instead of 1 when calling err(3) in libpthread.
- Reset _POSIX_THREAD_KEYS_MAX to POSIX mandated 128, instead of 256.

Fix previous: Can't use calloc/malloc before we complete initialization
of the thread library, because malloc uses pthread_foo_specific, and it will
end up initializing itself incorrectly.

Thanks rump for not letting us use even mmap during initialization.

libc/jemalloc:

Fix non _REENTRANT build.
Defer using pthread keys until we are threaded.
From Christos, fixes PR port-arm/50087 by allowing malloc calls prior
to libpthread initialization.

(martin)

2015-11-24 15:48:23 UTC MAIN commitmail json YAML

fix crash(8) printing of callouts.

(christos)

2015-11-24 14:07:18 UTC MAIN commitmail json YAML

CID 1340063: fix TOCTOU

(christos)

2015-11-24 08:48:25 UTC MAIN commitmail json YAML

2015-11-24 02:37:33 UTC MAIN commitmail json YAML

2015-11-24 01:59:33 UTC MAIN commitmail json YAML

PR/50092: don't leak screen on multiple setterms.

(christos)

2015-11-24 01:05:51 UTC MAIN commitmail json YAML

Add missing /* $NetBSD$ */ keyword

(pgoyette)

2015-11-24 01:01:42 UTC MAIN commitmail json YAML

finish previous - remove no-longer-used variables

(pgoyette)

2015-11-23 23:46:33 UTC MAIN commitmail json YAML

Replace left shifts of negative values with appropiate unsigned values.

(joerg)

2015-11-23 23:45:44 UTC MAIN commitmail json YAML

Cast argument to uint64_t first before shifting to avoid UB for
left-shifting negative values.

(joerg)

2015-11-23 23:28:33 UTC MAIN commitmail json YAML

It is no longer required that the target process be a descendant of the
tracking process.

(pgoyette)

2015-11-23 23:27:38 UTC MAIN commitmail json YAML

Remove the requirement that the target (tracked) process be a descendant
of the tracking process.  The call to kauth() should be sufficient to
address any security concerns.

(pgoyette)

2015-11-23 23:23:25 UTC MAIN commitmail json YAML

Minor rephrasing for English grammar police.

(pgoyette)

2015-11-23 23:00:29 UTC MAIN commitmail json YAML

Include additional info, including potential security consideration.

(pgoyette)

2015-11-23 22:35:28 UTC MAIN commitmail json YAML

2015-11-23 22:34:00 UTC MAIN commitmail json YAML

PR/50344: Stephen Fisher: apropos shows formatting on console with vt100 term
type. Can't print terminfo sequences directly; need to process them with
ti_puts() to handle padding. This removes the padding delays, and stricly
could break on slow terminal hardware, but they way the code is structured
makes it impossible to fix properly (since the formatting strings are
passed in the query).
XXX: pullup-7

(christos)

2015-11-23 22:20:57 UTC MAIN commitmail json YAML

Clean up the error paths in filemon_ioctl(), making sure to release the
rw_lock before returning.  Avoids a "locking against myself" error
reported by Brad Harder.

(pgoyette)

2015-11-23 21:40:14 UTC MAIN commitmail json YAML

Set the target JPID for all interrupts on Tomatillo.
If the "ino-bitmap" property is available, use it to route error interrupts.
Minor cosmetic changes.
Add register printing when DEBUG is defined.

(jdc)

2015-11-23 19:56:47 UTC MAIN commitmail json YAML

PR/49380: KAMADA Ken'ichi: ntpd_chrootdir does not work on NetBSD 7.0_BETA
Provide /etc/resolv.conf so that it can resolve names. This is needed because
of deferred name resolution.
XXX: pullup -7

(christos)

2015-11-23 08:00:45 UTC MAIN commitmail json YAML

fix assertion checking that bufrd function is used only for large symlinks
that aren't embedded in the inode.

(mlelstv)

2015-11-23 00:47:43 UTC MAIN commitmail json YAML

Retrieve the pathname of the exec'd file before we call sys_execve().

We cannot rely on using copyinstr() to retrieve the pathname from
user mode after a successful exec, since the user mode address space
is no longer valid (and may not even be accessible).  This worked in
earlier code but was broken by rev 1.7.

(pgoyette)

2015-11-22 20:47:42 UTC MAIN commitmail json YAML

Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid

(christos)

2015-11-22 20:47:05 UTC MAIN commitmail json YAML

Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid
XXX: pullup-7

(christos)

2015-11-22 20:24:19 UTC MAIN commitmail json YAML

Don't chdir to the config directory; just form the parameters file with a
path if needed.

(christos)

2015-11-22 18:44:25 UTC MAIN commitmail json YAML

Remove \n from set_cpumodel(), and explicitly print \n during boot instead.

Fixes dmesg on NetBSD/dreamcast 7.0 (and probably NetBSD/hpcsh 7.0):
---
NetBSD 7.0 (GENERIC.201509250726Z)
SEGA Dreamcasttotal memory = 16384 KB
avail memory = 13668 KB
---
which was mangled when cpu_getmode() and cpu_setmodel() were introduced:
http://mail-index.netbsd.org/source-changes/2014/03/24/msg053273.html

Should be pulled up to netbsd-7 and netbsd-7-0.

(tsutsui)

2015-11-22 17:50:48 UTC MAIN commitmail json YAML

do not fail if no awintcon is present so that ALLWINNER_A80 compiles again

(aymeric)

2015-11-22 15:53:10 UTC MAIN commitmail json YAML

explain how to clear an entry (without reading the source)

(christos)

2015-11-22 14:23:41 UTC netbsd-7 commitmail json YAML

2015-11-22 14:22:16 UTC netbsd-7-0 commitmail json YAML

2015-11-22 14:21:20 UTC netbsd-7-0 commitmail json YAML

2015-11-22 14:20:06 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #1047):
share/terminfo/terminfo: revision 1.8
Correct the x68k's Backspace key behavior.
With this fix, the Backspace key on x68k keyboard erases
previous one character, instead of outputting '^?' character.
Reported by Yasushi Oshima (two months ago..)

(bouyer)

2015-11-22 14:19:19 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #1047):
share/terminfo/terminfo: revision 1.8
Correct the x68k's Backspace key behavior.
With this fix, the Backspace key on x68k keyboard erases
previous one character, instead of outputting '^?' character.
Reported by Yasushi Oshima (two months ago..)

(bouyer)

2015-11-22 14:15:14 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1046):
lib/libc/db/hash/hash_page.c: revision 1.27
lib/libc/db/hash/hash_page.c: revision 1.28
lib/libc/db/hash/hash.h: revision 1.16
lib/libc/db/hash/hash.c: revision 1.36
lib/libc/db/hash/hash.c: revision 1.37
lib/libc/db/hash/hash.c: revision 1.38
lib/libc/db/hash/hash_bigkey.c: revision 1.25
Account for the -1 hack to fit 0x10000 in a short in hash_page.c
Introduce a HASH_BSIZE macro to return the blocksize; in the 64K case this
returns 0xffff to avoid overflow. This is used where sizes are stored.
If MAX_BSIZE == hashp->BSIZE (65536) then it does not fit in a short, and
we end up storing 0... This means that every entry needs a page. We store
MAX_BSIZE - 1 here, but it would be better to always store (avail - 1) here
so that we don't waste a byte and be consistent.
PR/50441: Manuel Bouyer: hash seq enumeration skips keys on big data.
XXX: pullup-7

(bouyer)

2015-11-22 14:06:08 UTC MAIN commitmail json YAML

Remove cpu_vendorname (unused). It is retrieved later in identcpu.c.

(maxv)

2015-11-22 14:02:40 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by phx in ticket #1042):
sys/fs/adosfs/advfsops.c: revision 1.75
Patch by hannken@ to fix a bug which has been introduced with 1.71.
The kernel crashed with uvm fault when mounting an ados file system.

(bouyer)

2015-11-22 14:02:31 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by phx in ticket #1042):
sys/fs/adosfs/advfsops.c: revision 1.75
Patch by hannken@ to fix a bug which has been introduced with 1.71.
The kernel crashed with uvm fault when mounting an ados file system.

(bouyer)

2015-11-22 13:41:24 UTC MAIN commitmail json YAML

2015-11-22 12:26:11 UTC MAIN commitmail json YAML

replace inline mc_read/write with MC_READ/WRITE macros, install intr handler with IST_MPSAFE flag

(jmcneill)

2015-11-22 11:42:55 UTC MAIN commitmail json YAML

Reduce the "MAXDSIZ" limit for bottom-up-VA (i.e. old binaries) processes
to the old limit of 1 GB. Some old binaries can not deal with more.

(martin)

2015-11-22 11:24:08 UTC MAIN commitmail json YAML

Use NETBSD32PTR32I() for pointer-to-32bit value conversion, requested
by mrg.

(martin)

2015-11-22 10:19:00 UTC MAIN commitmail json YAML

Clarify:
- add some comments
- rename some jumps
- KNF
No functional change.

(maxv)

2015-11-22 10:18:14 UTC MAIN commitmail json YAML

Removy now unused {s,f}uword

(martin)

2015-11-22 09:37:33 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2015-11-22 09:32:34 UTC MAIN commitmail json YAML

2015-11-22 05:13:00 UTC MAIN commitmail json YAML

+libpanel: Z-order for curses windows

(kamil)

2015-11-22 05:12:22 UTC MAIN commitmail json YAML

+libpanel: Z-order for curses windows

(kamil)

2015-11-22 05:10:28 UTC MAIN commitmail json YAML

+libpanel (Russian version)

(kamil)

2015-11-22 05:06:57 UTC MAIN commitmail json YAML

+libpanel (French version)

(kamil)

2015-11-22 05:03:20 UTC MAIN commitmail json YAML

2015-11-22 05:01:44 UTC MAIN commitmail json YAML

2015-11-22 04:59:16 UTC MAIN commitmail json YAML

Add new predefined value for DPADD: LIBPANEL

(kamil)

2015-11-22 04:56:00 UTC MAIN commitmail json YAML

Note to update major of libpanel(3) for new major of curses(3)

(kamil)

2015-11-22 04:44:30 UTC MAIN commitmail json YAML

2015-11-22 04:30:33 UTC MAIN commitmail json YAML

Specify path of a local internal header of libpanel

(kamil)

2015-11-22 04:26:14 UTC MAIN commitmail json YAML

Set LIBDPLIBS in libpanel for the required curses dependency

(kamil)

2015-11-22 04:23:32 UTC MAIN commitmail json YAML

Set the INCSDIR value of panel.h to /usr/include

(kamil)

2015-11-22 04:21:40 UTC MAIN commitmail json YAML

Define man page links of the libpanel functions

(kamil)

2015-11-22 04:16:22 UTC MAIN commitmail json YAML

Update the list of libpanel man pages

(kamil)

2015-11-22 03:31:01 UTC MAIN commitmail json YAML

2015-11-22 01:20:52 UTC MAIN commitmail json YAML

Fix return-code handling for execve and chdir wrappers.

Fixes PR kern/50309

(pgoyette)

2015-11-22 01:20:36 UTC MAIN commitmail json YAML

2015-11-21 22:55:46 UTC MAIN commitmail json YAML

2015-11-21 22:55:32 UTC MAIN commitmail json YAML

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
        Current  CritMax  WarnMax  WarnMin  CritMin  Unit
CPU0:    27.500                                      degC
CPU1:    27.500                                      degC
CPU2:    29.500                                      degC
CPU3:    29.000                                      degC
MEM0:    26.500                                      degC
MEM1:    27.000                                      degC
GPU:    27.000                                      degC
PLLX:    28.000                                      degC

(jmcneill)

2015-11-21 22:52:31 UTC MAIN commitmail json YAML

Apply initial fuse offset in tegra_fuse_read instead of in each reg def

(jmcneill)

2015-11-21 20:03:53 UTC MAIN commitmail json YAML

Remove "resize_root" lines from rc.conf if they exist.

(riz)

2015-11-21 20:02:36 UTC MAIN commitmail json YAML

Can't be both BEFORE: LOGIN and REQUIRE: sshd, so drop the former.

(riz)

2015-11-21 16:50:29 UTC MAIN commitmail json YAML

Add error interrupt handler to for Tegra MC.

(jakllsch)

2015-11-21 16:48:33 UTC MAIN commitmail json YAML

Add a bunch of hopefully-useful Tegra MC register bits.

(jakllsch)

2015-11-21 16:04:11 UTC MAIN commitmail json YAML

Fix an off by one in the bit definition for RX store and forward mode.
Pointed out by ganbold.
While there add a few other bits of the same register.

(martin)

2015-11-21 15:22:17 UTC MAIN commitmail json YAML

2015-11-21 15:01:43 UTC MAIN commitmail json YAML

2015-11-21 14:59:51 UTC MAIN commitmail json YAML

PR/50454: Timo Buhrmester: Fix wrong allocation for wall(1) -g
Modernize.

(christos)

2015-11-21 12:34:48 UTC MAIN commitmail json YAML

Remove the amd64 implementation of fuword and suword. They are not used in
the MI+amd64 code - Christos replaced them yesterday by copy*.

They are both buggy:
- suword does not properly check the userspace limit: 64 bits are copied,
  but the max address checked is VM_MAXUSER_ADDRESS-4, which means that 4
  bytes may overflow. Reported by Ed Schouten.
- fuword is supposed to be symmetrical with suword. But it uses 32bit
  registers, so it stores 32bit values! Spotted by Chuck (chs@).

(maxv)

2015-11-21 12:22:26 UTC MAIN commitmail json YAML

Try to reboot with the PMIC if available, falling back to PMC.

When the PMIC watchdog is armed and we reboot via PMC, the watchdog stays
armed on the next boot (and we end up being reset mid-boot the second time).
By rebooting with PMIC, we can ensure that the watchdog is not armed after
reset.

(jmcneill)

2015-11-21 12:19:47 UTC MAIN commitmail json YAML

2015-11-21 12:11:56 UTC MAIN commitmail json YAML

Add the filemon(4) device.

(pgoyette)

2015-11-21 12:09:39 UTC MAIN commitmail json YAML