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

2024-05-10 10:42:15 UTC Now

2016-03-08 10:05:43 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1332):
sbin/dump/main.c: revision 1.73
sbin/dump/tape.c: revision 1.54
Consistently use iswap64() and 64bit intermediate variable, as well as
64bit formats for c_tapea. Fixes tape useage report for large filesystems.

(snj)

2016-03-08 10:03:57 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1331):
sbin/dump/dump.8: revision 1.67 via patch
sbin/dump/main.c: revision 1.72
sbin/dump/rcache.c: revision 1.25
Default the read block size (-k default value) to kern.maxphys (usually
64k these days). This gives a noticable performance boost on large filesystems.

(snj)

2016-03-08 09:54:26 UTC netbsd-7 commitmail json YAML

2016-03-08 09:52:39 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1135):
sys/dev/usb/if_smsc.c: revision 1.26
PR/50904: Fix variable assignment inside if-clause.

(snj)

2016-03-08 09:51:15 UTC MAIN commitmail json YAML

tset was useful for fixed terminals and rarely changing configurations.
But for current software terminal emulators and varying network
logins it's just confusing.

No longer run tset when logging in.

ok @martin

(mlelstv)

2016-03-08 09:49:00 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1134):
sys/dev/usb/uhub.c: revision 1.130
Use the port status straight after the reset and not after the
usbd_clear_port_feature(dev, port, UHF_C_PORT_RESET)
The Gadget USB HUB in the IBM x3250 sborrill sent me returns the wrong
status and this would appear to leave the attached cdce(4) in the default
state.  The next device probed fails as a result.

(snj)

2016-03-08 08:34:17 UTC MAIN commitmail json YAML

libc fallback is known to not produce nice alias entries. Avoid spurious
failures when testing in an empty chroot by requiring the services db.

(joerg)

2016-03-08 08:04:48 UTC MAIN commitmail json YAML

Require the boot block to be used, test can't work otherwise.

(joerg)

2016-03-08 08:01:23 UTC MAIN commitmail json YAML

#if 0 a KASSERT for now as it doesn't apply to Raspberry Pi 3

(skrll)

2016-03-08 07:49:20 UTC MAIN commitmail json YAML

Use the nvidia,has-utmi-pad-registers property.

From Jared.

(skrll)

2016-03-08 05:02:55 UTC MAIN commitmail json YAML

- GC pts_fired, and fix the comment about MAX_TIMERS
- Bump MAX_TIMERS to 36 so that we have 32 POSIX user timers which is the
  minimum required.

(christos)

2016-03-08 04:00:11 UTC MAIN commitmail json YAML

Undo the __dso_protected hackery.

(christos)

2016-03-08 03:58:31 UTC MAIN commitmail json YAML

undo protected symbol hack.

(christos)

2016-03-08 03:58:08 UTC MAIN commitmail json YAML

2016-03-07 22:16:38 UTC MAIN commitmail json YAML

Gcc, please shut up with those stupid warnings!

(martin)

2016-03-07 21:45:43 UTC MAIN commitmail json YAML

str2Lst_Append tokenizes the string and uses it in the list so we can't
free the string afterwards. Keep a copy of it and cleanup at the end.

(christos)

2016-03-07 20:20:35 UTC MAIN commitmail json YAML

2016-03-07 15:58:05 UTC MAIN commitmail json YAML

PR/50911: David Binderman: Optimize memset

(christos)

2016-03-07 15:56:17 UTC MAIN commitmail json YAML

PR/50909: David Binderman: Optimize memset

(christos)

2016-03-07 15:55:06 UTC MAIN commitmail json YAML

PR/50910: David Binderman: Optimize memset.

(christos)

2016-03-07 15:09:55 UTC MAIN commitmail json YAML

Terminate expression with a semicolon, instead of accidentally
splicing to the next line with a comma. Noticed by Christos. Has no
actual effect, fortunately. (Compiler output is unchanged.)

(dholland)

2016-03-07 14:47:25 UTC MAIN commitmail json YAML

PR/50908: David Binderman: Optimize memset's

(christos)

2016-03-07 14:39:55 UTC netbsd-7 commitmail json YAML

2016-03-07 14:38:48 UTC netbsd-7-0 commitmail json YAML

2016-03-07 14:37:48 UTC netbsd-7-0 commitmail json YAML

Additionally pull up r1.131 for ticket #1124 (requested by skrll)

(martin)

2016-03-07 14:36:55 UTC netbsd-7 commitmail json YAML

Additionally pull up r1.131 for ticket #1124 (requested by skrll)

(martin)

2016-03-07 14:35:39 UTC MAIN commitmail json YAML

PR/50907: David Binderman: Remove useless strlen()'s and memcpy()'s.

(christos)

2016-03-07 14:35:21 UTC MAIN commitmail json YAML

Ignore clang's empty loop-body warning, it is used extensively via
macros.

(joerg)

2016-03-07 14:32:02 UTC MAIN commitmail json YAML

Relocation of type SHT_REL must use the current value as addend.

Fixes ctfconvert for i386 where section .debug_info uses this relocation.

Ok: Christos Zoulas

(hannken)

2016-03-07 13:08:48 UTC MAIN commitmail json YAML

PR/50905: Henning Petersen: Fix useless comparison (from FreeBSD)

(christos)

2016-03-07 12:48:53 UTC MAIN commitmail json YAML

PR/50909: David Binderman: Optimize memset

(christos)

2016-03-07 10:52:17 UTC MAIN commitmail json YAML

PR/50904: Fix variable assignment inside if-clause.

(skrll)

2016-03-07 09:04:58 UTC netbsd-7 commitmail json YAML

Fix for ticket 1132. Not EM_IAMCU but STT_GNU_IFUNC.

(msaitoh)

2016-03-07 08:59:00 UTC MAIN commitmail json YAML

Try to fix build on 32bit architectures.

(martin)

2016-03-07 08:20:08 UTC netbsd-7 commitmail json YAML

2016-03-07 08:17:19 UTC netbsd-7 commitmail json YAML

Pullup the following revision to fix build break caused by ticket #1118:

sys/arch/xen/x86/cpu.c 1.102-1.103

Increase the number of entries of cpu_features from 5 to 7.

(msaitoh)

2016-03-07 08:08:52 UTC netbsd-7 commitmail json YAML

Pullup the following revision (requested by htodd in ticket #1132):

sys/sys/exec_elf.h 1.143

Add definition of EM_IAMCU. This change fixes build break caused by
ticket 1126.

(msaitoh)

2016-03-07 01:41:55 UTC MAIN commitmail json YAML

Add missing percpu_putref to error path

(ozaki-r)

2016-03-07 00:51:32 UTC MAIN commitmail json YAML

2016-03-07 00:28:36 UTC MAIN commitmail json YAML

Better to panic! Otherwise we end in an endless loop.

(christos)

2016-03-07 00:16:48 UTC MAIN commitmail json YAML

Return instead of crashing. This is wrong, and should be fixed properly.

(christos)

2016-03-07 00:11:34 UTC MAIN commitmail json YAML

Don't throw us in the debugger!

(christos)

2016-03-07 00:05:20 UTC MAIN commitmail json YAML

Remove advertising clause.

(christos)

2016-03-06 21:12:07 UTC MAIN commitmail json YAML

use correct offset for channel in SDP record

(plunky)

2016-03-06 21:03:01 UTC MAIN commitmail json YAML

Don't try to interpret MIPS3-specific status register bit on MIPS1.
Fixes boot of NetBSD/pmax in gxemul 3max emulation mode.

(tnn)

2016-03-06 19:47:41 UTC MAIN commitmail json YAML

PR/50900: David Binderman: optimize memset

(christos)

2016-03-06 19:46:05 UTC MAIN commitmail json YAML

PR/50899: David Binderman: optimize memset

(christos)

2016-03-06 19:42:25 UTC MAIN commitmail json YAML

PR/50898: David Binderman: remove redundant memset.

(christos)

2016-03-06 18:53:51 UTC netbsd-7 commitmail json YAML

2016-03-06 18:52:07 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1125):
sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.67
In xennet_xenbus_detach(), remove the event handler early (just after
xennet_stop()) so that we don't get events while slepping (e.g.
in softint_disestablish()) when some structures have already been
freed.
Problem reported and patch tested by Rohan Desai.

(martin)

2016-03-06 18:50:06 UTC MAIN commitmail json YAML

use kat, a version of cat that strips comments

(christos)

2016-03-06 18:49:42 UTC MAIN commitmail json YAML

Introduce kat() a built-in version of cat(1) that strips shell-like comments.

(christos)

2016-03-06 18:47:39 UTC netbsd-7 commitmail json YAML

2016-03-06 18:44:10 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1131):
bin/cp/cp.c: revision 1.59
The '-i' flag should work regardless of whether the standard input is
a terminal.  The Open Group notes this historic behavior and correctly
notes that it doesn't make much sense.  Note also, that mv(1) has
always respected its '-i' regardless of whether the standard input is
a terminal.
From Timo Buhrmester.

(martin)

2016-03-06 18:41:53 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1130):
bin/cp/utils.c: revision 1.45
for display in the (post) SIGINFO handler use off_t not size_t for
file sizes.  fixes incorrect reporting errors on 32 bit platforms
with >4GB file sizes.

(martin)

2016-03-06 18:40:09 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1129):
bin/mv/mv.c: revision 1.45
add SIGINFO for mv(1), largely based upon the support in cp(1).

(martin)

2016-03-06 18:17:56 UTC netbsd-7 commitmail json YAML

2016-03-06 18:11:41 UTC netbsd-7-0 commitmail json YAML

2016-03-06 18:10:20 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1124):
sys/dev/usb/ugen.c: revision 1.127
sys/dev/usb/ugen.c: revision 1.128
sys/dev/usb/ugen.c: revision 1.129
sys/dev/usb/ugen.c: revision 1.130
s/0/NULL/
One more s/0/NULL/
Remove always true conditional
Only clear the endpoint information in ugen_set_interface only if setting
the new altno suceeds.
Avoids the null de-ref in PR/50597 and PR/50810

(martin)

2016-03-06 18:08:04 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1124):
sys/dev/usb/ugen.c: revision 1.127
sys/dev/usb/ugen.c: revision 1.128
sys/dev/usb/ugen.c: revision 1.129
sys/dev/usb/ugen.c: revision 1.130
s/0/NULL/
One more s/0/NULL/
Remove always true conditional
Only clear the endpoint information in ugen_set_interface only if setting
the new altno suceeds.
Avoids the null de-ref in PR/50597 and PR/50810

(martin)

2016-03-06 18:05:09 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1123):
external/bsd/blacklist/lib/bl.c: revision 1.27
lib/Makefile: revision 1.237
external/bsd/blacklist/lib/Makefile: revision 1.4
external/bsd/blacklist/lib/Makefile: revision 1.5
Move blacklistd later now that it depends on libpthread (From Rin Okuyama)
typo
Add a mutex to prevent races during initialization code from multiple threads.
Found in named.

(martin)

2016-03-06 18:01:48 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1121):
lib/libc/time/localtime.c: revision 1.101
PR/50133: Martin Husemann: Can't cache $TZ.
XXX: Pullup-7

(martin)

2016-03-06 18:01:28 UTC MAIN commitmail json YAML

Work around gcc on sparc64 bug

(christos)

2016-03-06 18:00:08 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by gson in ticket #1120):
lib/libm/src/e_hypotf.c: revision 1.10
Fix incorrect magic numbers in scaling.  From FreeBSD commit 23397, by
way of Rin Okuyama.  Fixes PR lib/50698.

(martin)

2016-03-06 17:58:22 UTC netbsd-7 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1119:

sys/arch/x86/x86/procfs_machdep.c 1.7-1.11

x86's /proc/cpuinfo fixes:
- Always output 2 digits for the cpu frequency decimal part.
- Update x86's feature bits in /proc/cpuinfo (PR#49246).
- Fix a bug that /proc/cpuinfo's CPU model was incorrect on many newer
  CPUs and CPU family was incorrect on some AMD CPUs.
- Add comment. Fix comment.

(martin)

2016-03-06 17:53:27 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1118):
sys/arch/x86/include/cpuvar.h: revision 1.47
sys/arch/x86/x86/cpu.c: revision 1.117
sys/arch/x86/x86/identcpu.c: revision 1.49
sys/arch/x86/include/cpu.h: revision 1.67
Retrieve cpuid7 (Structured Extended Features) into ci_feat_val.

(martin)

2016-03-06 17:49:56 UTC netbsd-7 commitmail json YAML

Pull up the following changes, requested by msaitoh in #1117:

sys/arch/x86/include/cacheinfo.h 1.20-1.21
sys/arch/x86/include/specialreg.h 1.83-1.86
usr.sbin/cpuctl/arch/i386.c 1.67-1.70

Changes for x86's cpuctl(8):
- Add some TLB information (index 0x6a-0x6d).
- Add Hardware-Controlled Performance States (HWP) bits, FPU Data
  Pointer Updated Only bit and CLFLUSHOPT bit.
- Add some AMD's bit definitions from "BIOS and Kernel Developer(BKDG)
  for AMD Family 15h Models 60h-6Fh Processors".
- Add Xeon E5-4600 v3,
- Add Xeon E3-1200 v4 and v5.
- Add 6th gen Core, Xeon E3-1500 v5 and Xeon D-1500.
- Change CPU family 0x1c from "Atom Family" to "45nm Atom Family"

(martin)

2016-03-06 17:32:02 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1103):
sys/kern/subr_pool.c: revision 1.206
fix: "vmstat -C" CpuLayer showed only the last cpu values.

(martin)

2016-03-06 16:13:22 UTC MAIN commitmail json YAML

PR/50897: David Binderman: fix memory leaks. While here, modernize error
handling, and types.

(christos)

2016-03-06 15:44:06 UTC MAIN commitmail json YAML

David Binderman in PR bin/50897: fix memory leak.

(martin)

2016-03-06 10:59:56 UTC MAIN commitmail json YAML

Non-x86 doesn't have AGP. This should really be handled by config logic.

(mlelstv)

2016-03-06 10:26:57 UTC MAIN commitmail json YAML

bump date for entry about using NetBSD's regex, now that it works

(aymeric)

2016-03-06 10:25:31 UTC nick-nhusb commitmail json YAML

2016-03-06 10:22:59 UTC MAIN commitmail json YAML

add our libc's regex implementation to libnbcompat.

This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's
man page under Linux and probably other future changes which rightfully expect
the (net)bsd behaviour.

Full release tested on ArchLinux and NetBSD 7.0_STABLE

(aymeric)

2016-03-06 09:39:42 UTC MAIN commitmail json YAML

Remove unnecessary local change.

(nakayama)

2016-03-06 09:38:08 UTC MAIN commitmail json YAML

2016-03-06 07:33:25 UTC MAIN commitmail json YAML

Use KASSERT for conditions that cannot be met with current parameters.

(mlelstv)

2016-03-06 04:19:51 UTC MAIN commitmail json YAML

Simplify the port comparison code further.

(christos)

2016-03-05 22:10:39 UTC MAIN commitmail json YAML

if opening the audio device fails, try opening again with write-only.
this allows my playback-only usb device to be listed and tested.

(mrg)

2016-03-05 20:26:07 UTC MAIN commitmail json YAML

2016-03-05 20:13:40 UTC MAIN commitmail json YAML

Fix port matching; we need to ignore ports when they are 0 not only in
the second saidx but the first one too. Fixes NAT-T issue with NetBSD
being the host behind NAT.

(christos)

2016-03-05 20:12:23 UTC MAIN commitmail json YAML

gather more information from mbuf.

(christos)

2016-03-05 20:11:09 UTC MAIN commitmail json YAML

Add more debugging, no functional change.

(christos)

2016-03-05 19:48:56 UTC MAIN commitmail json YAML

The '-i' flag should work regardless of whether the standard input is
a terminal.  The Open Group notes this historic behavior and correctly
notes that it doesn't make much sense.  Note also, that mv(1) has
always respected its '-i' regardless of whether the standard input is
a terminal.

From Timo Buhrmester.

(uwe)

2016-03-05 17:08:49 UTC MAIN commitmail json YAML

Revert to disabling nouveau by default in x86 GENERIC.

Haven't had time to debug the issues that seem to affect pretty much
everyone.  Maybe soon!

(riastradh)

2016-03-05 13:03:00 UTC nick-nhusb commitmail json YAML

2016-03-05 13:01:47 UTC nick-nhusb commitmail json YAML

2016-03-05 08:15:01 UTC MAIN commitmail json YAML

Correct display of df(1) with the -i parameter

Now the "Mounted on" column should be aligned with /entries.

Patch by Michal Mazurek.

(kamil)

2016-03-05 08:11:07 UTC nick-nhusb commitmail json YAML

Fix a KASSERT.

I've managed to record via uaudia(4) on Raspberry PI now.

(skrll)

2016-03-05 07:33:59 UTC MAIN commitmail json YAML

Don't modify command line buffer but create a copy of the root argument.

(mlelstv)

2016-03-05 06:48:31 UTC MAIN commitmail json YAML

Make agp_i810 also depend on agp so that a 'no agp' build is possible.

(mlelstv)

2016-03-04 22:08:09 UTC MAIN commitmail json YAML

allow mmap()ing blitter registers

(macallan)

2016-03-04 21:26:49 UTC netbsd-7-0 commitmail json YAML

Missing file in pullup #1096: Don't truncate at sub-microsecond while
preserving timestamps.

(martin)

2016-03-04 21:25:36 UTC netbsd-7 commitmail json YAML

Missing file in pullup #1096: Don't truncate at sub-microsecond while
preserving timestamps.

(martin)

2016-03-04 19:09:26 UTC netbsd-6-0 commitmail json YAML

2016-03-04 19:08:31 UTC netbsd-6-0 commitmail json YAML

Hack to adjust config automatically to 32bit and 64bit systems.
Requested by christos in #1371.

(martin)

2016-03-04 19:07:39 UTC netbsd-6-1 commitmail json YAML

2016-03-04 19:06:32 UTC netbsd-6 commitmail json YAML

Fix path in previous

(martin)

2016-03-04 19:05:40 UTC netbsd-6-1 commitmail json YAML

Hack to adjust config automatically to 32bit and 64bit systems.
Requested by christos in #1371.

(martin)

2016-03-04 19:04:09 UTC netbsd-6 commitmail json YAML

2016-03-04 19:01:20 UTC netbsd-6 commitmail json YAML

Hack to adjust config automatically to 32bit and 64bit systems.
Requested by christos in #1371.

(martin)

2016-03-04 18:52:01 UTC MAIN commitmail json YAML

make it work on linux, be pickier about errors, and correct variable type.

(christos)

2016-03-04 17:49:07 UTC MAIN commitmail json YAML

2016-03-04 15:30:17 UTC nick-nhusb commitmail json YAML

2016-03-04 04:18:44 UTC MAIN commitmail json YAML

Improve tests of proxy arp

The tests make it clear how it behaves though, I don't know if the current
behavior is what it should be.

(ozaki-r)

2016-03-04 03:02:52 UTC MAIN commitmail json YAML

Don't try to use stdin after clobbering it with a failed freopen().
Prevents an extra "Bad file descriptor" message when trying to hexdump
a single nonexistent file.

The intended behavior seems to have been to read from stdin if there
was one filename given and it wasn't valid. But this seems like a bad
idea, so prevent that case instead of hacking it up so it works.

(dholland)

2016-03-04 02:54:38 UTC MAIN commitmail json YAML

Don't use one function for two different things. Two functions is the
ticket.

(dholland)

2016-03-04 02:46:19 UTC MAIN commitmail json YAML

2016-03-04 02:44:45 UTC MAIN commitmail json YAML

2016-03-03 21:38:55 UTC MAIN commitmail json YAML

2016-03-03 20:45:45 UTC MAIN commitmail json YAML

sun4v: rft_kernel should pay attention to the number of register windows that can be restored. We cannot rely on fill traps to occur, since sun4v only has two trap levels available in privileged mode. Based on code from OpenBSD. ok martin@

(palle)

2016-03-03 17:01:31 UTC MAIN commitmail json YAML

Get the RPI3 working (in aarch32 mode) by recognising Cortex A53 CPUs.
While I'm here add some A57/A72 info as well.

My RPI3 works with FB console - the uart needs some help with its clocks.

(skrll)

2016-03-03 15:44:19 UTC netbsd-7-0 commitmail json YAML

2016-03-03 15:43:57 UTC netbsd-7 commitmail json YAML

2016-03-03 15:42:26 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1128):
sys/kern/kern_time.c: revision 1.184
Don't leak garabage from the kernel stack on sleep(0) and equivalents.
Hat tip to perl's ext/POSIX/t/wrappers.t

(martin)

2016-03-03 15:41:35 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1128):
sys/kern/kern_time.c: revision 1.184
Don't leak garabage from the kernel stack on sleep(0) and equivalents.
Hat tip to perl's ext/POSIX/t/wrappers.t

(martin)

2016-03-03 14:47:08 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1108):
sys/kern/kern_module.c: revision 1.107-1.110
sys/kern/kern_ksyms.c: revision 1.82
Add some additional status messages for kern.module.verbose=TRUE

Remove extraneous ')' from previous.

KNF

In module_do_load(), consolidate checking for a pre-existing module,
and return a single error value EEXIST.  When making a recursive
call (to load required modules), treat a pre-existing module as
success.

Without this change, when a module was loaded by specific request
(as opposed to being loaded as a requirement of some other module),
we would always load the module from the file-system, and then
after making various sanity/compatability checks we would destroy
the new copy if there was a pre-existing copy.

Fixes PR kern/40764

XXX Note that if the module exists, we bypass all of the various
XXX "compatability" checks, including whether or not the existing
XXX module is of any particular class!  (In the previous code, we
XXX checked to see if the newly-loaded copy had the correct class,
XXX but not the pre-existing copy, which could have been loaded
XXX from a different path/filename.)

(martin)

2016-03-03 14:46:07 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1108):
sys/kern/kern_module.c: revision 1.107-1.110
sys/kern/kern_ksyms.c: revision 1.82
Add some additional status messages for kern.module.verbose=TRUE

Remove extraneous ')' from previous.

KNF

In module_do_load(), consolidate checking for a pre-existing module,
and return a single error value EEXIST.  When making a recursive
call (to load required modules), treat a pre-existing module as
success.

Without this change, when a module was loaded by specific request
(as opposed to being loaded as a requirement of some other module),
we would always load the module from the file-system, and then
after making various sanity/compatability checks we would destroy
the new copy if there was a pre-existing copy.

Fixes PR kern/40764

XXX Note that if the module exists, we bypass all of the various
XXX "compatability" checks, including whether or not the existing
XXX module is of any particular class!  (In the previous code, we
XXX checked to see if the newly-loaded copy had the correct class,
XXX but not the pre-existing copy, which could have been loaded
XXX from a different path/filename.)

(martin)

2016-03-03 14:30:52 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by nakayama in ticket #1096):
bin/mv/mv.c: revision 1.44
bin/cp/utils.c: revision 1.43-1.44
lib/librumphijack/hijack.c: revision 1.112-1.115
usr.bin/touch/touch.c: revision 1.33
sbin/restore/tape.c: revision 1.68
sbin/restore/dirs.c: revision 1.51
Don't truncate at sub-microsecond while preserving timestamps.

One of motivation of this change is to make the behavior of test(1)
-nt/ot with preserved copy (like cp -p) closer to the NetBSD 6.
Of course whether full timestamps are kept or not depends also on
underlying file system.

The ifdef added in mv(1) since existing ifdefs was our local change
to compile it on solaris (though I couldn't test it):
http://mail-index.netbsd.org/tech-userlevel/2014/11/28/msg008831.html

Fix the name of failed function in warning message.

Hijack utimensat(2) so that t_vfs test passes after cp(1)/mv(1) are
changed to use the system call.  Linux also has this system call, but
not tested this on linux.

Also hijack futimens(2) so that t_sh test passes.

Define a generic ATCALL() and use it to implement utimensat()
Make ATCALL() behave for absolute paths too.

(martin)

2016-03-03 14:27:54 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by nakayama in ticket #1096):
bin/mv/mv.c: revision 1.44
bin/cp/utils.c: revision 1.43-1.44
lib/librumphijack/hijack.c: revision 1.112-1.115
usr.bin/touch/touch.c: revision 1.33
sbin/restore/tape.c: revision 1.68
sbin/restore/dirs.c: revision 1.51
Don't truncate at sub-microsecond while preserving timestamps.

One of motivation of this change is to make the behavior of test(1)
-nt/ot with preserved copy (like cp -p) closer to the NetBSD 6.
Of course whether full timestamps are kept or not depends also on
underlying file system.

The ifdef added in mv(1) since existing ifdefs was our local change
to compile it on solaris (though I couldn't test it):
http://mail-index.netbsd.org/tech-userlevel/2014/11/28/msg008831.html

Fix the name of failed function in warning message.

Hijack utimensat(2) so that t_vfs test passes after cp(1)/mv(1) are
changed to use the system call.  Linux also has this system call, but
not tested this on linux.

Also hijack futimens(2) so that t_sh test passes.

Define a generic ATCALL() and use it to implement utimensat()
Make ATCALL() behave for absolute paths too.

(martin)

2016-03-03 01:39:17 UTC MAIN commitmail json YAML

Don't leak garabage from the kernel stack on sleep(0) and equivalents.
Hat tip to perl's ext/POSIX/t/wrappers.t

(uwe)

2016-03-02 19:28:56 UTC MAIN commitmail json YAML

2016-03-02 19:27:05 UTC MAIN commitmail json YAML

PR/50883: David Binderman: Remove redundant code.

(christos)

2016-03-02 19:26:15 UTC MAIN commitmail json YAML

PR/50882: David Binderman: Remove redundant code.

(christos)

2016-03-02 19:25:32 UTC MAIN commitmail json YAML

PR/50881: David Binderman: Remove redundant code.

(christos)

2016-03-02 19:24:20 UTC MAIN commitmail json YAML

2016-03-02 19:11:28 UTC MAIN commitmail json YAML

PR/50879: David Binderman: remove redundant code.

(christos)

2016-03-02 19:03:31 UTC MAIN commitmail json YAML

David Binderman in PR bin/50884: simplify boolean expression

(martin)

2016-03-02 07:06:10 UTC netbsd-7 commitmail json YAML

2016-03-02 01:54:19 UTC MAIN commitmail json YAML

2016-03-02 01:53:22 UTC MAIN commitmail json YAML

bump OpenSSL for 1.0.1s (remove SSLv2 and weak "export" ciphers)

(christos)

2016-03-02 01:52:36 UTC MAIN commitmail json YAML

src/crypto/external/bsd/openssl/dist/CHANGES@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/Configure@1.15 / diff / nxr@1.15
src/crypto/external/bsd/openssl/dist/Makefile@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/NEWS@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/README@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/apps/s_server.c@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/crypto/bn/bn.h@1.6 / diff / nxr@1.6
src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/crypto/dsa/dsa_ameth.c@1.5 / diff / nxr@1.5
src/crypto/external/bsd/openssl/dist/crypto/opensslconf.h@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssl/dist/crypto/opensslv.h@1.19 / diff / nxr@1.19
src/crypto/external/bsd/openssl/dist/crypto/rsa/rsa_sign.c@1.6 / diff / nxr@1.6
src/crypto/external/bsd/openssl/dist/crypto/threads/mttest.c@1.8 / diff / nxr@1.8
src/crypto/external/bsd/openssl/dist/openssl.spec@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/ssl/Makefile@1.5 / diff / nxr@1.5
src/crypto/external/bsd/openssl/dist/ssl/s2_lib.c@1.5 / diff / nxr@1.5
src/crypto/external/bsd/openssl/dist/ssl/s3_lib.c@1.17 / diff / nxr@1.17
src/crypto/external/bsd/openssl/dist/ssl/ssl_lib.c@1.7 / diff / nxr@1.7
src/crypto/external/bsd/openssl/dist/util/mk1mf.pl@1.7 / diff / nxr@1.7
src/crypto/external/bsd/openssl/lib/libcrypto/shlib_version@1.11 / diff / nxr@1.11
      :
(more 3 files)
merge conflicts, bump libraries to 11 for consistency.

(christos)

2016-03-01 21:45:10 UTC MAIN commitmail json YAML

remove comment I used to test.

(christos)

2016-03-01 21:30:40 UTC MAIN commitmail json YAML

2016-03-01 21:10:40 UTC MAIN commitmail json YAML

Fix wrong condition in previous causing bogus 'Use "exit" to leave
shell.' messages (from kre)

(martin)

2016-03-01 21:09:17 UTC MAIN commitmail json YAML

2016-03-01 16:08:23 UTC MAIN commitmail json YAML

Don't reuse LDFLAGS for arguments passed directly to ${LD}, share/mk
expects it to be passed to ${CC} or ${CXX}, so they will generally
prefix flags with -Wl.

(joerg)

2016-03-01 15:19:37 UTC nick-nhusb commitmail json YAML

Remove unused struct member.

(skrll)

2016-03-01 14:52:14 UTC MAIN commitmail json YAML

Merge r274564 from FreeBSD:
Fix a couple of bugs around the handling of structs and unions of size zero.
These would cause ctfconvert(1) to return an error when attempting to
resolve valid C types.

(joerg)

2016-03-01 14:45:10 UTC nick-nhusb commitmail json YAML

Re-initialise dwc2_urb->packet_count after the memset(dwc2_urb, 0, ...)

(skrll)

2016-03-01 14:38:47 UTC nick-nhusb commitmail json YAML

2016-03-01 12:39:36 UTC MAIN commitmail json YAML

Improved handling of TEST_SH so that it is possible to define it
to the name of a shell, plus options that shell needs to run it
in the correct mode to be tested: eg: TEST_SH='bash -o posix'
Also finished the implementation of tests of "set -n" now that
the NetBSD shell supports that as it should. (from kre)

(christos)

2016-03-01 10:29:40 UTC MAIN commitmail json YAML

Switch sh3 to the new binutils and gdb.  Lightly tested on landisk.
sh3eb compile-tested only.

(uwe)

2016-03-01 10:11:07 UTC MAIN commitmail json YAML

Remove regexp.h here temporarily

(martin)

2016-03-01 10:09:00 UTC MAIN commitmail json YAML

Revert to rev 1.77 for now on Aymeric's request

(martin)

2016-03-01 06:48:55 UTC MAIN commitmail json YAML

remove regsub.c from the list of files to build because it unbreaks the build
and this API is not yet endorsed. OK christos@

(aymeric)

2016-02-29 23:52:53 UTC MAIN commitmail json YAML

more tests from kre

(christos)

2016-02-29 23:52:04 UTC MAIN commitmail json YAML

Even more debugging improvements (from kre)

(christos)

2016-02-29 23:51:36 UTC MAIN commitmail json YAML

Complete implementation of the noexec option (-n) including
disabling noexec, if the shell is interactive, each time that
a new command is about to be read.  Also correct the -I
(ignoreeof) option so that it only applies to interactive shells,
as required by posix. (from kre)

(christos)

2016-02-29 23:50:59 UTC MAIN commitmail json YAML

2016-02-29 22:49:11 UTC MAIN commitmail json YAML

mention that the recent addition of the NetBSD implementation of regexps
to libnbcompat may lead to crashes in tools using them on non-NetBSD hosts
if these are not rebuilt from scratch.

(aymeric)

2016-02-29 22:19:29 UTC MAIN commitmail json YAML

add our libc's regex implementation to libnbcompat.

This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's
man page under Linux and probably other future changes which rightfully expect
the (net)bsd behaviour.

(aymeric)

2016-02-29 22:10:13 UTC MAIN commitmail json YAML

protect __RCSID the same way other reg*.c files do, so that we can use this
file in libnbcompat

(aymeric)

2016-02-29 22:01:20 UTC MAIN commitmail json YAML

Tag ctf.5 man page with ctf, not dtrace.

(riastradh)

2016-02-29 20:59:35 UTC MAIN commitmail json YAML

Skip libctf if MKCTF=no irrespective of MKDTRACE, for real.

Apparently this logic is copied in lib/Makefile and in
external/cddl/osnet/lib/Makefile.  Is the latter even used?

(riastradh)

2016-02-29 18:59:53 UTC MAIN commitmail json YAML

PR/50867: David Binderman: Fix parsing loop.
While here, modernize error handling, merge copy and pasted code.

(christos)

2016-02-29 18:25:29 UTC MAIN commitmail json YAML

PR/50868: David Binderman: Fix operator precedence.

(christos)

2016-02-29 18:24:31 UTC MAIN commitmail json YAML

PR/50869: David Binderman: Use logical and instead of arithmetic

(christos)

2016-02-29 18:22:06 UTC MAIN commitmail json YAML

PR/50870: David Binderman: Use logical and instead of arithmetic

(christos)

2016-02-29 18:21:15 UTC MAIN commitmail json YAML

PR/50872: David Binderman: Use logical and instead of arithmetic

(christos)

2016-02-29 18:20:31 UTC MAIN commitmail json YAML

PR/50871: David Binderman: use logical and instead of arithmetic

(christos)

2016-02-29 18:19:46 UTC MAIN commitmail json YAML

PR/50873: David Binderman: use logical or instead of arithmetic

(christos)

2016-02-29 18:18:04 UTC MAIN commitmail json YAML

PR/50874: David Binderman: unsigned can't be negative

(christos)

2016-02-29 17:46:54 UTC MAIN commitmail json YAML

Let MKCTF alone control whether we build libctf.

If MKDTRACE=yes MKCTF=no makes no sense, we can express that
somewhere else, not as a confusing set lists error at the end -- as
far as I know, there's no way to express MKDTRACE *or* MKCTF as a
condition for set list entries.

(riastradh)

2016-02-29 16:25:06 UTC MAIN commitmail json YAML

#ifdef forward declaration of setpolicy like definition.

(riastradh)

2016-02-29 16:23:25 UTC MAIN commitmail json YAML

Consistently use estrlcpy for ifr.ifr_name here, not strncpy.

(riastradh)

2016-02-29 16:19:20 UTC MAIN commitmail json YAML

2016-02-29 16:18:37 UTC MAIN commitmail json YAML

Sprinkle some more zfs range lock reference count kasserts.

From a debugging session months ago, might as well share them.

(riastradh)

2016-02-29 16:16:42 UTC MAIN commitmail json YAML

Record current raid configurations too in /etc/security.

(riastradh)

2016-02-29 16:14:57 UTC MAIN commitmail json YAML

Cast int64_t to long long before printfing with %lld.

Not doing so broke something months ago and I forgot why.

(riastradh)

2016-02-29 15:28:35 UTC MAIN commitmail json YAML

PR/50854: David Binderman: Remove redundant code.

(christos)

2016-02-29 14:57:07 UTC MAIN commitmail json YAML

Fix buidling with MKPROFILE=no

(adam)

2016-02-29 09:35:16 UTC MAIN commitmail json YAML

Add tests on activating a new MAC address

(ozaki-r)

2016-02-29 08:13:41 UTC MAIN commitmail json YAML

Add tests deleting active/inactive links

(ozaki-r)

2016-02-29 04:22:21 UTC MAIN commitmail json YAML

for display in the (post) SIGINFO handler use off_t not size_t for
file sizes.  fixes incorrect reporting errors on 32 bit platforms
with >4GB file sizes.

(mrg)

2016-02-29 02:19:38 UTC MAIN commitmail json YAML

2016-02-29 01:57:30 UTC MAIN commitmail json YAML

Mark skewsrcp as __diagused to unbreak non-DIAGNOSTIC builds.

(riastradh)

2016-02-29 01:29:15 UTC MAIN commitmail json YAML

remove unnecessary declarations and fix KNF

Thanks to riastradh@

(knakahara)

2016-02-29 00:54:19 UTC MAIN commitmail json YAML

convert to 2 clause

(christos)

2016-02-29 00:34:17 UTC MAIN commitmail json YAML

fix vmem_alloc() to never return an error for VM_SLEEP requests,
thus fixing kmem_alloc() to never return NULL for KM_SLEEP requests.
instead these operations will retry forever, which was the intent.

(chs)

2016-02-29 00:17:54 UTC MAIN commitmail json YAML

Let the compiler decide whether to inline.

Works around ICE in PCC for now:

/home/riastradh/netbsd/current/src/sys/arch/x86/x86/cpu_rng.c, line 195: bad xasm node type 23
/home/riastradh/netbsd/current/src/sys/arch/x86/x86/cpu_rng.c, line 195: bad xasm node type 23
internal compiler error: /home/riastradh/netbsd/current/src/sys/arch/x86/x86/cpu_rng.c, line 195

This code is not performance-critical.

(riastradh)

2016-02-28 23:24:36 UTC MAIN commitmail json YAML

2016-02-28 23:12:23 UTC MAIN commitmail json YAML

Bug fixes to handling of unterminated here documents
(they should be, and now are, a syntax error), and
miscellaneous other minor cleanups. (from kre)

(christos)

2016-02-28 23:02:24 UTC MAIN commitmail json YAML

2016-02-28 22:55:21 UTC MAIN commitmail json YAML

Make using ! on the LHS of a compare non-fatal, even if it is not
cosher. It is currently not clear what the code is actually trying to
do.

(joerg)

2016-02-28 22:19:01 UTC MAIN commitmail json YAML

Reorder using register_t to the point where it is defined.

(joerg)

2016-02-28 22:16:10 UTC MAIN commitmail json YAML

Avoid left shifts of negative values. Right shift is implementation
defined and consist on all architectures we care about, so no change for
the reverse direction.

(joerg)

2016-02-28 22:15:26 UTC MAIN commitmail json YAML

MMIO32 arguments are CARD32, so cast to the unsigned type before doing
left shifts.

(joerg)

2016-02-28 22:12:27 UTC MAIN commitmail json YAML

Define FC_NO_MT=1 for tools mkfontscale build.

No idea what the host's atomic ops will be but we don't need them
because this tool is not multithreaded.

Fixes harmless warnings like

all ===> external/mit/xorg/tools/mkfontscale
/home/source/ab/HEAD-llvm/xsrc/external/mit/fontconfig/dist/src/fcinit.c:29:2: warning: #warning Could not find any system to define atomic_int macros, library may NOT be thread-safe. [-Wcpp]
#warning Could not find any system to define atomic_int macros, library may NOT be thread-safe.
  ^

(riastradh)

2016-02-28 22:01:26 UTC MAIN commitmail json YAML

pixman_int_to_fixed is sometimes used with negative values, so do not
use left shift, but the equivalent multiplication.

(joerg)

2016-02-28 21:26:48 UTC MAIN commitmail json YAML

Left shift of negative values is UB, so just consistently use
multiplication.

(joerg)

2016-02-28 20:51:03 UTC MAIN commitmail json YAML

KNF.  No functional change.

(riastradh)

2016-02-28 20:47:01 UTC MAIN commitmail json YAML

Switch sparc64 over to new binutils

(martin)

2016-02-28 20:37:16 UTC MAIN commitmail json YAML

Omit needless `if (RND_ENABLED(...))' in rnd_skew_get.

(riastradh)

2016-02-28 20:36:08 UTC MAIN commitmail json YAML

Omit needless `if (RND_ENABLED(...))' in rnd_cpu_get.

(riastradh)

2016-02-28 20:24:23 UTC MAIN commitmail json YAML

Use __arraycount(x), not howmany(sizeof(x), sizeof(*x)).

(riastradh)

2016-02-28 20:20:17 UTC MAIN commitmail json YAML

Skip disabled sources in rnd_getmore.

(riastradh)

2016-02-28 19:39:27 UTC MAIN commitmail json YAML

Set sc_dev field of softc.

Should pullup to 7.

(rjs)

2016-02-28 19:18:41 UTC MAIN commitmail json YAML

2016-02-28 19:11:48 UTC MAIN commitmail json YAML