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 04:43:33 UTC Now

2017-05-18 06:34:48 UTC MAIN commitmail json YAML

Test CARP handover on setups without having IPs on carpdev (shmif)

Note that tests for IPv6 don't pass yet; nd6 needs to handle CARP
correctly like arp does.

(ozaki-r)

2017-05-18 06:33:49 UTC MAIN commitmail json YAML

Reduce duplicated codes (DRY)

(ozaki-r)

2017-05-18 06:33:11 UTC MAIN commitmail json YAML

Lookup caches from a CARP interface if the packet is routed to the interface

This fixes CARP setups without carpdev (physical interface) having any IPs.

(ozaki-r)

2017-05-18 02:21:05 UTC MAIN commitmail json YAML

more snprintb bits

(christos)

2017-05-18 01:32:46 UTC MAIN commitmail json YAML

Fixed m is not freed if m_defrag() fails.

(nonaka)

2017-05-17 22:43:12 UTC MAIN commitmail json YAML

snprintb(3) for UVM_FLAGS.

(christos)

2017-05-17 22:06:10 UTC MAIN commitmail json YAML

Fix building GCC 5 with clang 4.0
Obtained from FreeBSD ports r432958
https://svnweb.freebsd.org/ports?view=revision&revision=432958
"doesn't compile with recent versions of libc++, because it attempts to redefine abort():
/usr/include/c++/v1/functional:1398:2: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
        _VSTD::abort();
        ^~~~~~~
/usr/include/c++/v1/__config:383:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE"

(sevan)

2017-05-17 20:13:02 UTC MAIN commitmail json YAML

more precise m_freem() on error paths, and update m after the m_defrag() call

(jdolecek)

2017-05-17 20:04:50 UTC MAIN commitmail json YAML

simplify vioif_start() - remove the delivery attempts on failure and retries,
leave that for the dedicated thread

if dma map load fails, retry after m_defrag(), but continue processing
other queue items regardless

set interface queue length according to the length of virtio queue, so that
higher layer won't queue more than interface can manage to keep in flight

use the mutexes always, not just with NET_MPSAFE, so they continue
being exercised and hence working; they also enforce proper IPL level

inspired by discussion around PR kern/52211, thanks to Masanobu SAITOH
for the m_defrag() idea and code

(jdolecek)

2017-05-17 18:56:12 UTC MAIN commitmail json YAML

Allow npf to be used "normally" from a rump kernel, not just from the
test harness (problem reported by Frank Kardel)

(christos)

2017-05-17 18:55:13 UTC MAIN commitmail json YAML

set "testing mode" for ioctl I/O

(christos)

2017-05-17 18:21:40 UTC MAIN commitmail json YAML

do not set IFF_OACTIVE if dma map load or the virtio reserve fails;
this causes interface to ignore any further TX requests if this happens
when there are no other TX requests in progress

fixes kern/52211 by Juergen Hannken-Illjes

(jdolecek)

2017-05-17 14:15:29 UTC MAIN commitmail json YAML

2017-05-17 12:46:14 UTC MAIN commitmail json YAML

Suspend file system while revoking a vnode.  This way no operations run
on the mounted file system during revoke and all operations see
the state before or after the revoke.

(hannken)

2017-05-17 12:45:03 UTC MAIN commitmail json YAML

Suspend file system while unmounting.  This way no operations run
on the mounted file system during unmount and all operations see
the state before or after the (possibly failed) unmount.

(hannken)

2017-05-17 12:11:41 UTC MAIN commitmail json YAML

decrease the priority of batch crp even if there are more than one batch crp.

(knakahara)

2017-05-17 11:04:38 UTC MAIN commitmail json YAML

refactor cryptointr(), no functional changes.

(knakahara)

2017-05-17 11:03:42 UTC MAIN commitmail json YAML

fix cryptointr() can process unexpected request.

If migrate crp is linked after batch crp, "submit" is already set to
the batch crp. So, cryptointr() can process the batch crp instead of
the target migrate crp.

(knakahara)

2017-05-17 09:03:12 UTC MAIN commitmail json YAML

2017-05-17 07:12:50 UTC MAIN commitmail json YAML

refactor crypto_kdispatch() in a similar way as crypto_dispatch().

(knakahara)

2017-05-17 06:53:02 UTC MAIN commitmail json YAML

refactor crypto_dispatch (3/3): do "blocked" operation previously

(knakahara)

2017-05-17 06:52:08 UTC MAIN commitmail json YAML

refactor crypto_dispatch (2/3): divide migrate operation

(knakahara)

2017-05-17 06:50:12 UTC MAIN commitmail json YAML

refactor crypto_dispatch (1/3): divide batch operation

Processing batch operation at first, crypto_q_mtx's lock region is reduced
because crp does not require crypto_q_mtx.

(knakahara)

2017-05-17 06:33:04 UTC MAIN commitmail json YAML

2017-05-17 06:30:16 UTC MAIN commitmail json YAML

Add test cases of TCP communications with IPsec enabled

The test cases transfer data over TCP by using nc with IPsec just enabled
(no SA/SP is configured) and confirm the commit "Fix diagnostic assertion
failure in ipsec_init_policy" really fixes the issue.

(ozaki-r)

2017-05-17 05:31:08 UTC prg-localcount2 commitmail json YAML

2017-05-17 04:33:03 UTC prg-localcount2 commitmail json YAML

Allow the argument to {b,c}devsw_release() to be NULL, and treat it as
a No-Op

(pgoyette)

2017-05-17 04:29:46 UTC prg-localcount2 commitmail json YAML

2017-05-17 04:26:14 UTC prg-localcount2 commitmail json YAML

Adapt to device_lookup_acquire

(pgoyette)

2017-05-17 04:08:36 UTC prg-localcount2 commitmail json YAML

Adapt for bdevsw_lookup_acquire()

(pgoyette)

2017-05-17 03:54:20 UTC prg-localcount2 commitmail json YAML

Convert to cdevsw_lookup_acquire()

(pgoyette)

2017-05-17 03:05:44 UTC prg-localcount2 commitmail json YAML

It's "device_t x" not "struct device_t x"

(pgoyette)

2017-05-17 02:58:37 UTC prg-localcount2 commitmail json YAML

2017-05-17 02:40:58 UTC prg-localcount2 commitmail json YAML

Actually return the retrun value that we computed.

(pgoyette)

2017-05-17 02:37:02 UTC prg-localcount2 commitmail json YAML

Use correct variable name

(pgoyette)

2017-05-17 02:19:10 UTC MAIN commitmail json YAML

Replace malloc/free with kmem(9) and kill KMALLOC/KFREE macros

(ozaki-r)

2017-05-17 02:04:56 UTC MAIN commitmail json YAML

Fix memory leaks of allocated data to sav on key_update

key_setsaval NULL-clears member variables of sav at the beginning
of the function regardless of the states of the variables. When
key_setsaval is called by key_update, member variables sav->replay,
sav->key_* and sav->lft_* may have data allocated by malloc. In
that case they will leak. Free them before NULL-clear to avoid
memory leaks.

(ozaki-r)

2017-05-17 01:54:06 UTC prg-localcount2 commitmail json YAML

Update autoconf(9) to mention that config_attach_pseudo() returns with
a reference held on the device.

(pgoyette)

2017-05-17 01:44:18 UTC prg-localcount2 commitmail json YAML

2017-05-17 01:42:17 UTC prg-localcount2 commitmail json YAML

Import fix from HEAD for NULL deref

(pgoyette)

2017-05-16 23:55:53 UTC MAIN commitmail json YAML

Set sc_[trigger/rec]_started before the call to trigger_[input/output].
This prevents multiple calls to trigger_[input/output] for those drivers
that drop sc_intr_lock in there trigger_[input/output] functions.

(nat)

2017-05-16 23:49:44 UTC MAIN commitmail json YAML

Drop sc_lock whilst doing uaudio_chan_open uaudio[pr]transfer.
uaudio now works again.

(nat)

2017-05-16 23:21:54 UTC MAIN commitmail json YAML

2017-05-16 23:00:42 UTC MAIN commitmail json YAML

mention recent vioscsi/virtio changes

(jdolecek)

2017-05-16 22:52:17 UTC netbsd-7 commitmail json YAML

Pull up following revision to fix fallout from ticket #1406:
sys/sys/exec_elf.h: revision 1.156
Add mips abiflags section

(snj)

2017-05-16 21:43:18 UTC MAIN commitmail json YAML

Revert the changes made with holding sc_lock in audiostartp/startr made in
rev 1.347.  The audio tests should run again.

(nat)

2017-05-16 17:40:01 UTC MAIN commitmail json YAML

2017-05-16 12:03:41 UTC MAIN commitmail json YAML

Improve the scope of some variables.

(roy)

2017-05-16 11:16:37 UTC MAIN commitmail json YAML

Remove ticcmp and extend _ti_checkname so it can be used instead.

(roy)

2017-05-16 10:29:06 UTC MAIN commitmail json YAML

Fix prior for multiple terminfo aliases.

(roy)

2017-05-16 10:25:40 UTC MAIN commitmail json YAML

Instead of poking in the binary blob to work out if this is our terminal,
assume it is and load it.
Once loaded then check it's really for us.
This allows us to work out if the indexed alias entry is correct we
this was not checked previously.

(roy)

2017-05-16 10:11:24 UTC MAIN commitmail json YAML

Replace kmem_alloc + memset with kmem_zalloc

Suggested by kamil@

(ozaki-r)

2017-05-16 09:21:54 UTC MAIN commitmail json YAML

_ti_database now includes the database extension so don't duplicate it.

(roy)

2017-05-16 09:19:49 UTC MAIN commitmail json YAML

Don't bother allocating space for the database name, just print
directly to the static buffer storage.

(roy)

2017-05-16 08:52:14 UTC MAIN commitmail json YAML

Move pathbuf into the function where it's actually used.

(roy)

2017-05-16 07:43:50 UTC MAIN commitmail json YAML

Fix memory leaks of sah->idents and sah->identd

Originally fixed by the SEIL team of IIJ

(ozaki-r)

2017-05-16 07:25:57 UTC MAIN commitmail json YAML

Fix diagnostic assertion failure in ipsec_init_policy

  panic: kernel diagnostic assertion "!cpu_softintr_p()" failed: file "../../../../netipsec/ipsec.c", line 1277
  cpu7: Begin traceback...
  vpanic() at netbsd:vpanic+0x140
  ch_voltag_convert_in() at netbsd:ch_voltag_convert_in
  ipsec_init_policy() at netbsd:ipsec_init_policy+0x149
  in_pcballoc() at netbsd:in_pcballoc+0x1c5
  tcp_attach_wrapper() at netbsd:tcp_attach_wrapper+0x1e1
  sonewconn() at netbsd:sonewconn+0x1ea
  syn_cache_get() at netbsd:syn_cache_get+0x15f
  tcp_input() at netbsd:tcp_input+0x1689
  ipintr() at netbsd:ipintr+0xa88
  softint_dispatch() at netbsd:softint_dispatch+0xd3
  DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xfffffe811d337ff0
  Xsoftintr() at netbsd:Xsoftintr+0x4f

Reported by msaitoh@

(ozaki-r)

2017-05-16 06:16:35 UTC MAIN commitmail json YAML

fix inverted logic.

spotted by "sc dying" on current-users.

(snj)

2017-05-16 03:05:28 UTC MAIN commitmail json YAML

Use kmem(9) instead of malloc/free

Some of non-sleepable allocations can be replaced with sleepable ones.
To make it clear that the replacements are possible, some assertions
are addded.

(ozaki-r)

2017-05-16 02:59:22 UTC MAIN commitmail json YAML

Run key_timehandler in thread context (workqueue)

The handler involves object deallocations so we want to not run
it in softint.

(ozaki-r)

2017-05-15 21:30:37 UTC MAIN commitmail json YAML

free the virtio slot _before_ calling scsipi_done(), so that driver is able
to accept another request immediatelly and doesn't trigger spurious
XS_RESOURCE_SHORTAGE

part of fix for PR kern/52199

(jdolecek)

2017-05-15 20:00:36 UTC MAIN commitmail json YAML

DEBUG mode shell update (changes nothing for shells which are not
compiled for DEBUG.)

Add debug builtin command, and corresponding -D command line option.
As usual, for DEBUG related stuff, read the source for info, that's
all there is about this.

This completes the infrastructure changes for the updated DEBUG TRACE
mechanism, so now converting the rest of the shell's internal tracing
can happen as desired - piecemeal.

(kre)

2017-05-15 19:55:20 UTC MAIN commitmail json YAML

(Perhaps temporarary) updated "hash" command.  New options, and
more flexible behaviour.

(kre)

2017-05-15 19:53:40 UTC MAIN commitmail json YAML

More test sub-cases for the dollar_hash ( ${#...} ) test.
Upi really (really!) don't want to know!

Also, add a comment (in another section) and avoid giving messages
to atf_fail that include newlines - AFT really doesn't like that.
Instead, convert the \n's to ;'s so at least the content is retained.

(kre)

2017-05-15 18:34:56 UTC MAIN commitmail json YAML

Drop the lex library - hasn't been needed since the airthmetic
upgrade a while ago (this should make no difference to anything
other than a minor - very minor - build time speedup, ld is
smart enough to relaise that nothing from the lex library was
needed, and the executable contains no reference to it, even
befor ethis change.)

(kre)

2017-05-15 16:09:09 UTC MAIN commitmail json YAML

Don't make assert use stdio; saves >100K on an empty static binary.

(christos)

2017-05-15 13:38:34 UTC MAIN commitmail json YAML

Allow building with MKKERBEROS=no

(manu)

2017-05-15 12:07:32 UTC MAIN commitmail json YAML

Be carefull with play-only/record-only devices. Suggestion from Jared,
avoids a crash with hdmi audio.

(martin)

2017-05-15 10:59:24 UTC MAIN commitmail json YAML

Fix off-by-one in tlb_record_asids

(skrll)

2017-05-15 09:58:22 UTC MAIN commitmail json YAML

2017-05-15 09:56:47 UTC MAIN commitmail json YAML

2017-05-15 09:56:13 UTC MAIN commitmail json YAML

2017-05-15 09:55:29 UTC MAIN commitmail json YAML

Show __func__ instead of __FILE__ in debug log messages

__func__ is shorter and more useful than __FILE__.

(ozaki-r)

2017-05-15 09:52:05 UTC MAIN commitmail json YAML

Fix a debug log message

(ozaki-r)

2017-05-15 09:51:00 UTC MAIN commitmail json YAML

Kill useless IPSEC_DEBUG2 (NFC)

(ozaki-r)

2017-05-15 09:43:57 UTC MAIN commitmail json YAML

Possibile vchan mixer overflow panic avoided.

(nat)

2017-05-15 04:54:09 UTC MAIN commitmail json YAML

Add some information learned from experience with using (and abusing)
this API...

While here do some markup improvements (it is amazing what one can
learn from observing a wizard at work!) (which still probably need more work.)
In particular, sh functions are not functions in the mdoc .Fn sense!
(Many places where explicit double quotes were not doing what was intended.)

(kre)

2017-05-15 04:21:14 UTC MAIN commitmail json YAML

- Print 0x00000007:0 ecx leaf bits.
- Don't print fdiv_bug on amd64.
- Print APIC ID, Initial APIC ID and clflush size.

(msaitoh)

2017-05-15 04:02:52 UTC MAIN commitmail json YAML

CPUID_CFLUSH bit is not for CFLUSH insn but CLFLUSH insn, so modify comments
and snprintb() sring.

(msaitoh)

2017-05-15 01:03:47 UTC MAIN commitmail json YAML

Don't hold sc_lock whilst calling mix_write/read.  This makes uaudio work
again.

With regard to uaudio however tyr-quake's audio does not work well.

(nat)

2017-05-14 21:38:23 UTC MAIN commitmail json YAML

don't print decimal and parse hex!

(christos)

2017-05-14 17:28:46 UTC MAIN commitmail json YAML

Add a test for opening files with exec "when" in posix mode (close-on-exec
should not get set.)  While here, remove the (unused) runhelper() function.

(kre)

2017-05-14 17:27:05 UTC MAIN commitmail json YAML

When opening a file descritor with "exec n>/file" (and similar) only
set the close-on-exec bit when not in posix mode (to comply with posix...)
OK: christos@

(kre)

2017-05-14 15:36:46 UTC MAIN commitmail json YAML

Remove #if 0'ed old style cache handling in pmap_md_unmap_poolpage

(skrll)

2017-05-14 14:14:39 UTC MAIN commitmail json YAML

Add mention of ;& in the list of control operators (forgotten before).
Document the (slightly) enhanced NETBSD_SHELL.
Fix a typo (one of my typos...)
Move a commented out section to align with current planned changes
(and fix its commented out markup.)

(kre)

2017-05-14 13:49:55 UTC MAIN commitmail json YAML

Add uvm_map_pageable dummy function.  This means that the audio tests
should run again.

Ok christos@.

(nat)

2017-05-14 13:02:35 UTC prg-localcount2 commitmail json YAML

Rearrange the else clauses to make it work.

(pgoyette)

2017-05-14 12:35:47 UTC MAIN commitmail json YAML

Formatting and punctuation improvements.

(wiz)

2017-05-14 12:31:13 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2017-05-14 12:30:37 UTC MAIN commitmail json YAML

2017-05-14 12:29:10 UTC MAIN commitmail json YAML

2017-05-14 11:46:22 UTC MAIN commitmail json YAML

Handle the maximum number of colors across [di]caches

(skrll)

2017-05-14 11:39:17 UTC MAIN commitmail json YAML

define control register and associated bits for RTC supercap charger

(tnn)

2017-05-14 11:28:49 UTC MAIN commitmail json YAML

Add a test case for the various ways that ${xxx} expansions, which
contain a # character, can get parsed (which amounts to 86 extra checks,
any Australian can tell you why I decided to stop there and not add one
more...)

(kre)

2017-05-14 11:25:09 UTC MAIN commitmail json YAML

Fix a minor omission in last...

(kre)

2017-05-14 11:23:33 UTC MAIN commitmail json YAML

Make ${NETBSD_SHELL}  value include (a human recognisable form of)
MKREPRO_TIMESTAMP (as an additional word in the value, with a "BUILD:" prefix)
if it is set during the build.  (Trailing 00 pairs in the time are removed).

While here, throw in some extra words that list the compilation
options used which alter sh behaviour (mostly by removing stuff.)
Usually that will only be noticed in a SMALL shell compiled for
install media, or similar - none of the others (not that there
are many) are ever changed from the default in a normal build
(default settings are just omitted.)  This also allows scripts
to tell if they are running in a DEBUG shell, which can sometimes
make debugging easier.

(kre)

2017-05-14 11:17:05 UTC MAIN commitmail json YAML

NFC: changes to comments only - expand/add comments relating to ${#...}
parsing, and all its peculiarities.

(kre)

2017-05-14 10:57:32 UTC MAIN commitmail json YAML

Increase the priority of the mixing/record threads as high as possibile.

Suggested by mrg@.

(nat)

2017-05-14 10:53:26 UTC MAIN commitmail json YAML

Use more, or more appropriate, markup.

(wiz)

2017-05-14 10:08:49 UTC MAIN commitmail json YAML

Restore the use of sc_intr_lock as it was in rev 1.334.
The ring buffer pages are now wired so the use of the interrupt lock won't
cause panics.

Ok riastradh@.

(nat)

2017-05-14 10:01:34 UTC MAIN commitmail json YAML

Use uvm_map_pageable to wire audio ringbuffer pages an virtual addresses.

Ok riastradh@.

(nat)

2017-05-14 09:37:13 UTC MAIN commitmail json YAML

Set mci_{,i}cache_alias_mask for all variants that can have virtual cache
aliases

Set ncolors appropriately

These align to dcache and expect icache aliases to be dealt with by the
pmap directly.

(skrll)

2017-05-14 09:33:17 UTC MAIN commitmail json YAML

Really fix typo that got dcache alias mask set from icache way_mask

(skrll)

2017-05-14 09:32:01 UTC MAIN commitmail json YAML

Fix typo that got dcache alias mask set from icache way_mask

(skrll)

2017-05-14 05:38:38 UTC prg-localcount2 commitmail json YAML

Mark variable as __diagused to fix build-break

(pgoyette)

2017-05-14 05:33:41 UTC prg-localcount2 commitmail json YAML

Fix typo - causes build failure!

(pgoyette)

2017-05-14 04:26:40 UTC MAIN commitmail json YAML

Remove regress lseek tests, obsoleted by ATF

Many tests verify lseek through rumpkernels:
- tests/dev/cgd/t_cgd_3des
- tests/dev/cgd/t_cgd_aes
- tests/dev/cgd/t_cgd_blowfish
- tests/rump/rumpvfs/t_basic
- tests/rump/rumpvfs/t_etfs

There are traditional lseek(2) tests too:
- tests/kernel/kqueue/read/t_file
- tests/kernel/kqueue/read/t_file2
- tests/kernel/t_lockf
- tests/lib/libc/stdio/t_fflush
- tests/lib/libc/stdio/t_fopen
- tests/lib/libc/sys/t_msync
- etc

(kamil)

2017-05-14 04:21:52 UTC MAIN commitmail json YAML

Remove regress getdents test, obsoleted by ATF tests

There are ATF tests using rumpkernel to verify getdents:
- tests/fs/hfs/t_pathconvert
- tests/fs/kernfs/t_basic
- tests/fs/vfs/t_union

(kamil)

2017-05-14 04:19:06 UTC MAIN commitmail json YAML

Remove dead leftover Makefiles from src/regress

(kamil)

2017-05-14 04:17:26 UTC MAIN commitmail json YAML

Remove tests for executable/non-executable stack.

These tests were not portable across compilers and recently NetBSD moved
to PaX MPROTECT.

(kamil)

2017-05-14 04:01:10 UTC MAIN commitmail json YAML

Drop broken tests (no longer builds in years)

Removed:
- callout1
- mutex1
- mutex2
- priority_inheritance1
- rwlock1

These tests used to require lkm code, that has been removed.
Today they are implicitly mostly verified by rumpkernel tests in ATF.

(kamil)

2017-05-14 03:50:43 UTC MAIN commitmail json YAML

2017-05-14 03:42:42 UTC MAIN commitmail json YAML

Remove regress sys/crypto tests, obsoleted by ATF ones

These algorithms are used in ATF tests/net/ipsec

Today it's better to use rumpkernel to verify this code instead of
reinventing testsuites linking with selected kernel private source files.

(kamil)

2017-05-14 03:36:36 UTC MAIN commitmail json YAML

Drop regress test for des, obsoleted by ATF tests/lib/libdes/t_des

(kamil)

2017-05-14 02:30:27 UTC MAIN commitmail json YAML

Drop usr.bin/rtld/testlib, replaced with ATF tests in usr.bin/c++/*

This regress tests used to check dynamically loaded objects:
constructor/destructor call for static objects, C++ runtime support.

This is mostly - although without virtual functions, inheritance - covered
by existing ATF tests.

Stop descending into regress/usr.bin.

(kamil)

2017-05-14 02:07:59 UTC MAIN commitmail json YAML

Eliminate regress/usr.bin/c++/static_destructor - obsoleted with ATF tests

Replaced and enhanced with tests/usr.bin/c++/t_static_destructor.

(kamil)

2017-05-14 02:02:25 UTC MAIN commitmail json YAML

Add new ATF C++ tests in usr.bin/c++: t_static_destructor

These tests are cloned from t_cxxruntime and check proper order of destructor
calls. They must be reported in reverse order of constructor completion.

Added tests:
- static_destructor
- static_destructor_pic
- static_destructor_pie
- static_destructor32

This test file replaces src/regress/usr.bin/c++/static_destructor.

(kamil)

2017-05-14 01:13:44 UTC MAIN commitmail json YAML

Use more C++ sugar in t_cxxruntime (ATF test)

(kamil)

2017-05-14 01:03:21 UTC MAIN commitmail json YAML

Add new ATF C++ tests in usr.bin/c++

These tests are cloned from t_hello and use c++ runtime basic functions.

Added tests:
- hello
- hello_pic
- hello_pie
- hello32

(kamil)

2017-05-14 00:07:07 UTC MAIN commitmail json YAML

Add new c++ ATF tests in usr.bin/c++: t_hello

This is a copy of t_hello from usr.bin/cc.

Added tests:
- hello
- hello_pic
- hello_pie
- hello32

These tests do not use c++ runtime library functions.

Protect these tests with MKCXX.

(kamil)

2017-05-13 23:51:39 UTC MAIN commitmail json YAML

Correct hellp_pic ATF test in usr.bin/cc

Drop "-dPIC", this is misspelled "-DPIC" option for libtool.
Enhance code example to be more pedantic.

(kamil)

2017-05-13 21:27:11 UTC MAIN commitmail json YAML

2017-05-13 20:35:20 UTC MAIN commitmail json YAML

refactor error handling in vioscsi_scsipi_request() to avoid the goto maze,
and add missing virtio_enqueue_abort() call when bus_dmamap_load() fails;
abort is only done implicitely when virtio_enqueue_reserve() fails,
must do it explicitely if there is other reason

also now always print error when bus_dmamap_load() or virtio_enqueue_reserve()
fail - the former shouldn't fail due to BUS_DMA_ALLOCNOW, and the latter
shouldn't ever fail now after the maxnsegs fix for virtio_alloc_vq(), so
error there means driver bug

(jdolecek)

2017-05-13 20:17:43 UTC MAIN commitmail json YAML

fix number of maximum segments in the queue allocation so that
MAXPHYS-sized tranfer fits inside the indirect descriptor; avoids the
!indirect path in virtio_enqueue_reserve() for these transfers,
which runs out of the vq_entries and triggers XS_RESOURCE_SHORTAGE for
bigger number of outstanding tranfers

fixes PR kern/52199 by MB

(jdolecek)

2017-05-13 20:13:27 UTC MAIN commitmail json YAML

avoid a double ifa_release() and thus a panic
when e. g. running ifmcstat
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?

(kardel)

2017-05-13 15:07:58 UTC MAIN commitmail json YAML

blindly bump libm shlib version here too
seems to be the right thing

(maya)

2017-05-13 15:03:34 UTC MAIN commitmail json YAML

Fix inconsistent whitespace

(gson)

2017-05-13 13:17:11 UTC MAIN commitmail json YAML

Belatedly bump minor.

lots of changes since -7 (libm.so.0.11), including:
new functions: llroundl, lroundl, erfl, erfcl
partial switch to freebsd catrig

(maya)

2017-05-13 10:44:58 UTC MAIN commitmail json YAML

minor cleanup in customize_evbarm():
keep handling of /etc/rc.conf in one place

(hubertf)

2017-05-13 06:31:44 UTC netbsd-7 commitmail json YAML

1407, 1408, 1415

(snj)

2017-05-13 06:28:59 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1408):
sys/arch/amd64/conf/XEN3_DOM0: revision 1.135 via patch
Add ixg(4). Fixes PR#52180 from Harry Waddell.

(snj)

2017-05-13 06:23:24 UTC netbsd-7 commitmail json YAML

src/external/gpl2/xcvs/Makefile.inc@1.3.8.1 / diff / nxr@1.3.8.1
src/external/gpl2/xcvs/bin/xcvs/Makefile@1.4.10.1 / diff / nxr@1.4.10.1
src/external/gpl2/xcvs/dist/build-aux/config.guess@1.3.10.1 / diff / nxr@1.3.10.1
src/external/gpl2/xcvs/dist/build-aux/config.sub@1.3.10.1 / diff / nxr@1.3.10.1
src/external/gpl2/xcvs/dist/doc/cvs.1@1.2.20.1 / diff / nxr@1.2.20.1
src/external/gpl2/xcvs/dist/doc/cvs.texinfo@1.2.20.1 / diff / nxr@1.2.20.1
src/external/gpl2/xcvs/dist/lib/__fpending.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/alloca.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/allocsa.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/asnprintf.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/asprintf.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/atexit.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/basename.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/canon-host.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/canonicalize.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/chdir-long.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/closeout.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/cycle-check.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/dirname.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
src/external/gpl2/xcvs/dist/lib/dup-safer.c@1.1.1.1.26.1 / diff / nxr@1.1.1.1.26.1
      :
(more 145 files)
Pull up following revision(s) (requested by christos in ticket #1407):
external/gpl2/xcvs/Makefile.inc: up to 1.4
external/gpl2/xcvs/bin/xcvs/Makefile: up to 1.5
external/gpl2/xcvs/dist/build-aux/config.guess: up to 1.4
external/gpl2/xcvs/dist/build-aux/config.sub: up to 1.4
external/gpl2/xcvs/dist/doc/cvs.1: up to 1.4
external/gpl2/xcvs/dist/doc/cvs.texinfo: up to 1.3
external/gpl2/xcvs/dist/lib/__fpending.c: up to 1.2
external/gpl2/xcvs/dist/lib/alloca.c: up to 1.2
external/gpl2/xcvs/dist/lib/allocsa.c: up to 1.2
external/gpl2/xcvs/dist/lib/asnprintf.c: up to 1.2
external/gpl2/xcvs/dist/lib/asprintf.c: up to 1.2
external/gpl2/xcvs/dist/lib/atexit.c: up to 1.2
external/gpl2/xcvs/dist/lib/basename.c: up to 1.2
external/gpl2/xcvs/dist/lib/canon-host.c: up to 1.2
external/gpl2/xcvs/dist/lib/canonicalize.c: up to 1.2
external/gpl2/xcvs/dist/lib/chdir-long.c: up to 1.2
external/gpl2/xcvs/dist/lib/closeout.c: up to 1.2
external/gpl2/xcvs/dist/lib/cycle-check.c: up to 1.2
external/gpl2/xcvs/dist/lib/dirname.c: up to 1.2
external/gpl2/xcvs/dist/lib/dup-safer.c: up to 1.2
external/gpl2/xcvs/dist/lib/dup2.c: up to 1.2
external/gpl2/xcvs/dist/lib/error.c: up to 1.2
external/gpl2/xcvs/dist/lib/exitfail.c: up to 1.2
external/gpl2/xcvs/dist/lib/fd-safer.c: up to 1.2
external/gpl2/xcvs/dist/lib/filenamecat.c: up to 1.2
external/gpl2/xcvs/dist/lib/fncase.c: up to 1.2
external/gpl2/xcvs/dist/lib/fnmatch.c: up to 1.2
external/gpl2/xcvs/dist/lib/fnmatch_loop.c: up to 1.2
external/gpl2/xcvs/dist/lib/fseeko.c: up to 1.2
external/gpl2/xcvs/dist/lib/ftello.c: up to 1.2
external/gpl2/xcvs/dist/lib/ftruncate.c: up to 1.2
external/gpl2/xcvs/dist/lib/gai_strerror.c: up to 1.2
external/gpl2/xcvs/dist/lib/getaddrinfo.c: up to 1.2
external/gpl2/xcvs/dist/lib/getcwd.c: up to 1.2
external/gpl2/xcvs/dist/lib/getdate.c: up to 1.3
external/gpl2/xcvs/dist/lib/getdelim.c: up to 1.2
external/gpl2/xcvs/dist/lib/gethostname.c: up to 1.2
external/gpl2/xcvs/dist/lib/getline.c: up to 1.2
external/gpl2/xcvs/dist/lib/getlogin_r.c: up to 1.2
external/gpl2/xcvs/dist/lib/getndelim2.c: up to 1.2
external/gpl2/xcvs/dist/lib/getnline.c: up to 1.2
external/gpl2/xcvs/dist/lib/getopt.c: up to 1.2
external/gpl2/xcvs/dist/lib/getopt1.c: up to 1.2
external/gpl2/xcvs/dist/lib/getpass.c: up to 1.2
external/gpl2/xcvs/dist/lib/gettime.c: up to 1.2
external/gpl2/xcvs/dist/lib/gettimeofday.c: up to 1.2
external/gpl2/xcvs/dist/lib/glob.c: up to 1.2
external/gpl2/xcvs/dist/lib/lstat.c: up to 1.2
external/gpl2/xcvs/dist/lib/malloc.c: up to 1.2
external/gpl2/xcvs/dist/lib/mbchar.c: up to 1.2
external/gpl2/xcvs/dist/lib/md5.c: up to 1.2
external/gpl2/xcvs/dist/lib/memchr.c: up to 1.2
external/gpl2/xcvs/dist/lib/memmove.c: up to 1.2
external/gpl2/xcvs/dist/lib/mempcpy.c: up to 1.2
external/gpl2/xcvs/dist/lib/memrchr.c: up to 1.2
external/gpl2/xcvs/dist/lib/mkdir.c: up to 1.2
external/gpl2/xcvs/dist/lib/mkstemp.c: up to 1.2
external/gpl2/xcvs/dist/lib/mktime.c: up to 1.2
external/gpl2/xcvs/dist/lib/nanosleep.c: up to 1.2
external/gpl2/xcvs/dist/lib/openat.c: up to 1.2
external/gpl2/xcvs/dist/lib/pagealign_alloc.c: up to 1.2
external/gpl2/xcvs/dist/lib/pipe-safer.c: up to 1.2
external/gpl2/xcvs/dist/lib/printf-args.c: up to 1.2
external/gpl2/xcvs/dist/lib/printf-parse.c: up to 1.2
external/gpl2/xcvs/dist/lib/progname.c: up to 1.2
external/gpl2/xcvs/dist/lib/quotearg.c: up to 1.3
external/gpl2/xcvs/dist/lib/readlink.c: up to 1.2
external/gpl2/xcvs/dist/lib/realloc.c: up to 1.2
external/gpl2/xcvs/dist/lib/regcomp.c: up to 1.2
external/gpl2/xcvs/dist/lib/regex.c: up to 1.2
external/gpl2/xcvs/dist/lib/regex_internal.c: up to 1.2
external/gpl2/xcvs/dist/lib/regexec.c: up to 1.3
external/gpl2/xcvs/dist/lib/rename.c: up to 1.2
external/gpl2/xcvs/dist/lib/rpmatch.c: up to 1.2
external/gpl2/xcvs/dist/lib/save-cwd.c: up to 1.2
external/gpl2/xcvs/dist/lib/setenv.c: up to 1.2
external/gpl2/xcvs/dist/lib/sighandle.c: up to 1.2
external/gpl2/xcvs/dist/lib/strcasecmp.c: up to 1.2
external/gpl2/xcvs/dist/lib/strdup.c: up to 1.2
external/gpl2/xcvs/dist/lib/strerror.c: up to 1.2
external/gpl2/xcvs/dist/lib/strftime.c: up to 1.2
external/gpl2/xcvs/dist/lib/stripslash.c: up to 1.2
external/gpl2/xcvs/dist/lib/strncasecmp.c: up to 1.2
external/gpl2/xcvs/dist/lib/strnlen1.c: up to 1.2
external/gpl2/xcvs/dist/lib/strstr.c: up to 1.2
external/gpl2/xcvs/dist/lib/strtol.c: up to 1.2
external/gpl2/xcvs/dist/lib/strtoul.c: up to 1.2
external/gpl2/xcvs/dist/lib/sunos57-select.c: up to 1.2
external/gpl2/xcvs/dist/lib/tempname.c: up to 1.2
external/gpl2/xcvs/dist/lib/time_r.c: up to 1.2
external/gpl2/xcvs/dist/lib/unsetenv.c: up to 1.2
external/gpl2/xcvs/dist/lib/vasnprintf.c: up to 1.4
external/gpl2/xcvs/dist/lib/vasprintf.c: up to 1.2
external/gpl2/xcvs/dist/lib/waitpid.c: up to 1.2
external/gpl2/xcvs/dist/lib/xalloc-die.c: up to 1.2
external/gpl2/xcvs/dist/lib/xgetcwd.c: up to 1.2
external/gpl2/xcvs/dist/lib/xgethostname.c: up to 1.2
external/gpl2/xcvs/dist/lib/xmalloc.c: up to 1.2
external/gpl2/xcvs/dist/lib/xreadlink.c: up to 1.2
external/gpl2/xcvs/dist/lib/yesno.c: up to 1.2
external/gpl2/xcvs/dist/src/acl.c: up to 1.6
external/gpl2/xcvs/dist/src/add.c: up to 1.4
external/gpl2/xcvs/dist/src/admin.c: up to 1.6
external/gpl2/xcvs/dist/src/annotate.c: up to 1.4
external/gpl2/xcvs/dist/src/buffer.c: up to 1.2
external/gpl2/xcvs/dist/src/checkin.c: up to 1.2
external/gpl2/xcvs/dist/src/checkout.c: up to 1.4
external/gpl2/xcvs/dist/src/classify.c: up to 1.2
external/gpl2/xcvs/dist/src/client.c: up to 1.5
external/gpl2/xcvs/dist/src/commit.c: up to 1.5
external/gpl2/xcvs/dist/src/create_adm.c: up to 1.2
external/gpl2/xcvs/dist/src/cvsrc.c: up to 1.2
external/gpl2/xcvs/dist/src/diff.c: up to 1.4
external/gpl2/xcvs/dist/src/edit.c: up to 1.3
external/gpl2/xcvs/dist/src/entries.c: up to 1.3
external/gpl2/xcvs/dist/src/error.c: up to 1.3
external/gpl2/xcvs/dist/src/exithandle.c: up to 1.4
external/gpl2/xcvs/dist/src/expand_path.c: up to 1.2
external/gpl2/xcvs/dist/src/fileattr.c: up to 1.2
external/gpl2/xcvs/dist/src/filesubr.c: up to 1.5
external/gpl2/xcvs/dist/src/find_names.c: up to 1.3
external/gpl2/xcvs/dist/src/gssapi-client.c: up to 1.3
external/gpl2/xcvs/dist/src/hardlink.c: up to 1.2
external/gpl2/xcvs/dist/src/hash.c: up to 1.2
external/gpl2/xcvs/dist/src/history.c: up to 1.4
external/gpl2/xcvs/dist/src/ignore.c: up to 1.3
external/gpl2/xcvs/dist/src/import.c: up to 1.7
external/gpl2/xcvs/dist/src/kerberos4-client.c: up to 1.2
external/gpl2/xcvs/dist/src/lock.c: up to 1.5
external/gpl2/xcvs/dist/src/log-buffer.c: up to 1.2
external/gpl2/xcvs/dist/src/log.c: up to 1.4
external/gpl2/xcvs/dist/src/login.c: up to 1.3
external/gpl2/xcvs/dist/src/logmsg.c: up to 1.5
external/gpl2/xcvs/dist/src/ls.c: up to 1.4
external/gpl2/xcvs/dist/src/main.c: up to 1.6
external/gpl2/xcvs/dist/src/mkmodules.c: up to 1.7
external/gpl2/xcvs/dist/src/modules.c: up to 1.4
external/gpl2/xcvs/dist/src/ms-buffer.c: up to 1.2
external/gpl2/xcvs/dist/src/myndbm.c: up to 1.2
external/gpl2/xcvs/dist/src/no_diff.c: up to 1.2
external/gpl2/xcvs/dist/src/parseinfo.c: up to 1.4
external/gpl2/xcvs/dist/src/patch.c: up to 1.7
external/gpl2/xcvs/dist/src/rcs.c: up to 1.6
external/gpl2/xcvs/dist/src/rcscmds.c: up to 1.2
external/gpl2/xcvs/dist/src/recurse.c: up to 1.3
external/gpl2/xcvs/dist/src/release.c: up to 1.3
external/gpl2/xcvs/dist/src/remove.c: up to 1.4
external/gpl2/xcvs/dist/src/repos.c: up to 1.2
external/gpl2/xcvs/dist/src/root.c: up to 1.2
external/gpl2/xcvs/dist/src/rsh-client.c: up to 1.2
external/gpl2/xcvs/dist/src/run.c: up to 1.3
external/gpl2/xcvs/dist/src/scramble.c: up to 1.2
external/gpl2/xcvs/dist/src/server.c: up to 1.8
external/gpl2/xcvs/dist/src/socket-client.c: up to 1.2
external/gpl2/xcvs/dist/src/stack.c: up to 1.2
external/gpl2/xcvs/dist/src/status.c: up to 1.4
external/gpl2/xcvs/dist/src/subr.c: up to 1.4
external/gpl2/xcvs/dist/src/tag.c: up to 1.4
external/gpl2/xcvs/dist/src/update.c: up to 1.11
external/gpl2/xcvs/dist/src/vers_ts.c: up to 1.2
external/gpl2/xcvs/dist/src/version.c: up to 1.3
external/gpl2/xcvs/dist/src/watch.c: up to 1.3
external/gpl2/xcvs/dist/src/wrapper.c: up to 1.2
external/gpl2/xcvs/dist/src/zlib.c: up to 1.3
external/gpl2/xcvs/include/config.h: up to 1.7
- Add RCSIDs
- Add "update -t"
- Fix issues with whitespace in cvs import
- Don't redefine MAP_ANONYMOUS

(snj)

2017-05-13 05:33:48 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by mbalmer in ticket #1415):
doc/3RDPARTY: 1.1436, 1.1439
external/mit/lua/dist/Makefile: up to 1.7
external/mit/lua/dist/README: up to 1.7
external/mit/lua/dist/doc/contents.html: up to 1.6
external/mit/lua/dist/doc/logo.gif: up to 1.1.1.2
external/mit/lua/dist/doc/lua.1: up to 1.7
external/mit/lua/dist/doc/manual.html: up to 1.7
external/mit/lua/dist/doc/readme.html: up to 1.6
external/mit/lua/dist/src/lauxlib.c: up to 1.10
external/mit/lua/dist/src/lauxlib.h: up to 1.7
external/mit/lua/dist/src/lbaselib.c: up to 1.9
external/mit/lua/dist/src/lcode.c: up to 1.10
external/mit/lua/dist/src/ldebug.c: up to 1.9
external/mit/lua/dist/src/ldo.c: up to 1.8
external/mit/lua/dist/src/lgc.c: up to 1.8
external/mit/lua/dist/src/linit.c: up to 1.8
external/mit/lua/dist/src/liolib.c: up to 1.8
external/mit/lua/dist/src/lmathlib.c: up to 1.8
external/mit/lua/dist/src/loadlib.c: up to 1.8
external/mit/lua/dist/src/lobject.c: up to 1.11
external/mit/lua/dist/src/lobject.h: up to 1.9
external/mit/lua/dist/src/lopcodes.h: up to 1.7
external/mit/lua/dist/src/loslib.c: up to 1.10
external/mit/lua/dist/src/lparser.c: up to 1.10
external/mit/lua/dist/src/lstate.h: up to 1.8
external/mit/lua/dist/src/lstrlib.c: up to 1.17
external/mit/lua/dist/src/ltable.c: up to 1.9
external/mit/lua/dist/src/ltable.h: up to 1.7
external/mit/lua/dist/src/ltm.c: up to 1.8
external/mit/lua/dist/src/lua.c: up to 1.8
external/mit/lua/dist/src/lua.h: up to 1.9
external/mit/lua/dist/src/luaconf.h: up to 1.21
external/mit/lua/dist/src/lualib.h: up to 1.6
external/mit/lua/dist/src/lutf8lib.c: up to 1.7
external/mit/lua/dist/src/lvm.h: up to 1.9
Update Lua to 5.3.4.

(snj)

2017-05-13 03:26:03 UTC MAIN commitmail json YAML

The beginnings of the great shell DEBUG (tracing) upgrade of 2017...

First, be aware that the DEBUG spoken of here has nothing whatever to
do with MKDEBUG=true type builds of NetBSD.  The only way to get a
DEBUG shell is to build it yourself manually.

That said, for non-DEBUG shells, this change makes only one slight
(trivial really) difference, which should affect nothing.

Previously some code was defined like ...

function(args)
{
#ifdef DEBUG
/* function code goes here */
#endif
}

and called like ...

#ifdef DEBUG
function(params);
#endif

resulting in several empty functions that are never called being
defined in non-DEBUG shells.  Those are now gone.  If you can detect
the difference any way other than using "nm" or similar, I'd be very
surprised...

For DEBUG shells, this introduces a whole new TRACE() setup to use
to assist in debugging the shell.

I have had this locally (uncommitted) for over a year...  it helps.

By itself this change is almost useless, nothing really changes, but
it provides the framework to allow other TRACE() calls to be updated
over time.  This is why I had not committed this earlier, my previous
version required a flag day, with all the shell's internal tracing
being updated a once - which I had done, but that shell version has
bit-rotted so badly now it is almost useless...

Future updates will add the mechanism to allow the new stuff to actually
be used in a productive way, and following that, over time, gradual
conversion of all the shell tracing to the updated form (as required,
or when I am bored...)

The one useful change that we do get now is that the fd that the shell
uses for tracing (which was usually 3, but not any more) is now protected
from user/script interference, like all the other shell inernal fds.

There is no doc (nor will there be) on any of this, if you are not reading
the source code it is useless to you, if you are, you know how it works.

(kre)

2017-05-13 02:58:03 UTC MAIN commitmail json YAML

2017-05-12 22:12:23 UTC prg-localcount2 commitmail json YAML

When we're draining the localcount's references, transfer the local
CPU's reference count to the global total, and then zero it.  Any
further calls to localcount_release() will adjust only the global
counter.

Avoids a race condition which depends on having localcount_release()
being aware of whether the local CPU's contribution has already been
accounted for.  Thanks to Kengo NAKAHARA for bringing up the question,
and to riastradh@ for the solution.

(pgoyette)

2017-05-12 21:14:47 UTC MAIN commitmail json YAML

Fix typo in "Interrupt"

Noted by <wiz>

(kamil)

2017-05-12 21:01:36 UTC MAIN commitmail json YAML

Fix a typo: s/intepretation/interpretation

(abhinav)

2017-05-12 20:58:35 UTC MAIN commitmail json YAML

Change section number from 1M to 1
The man page gets installed in section 1 anyway.

Ok christos, mrg

(abhinav)

2017-05-12 17:53:54 UTC MAIN commitmail json YAML

2017-05-12 12:18:37 UTC MAIN commitmail json YAML

KASSERT -> KASSERTMSG

(skrll)

2017-05-12 12:18:07 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2017-05-12 10:48:34 UTC netbsd-7 commitmail json YAML

2017-05-12 10:48:11 UTC netbsd-7 commitmail json YAML

Pull up the following revisions(s) (requested by roy in ticket #1420):
sys/netinet/ip_carp.c: revision 1.88

carp should call if_link_state_change instead of affecting
if_link_state directly.

(sborrill)

2017-05-12 09:22:01 UTC MAIN commitmail json YAML

carp should call if_link_state_change instead of affecting
if_link_state directly.

(roy)

2017-05-12 08:55:38 UTC MAIN commitmail json YAML

Improve the description of option processing (including the shell's
arg list processing), and the set command in general.
Also add some (new) commented out text related to options which may
be commented back in sometime soon...

(kre)

2017-05-12 08:39:47 UTC MAIN commitmail json YAML

Corrected some typos, added some (hopefully improving) extra text,
sorted stuff that needed sorting, and added some (probably incorrect)
markup...

(kre)

2017-05-12 08:03:26 UTC MAIN commitmail json YAML

Call the right filter function for hook removal found by Stephen Borrill.

(christos)

2017-05-12 07:26:35 UTC MAIN commitmail json YAML

Slightly increase the image size

(martin)

2017-05-12 07:12:37 UTC MAIN commitmail json YAML

Fix a debug printf

(martin)

2017-05-12 06:49:31 UTC MAIN commitmail json YAML

2017-05-12 06:43:42 UTC MAIN commitmail json YAML

Code style and add a comment

(skrll)

2017-05-12 06:38:18 UTC MAIN commitmail json YAML

Don't access pg before the KASSERT it's not NULL

(skrll)

2017-05-12 06:24:53 UTC prg-localcount2 commitmail json YAML

Add info for localcount(9)

Sort SEE ALSO

Sort the usage table

XXX This man-page is a work in progress.  Notably, it is still missing
XXX a section on psref(9).

(pgoyette)

2017-05-12 06:23:29 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1406):
        sys/arch/mips/include/ecoff_machdep.h: revision 1.23
        sys/sys/exec_ecoff.h: revision 1.21
        tools/Makefile.nbincludes: revision 1.5
        tools/mips-elf2ecoff/Makefile: revision 1.3
        tools/mips-elf2ecoff/machine/ecoff_machdep.h: revision 1.3
        tools/mips-elf2ecoff/sys/exec_elf.h: file removal
        tools/mips-elf2ecoff/sys/exec_ecoff.h: file removal
        usr.bin/elf2ecoff/elf2ecoff.c: revision 1.30-1.33
use the nbcompat copies for those files
--
ignore the abiflags section
--
Add exec_ecoff.h
--
provide ecoff 32 defines.
--
This only works with 32 bit Elf and COFF files, make it specific this way
and use sized types so that it works on 64 bit systems (so it can become
a tool).
--
Provided sized definitions for ecoff 32 bit headers.
--
refresh
--
fix printf format.
--
fix printf format

(snj)

2017-05-12 06:19:33 UTC netbsd-7 commitmail json YAML

1396, 1373, 1386, 1387, 1390, 1392, 1394, 1401, 1402, 1406

(snj)

2017-05-12 06:17:00 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1406):
sys/arch/mips/include/ecoff_machdep.h: revision 1.23
sys/sys/exec_ecoff.h: revision 1.21
tools/Makefile.nbincludes: revision 1.5
tools/mips-elf2ecoff/Makefile: revision 1.3
tools/mips-elf2ecoff/machine/ecoff_machdep.h: revision 1.3
tools/mips-elf2ecoff/sys/exec_elf.h: file removal
tools/mips-elf2ecoff/sys/exec_ecoff.h: file removal
usr.bin/elf2ecoff/elf2ecoff.c: revision 1.30-1.33
use the nbcompat copies for those files
--
ignore the abiflags section
--
Add exec_ecoff.h
--
provide ecoff 32 defines.
--
This only works with 32 bit Elf and COFF files, make it specific this way
and use sized types so that it works on 64 bit systems (so it can become
a tool).
--
Provided sized definitions for ecoff 32 bit headers.
--
refresh
--
fix printf format.
--
fix printf format

(snj)

2017-05-12 05:55:07 UTC netbsd-7-1 commitmail json YAML

2017-05-12 05:50:20 UTC netbsd-7-0 commitmail json YAML

2017-05-12 05:46:39 UTC MAIN commitmail json YAML

KASSERT -> MASSERTMSG

(skrll)

2017-05-12 05:45:59 UTC MAIN commitmail json YAML

Sprinkle some KASSERTs

(skrll)

2017-05-12 05:44:10 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll/ozaki-r in ticket #1402):
sys/net/route.c: revision 1.170 via patch
sys/netinet/ip_flow.c: revision 1.73 via patch
sys/netinet6/ip6_flow.c: revision 1.28 via patch
sys/netinet6/nd6.c: revision 1.203 via patch
Run timers in workqueue
Timers (such as nd6_timer) typically free/destroy some data in callout
(softint). If we apply psz/psref for such data, we cannot do free/destroy
process in there because synchronization of psz/psref cannot be used in
softint. So run timer callbacks in workqueue works (normal LWP context).
Doing workqueue_enqueue a work twice (i.e., call workqueue_enqueue before
a previous task is scheduled) isn't allowed. For nd6_timer and
rt_timer_timer, this doesn't happen because callout_reset is called only
from workqueue's work. OTOH, ip{,6}flow_slowtimo's callout can be called
before its work starts and completes because the callout is periodically
called regardless of completion of the work. To avoid such a situation,
add a flag for each protocol; the flag is set true when a work is
enqueued and set false after the work finished. workqueue_enqueue is
called only if the flag is false.
Proposed on tech-net and tech-kern.

(snj)

2017-05-12 05:33:37 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #1401):
sbin/luactl/luactl.8: revision 1.7
Direct reader to intro(9lua), lua(9) does not exist.

(snj)

2017-05-12 05:32:12 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #1394):
sys/net/npf/npf_inet.c: revisions 1.34, 1.35 via patch
sys/net/npf/npf_mbuf.c: revision 1.16
sys/net/npf/npf_nat.c: revision 1.40
minimal changes necessary to link into an INET6-less kernel.
--
fixup misplaced #endif

(snj)

2017-05-12 05:28:23 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #1392):
share/misc/bsd-family-tree: revision 1.59
Sync with r316082 from FreeBSD

(snj)

2017-05-12 05:21:43 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by ryo in ticket #1390):
sbin/ping/ping.c: revision 1.116
Fix cksum calculation for clearing the cached route.
In ping.c:r1.104, the size of echoreply packet was changed to ICMP_MINLEN,
Therefore also calculation size must be ICMP_MINLEN.

(snj)

2017-05-12 05:21:01 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by ryo in ticket #1390):
sbin/ping/ping.c: revision 1.116
Fix cksum calculation for clearing the cached route.
In ping.c:r1.104, the size of echoreply packet was changed to ICMP_MINLEN,
Therefore also calculation size must be ICMP_MINLEN.

(snj)

2017-05-12 05:20:27 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by ryo in ticket #1390):
sbin/ping/ping.c: revision 1.116
Fix cksum calculation for clearing the cached route.
In ping.c:r1.104, the size of echoreply packet was changed to ICMP_MINLEN,
Therefore also calculation size must be ICMP_MINLEN.

(snj)

2017-05-12 05:17:40 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #1387):
sys/arch/arm/omap/omap_edma.c: revision 1.4 via patch
PR/51380: Mutex error: mutex_vector_enter: locking against myself
Change the interrupt handler IPL level to IPL_VM (aka IPL_BIO aka
IPL_SDMMC) so that the sdhc_host_lock prevents edma_intr from running

(snj)

2017-05-12 05:12:59 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #1386):
distrib/utils/embedded/mkimage: revision 1.62
Mark the msdos parition active for boards like the BeagleBone Black

(snj)

2017-05-12 05:09:47 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1373):
usr.sbin/rtadvd/config.c: revision 1.36
usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

(snj)

2017-05-12 05:08:00 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1373):
usr.sbin/rtadvd/config.c: revision 1.36
usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

(snj)

2017-05-12 05:05:17 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1373):
usr.sbin/rtadvd/config.c: revision 1.36
usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

(snj)

2017-05-12 04:59:12 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by khorben in ticket #1369):
sys/dev/pci/hdaudio/hdaudio_pci.c: patch based on revision 1.6 of sys/dev/pci/hdaudio_pci.c
Always allow hdaudio(4) to suspend
Sometimes hdaudio(4) can fail to attach, but the device remains in the
tree. Even though the PMF registration is performed, it is explicitly
de-registered in the code path for errors - therefore preventing suspending
later. This patch makes sure PMF registration is performed accordingly upon
errors as well.
No objection on tech-kern@.
Tested on a Lenovo ThinkPad T440s (amd64).

(snj)

2017-05-12 04:15:40 UTC MAIN commitmail json YAML

Blksize is now calculated on sc_pustream/sc_rustream.
Don't allow hw ring buffer to be saturated and data overwritten.

It should help PR kern/52175.

(nat)

2017-05-12 02:34:46 UTC MAIN commitmail json YAML

2017-05-12 00:41:25 UTC MAIN commitmail json YAML

rasops_reconfig(): don't clear flags we won't set here

(macallan)

2017-05-11 23:50:17 UTC MAIN commitmail json YAML

protect against NULL, from PaulG

(christos)

2017-05-11 23:39:15 UTC MAIN commitmail json YAML

UVM_ADV_NORMAL-> UVM_ADV_RANDOM as this reflects the usage more acurately.

Ok riastradh@.

(nat)

2017-05-11 23:32:27 UTC MAIN commitmail json YAML

If silence is inserted into hw ring directly the free space in the hw ring
not mix ring is needed.

(nat)

2017-05-11 23:26:48 UTC MAIN commitmail json YAML

Improved overflow test for audio_mmap.

Ok riastradh@.

(nat)

2017-05-11 23:20:38 UTC MAIN commitmail json YAML

Revert FNONBLOCK logic to that from rev 1.335.

Ok riastradh@.

(nat)

2017-05-11 22:38:56 UTC MAIN commitmail json YAML

Explicitly set the flags instead of masking set values in.

This fixes FNONBLOCK weirdness seen in audio.c

OK christos@ and martin@.

(nat)

2017-05-11 22:19:29 UTC MAIN commitmail json YAML

Document SPL in wtf(6)

SPL    system interrupt priority level
SPL    spinlock

The former is documented in spl(9) in the NetBSD context.
The latter is used in some spinlock implementations.

(kamil)

2017-05-11 21:59:28 UTC MAIN commitmail json YAML

Add new entries for wtf(6)

CCNUMA cache-coherent non-uniform memory access
PIL    Priority Interrut Level
RMO    Relaxed Memory Ordering
TSO    Total Store Ordering

(kamil)

2017-05-11 21:31:12 UTC prg-localcount2 commitmail json YAML

Use kpreempt_{dis,en}able() rather than splsoftserial() for blocking
the local execution of the low-priority xcall.

Thanks to Kengo NAKAHARA for pointing this out.

(pgoyette)

2017-05-11 18:44:50 UTC MAIN commitmail json YAML

make it the same as rump.h

(christos)

2017-05-11 18:16:00 UTC MAIN commitmail json YAML

... but define RUMP_REGISTER_T if not defined.

(christos)

2017-05-11 18:08:10 UTC MAIN commitmail json YAML

Use the same exposure rules for register_t as <machine/types.h> does.
Eventually we could remove -D_KERNTYPES from all the rump libraries...

(christos)

2017-05-11 17:47:22 UTC MAIN commitmail json YAML

Don't depend on stars in order to define things.

(christos)

2017-05-11 15:42:15 UTC MAIN commitmail json YAML

Add commented out carp and mpls pseudo-devices to be consistent with
GENERIC

(sborrill)

2017-05-11 15:07:37 UTC MAIN commitmail json YAML

Fix some parser weirdness...
${#VAR:-foo} (or any other modifier on ${#VAR} is a syntax error.
On the other hand ${##} is not, nor is ${##13} though they mean
quite different things (the latter is an idiom everyone should learn,
... $# except we refuse to admit the possibility that it is 13...
Even I cannot explain what ${#-foo} used to do, but it wasn't sane!
(It should be just $# as $# is never unset, but ...)
Shell syntax is truly a wondrous thing!

(kre)

2017-05-11 14:57:14 UTC MAIN commitmail json YAML

Avoid truncating the command string saved with background jobs if
one of the words happens to contain ${#var}.  (This is the command
string shown by the "jobs" command, and when a background job completes)

While here, undo the LINENO hack when building that string.
And one ot two other foibles...

(kre)

2017-05-11 13:20:02 UTC MAIN commitmail json YAML

Remove more _KERNTYPES definitions in rump components.

(sevan)

2017-05-11 10:49:19 UTC MAIN commitmail json YAML

2017-05-11 10:21:56 UTC MAIN commitmail json YAML

Evil hack to fix the build: provide PRIxREGISTER here.
Sevan, please check and fix correctly ;-)

(martin)

2017-05-11 09:09:54 UTC MAIN commitmail json YAML

Fix non-DIAGNOSTIC build

(skrll)

2017-05-11 07:56:43 UTC MAIN commitmail json YAML

COPY_SYMTAB=1 so ddb commands ps, bt work

(maya)

2017-05-11 07:34:27 UTC MAIN commitmail json YAML

Avoid possible null pointer dereferencing.
Fixes PR kern/52225.

(mbalmer)

2017-05-11 06:46:45 UTC MAIN commitmail json YAML