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 (177d) 

2024-05-09 23:44:15 UTC Now

2016-06-05 09:03:10 UTC MAIN commitmail json YAML

initialize before check.

(mlelstv)

2016-06-05 08:30:13 UTC MAIN commitmail json YAML

2016-06-05 08:25:05 UTC MAIN commitmail json YAML

Update some comments.  Some from t-hash with updates from me.

(skrll)

2016-06-05 08:12:00 UTC MAIN commitmail json YAML

2016-06-05 08:11:00 UTC MAIN commitmail json YAML

Replace num of TRBs with xr->xr_ntrb.  From t-hash.

(skrll)

2016-06-05 08:05:27 UTC MAIN commitmail json YAML

From t-hash
    + Gather up setting slot and device context into xhci_setup_ctx(),
      and split out setting route string and TT hub params.
    + Apply htole{32,64} to contexts at once as possible.
    + Use xhci_setup_ctx in xhci_set_address and xhci_configure_endpoint.

(skrll)

2016-06-05 07:55:29 UTC MAIN commitmail json YAML

Wrap long lines and other whitespace.  From t-hash.

(skrll)

2016-06-05 07:54:01 UTC MAIN commitmail json YAML

Reduce the scope of some variable.  From t-hash

(skrll)

2016-06-05 07:52:16 UTC MAIN commitmail json YAML

From t-hash
    + Split out setting address device.
    + Split out freeing slot structure.
    + Use xhci_free_slot() in xhci_disable_slot().

(skrll)

2016-06-05 06:19:59 UTC MAIN commitmail json YAML

Add missing mutex_exit().

(mlelstv)

2016-06-05 05:41:53 UTC MAIN commitmail json YAML

ensure that timeout counter is cleared when ccb is (re-)used.

(mlelstv)

2016-06-05 05:40:29 UTC MAIN commitmail json YAML

2016-06-05 05:36:57 UTC MAIN commitmail json YAML

Replace the simple tag counter with the command tag coming down from scsipi.
Also set attributes according to tag types.

(mlelstv)

2016-06-05 05:31:43 UTC MAIN commitmail json YAML

No need to acquire KERNEL_LOCK when entering network code.
Also use the socket callbacks.

(mlelstv)

2016-06-05 05:29:01 UTC MAIN commitmail json YAML

Keep 1 CCB free for private use. This avoids frequent recovery in scsipi when
resources appear to be exhausted.

(mlelstv)

2016-06-05 05:25:59 UTC MAIN commitmail json YAML

Make PDU init routines record serial number in CCB too.

(mlelstv)

2016-06-05 05:18:59 UTC MAIN commitmail json YAML

Fix locking for pdu flags here, in particular PDUF_INQUEUE.

(mlelstv)

2016-06-05 05:11:57 UTC MAIN commitmail json YAML

Handle ExpCmdSN and MaxCmdSN updates as specified. Don't compare
serial numbers as integers.

(mlelstv)

2016-06-05 05:07:23 UTC MAIN commitmail json YAML

Fix serial number check and account for commands in flight to avoid
unnecessary recovery actions.

(mlelstv)

2016-06-05 04:53:23 UTC MAIN commitmail json YAML

Tear down sysctls only after detaching children. This lets you enable
debugging while detaching hangs.

(mlelstv)

2016-06-05 04:51:57 UTC MAIN commitmail json YAML

2016-06-05 04:50:23 UTC MAIN commitmail json YAML

2016-06-05 04:48:18 UTC MAIN commitmail json YAML

When stopping a callout, wait until the cleanup thread has processed them.

(mlelstv)

2016-06-05 04:36:05 UTC MAIN commitmail json YAML

2016-06-05 01:39:17 UTC MAIN commitmail json YAML

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

2016-06-05 01:23:58 UTC MAIN commitmail json YAML

conditionalize

(christos)

2016-06-05 01:20:58 UTC MAIN commitmail json YAML

2016-06-05 01:17:57 UTC MAIN commitmail json YAML

2016-06-05 00:48:58 UTC MAIN commitmail json YAML

Avoid breaking !NetBSD build

(sjg)

2016-06-05 00:43:39 UTC MAIN commitmail json YAML

Make older GCC and Clang happy and use weak references to the elements,
not declared as arrays.

(joerg)

2016-06-04 22:17:14 UTC MAIN commitmail json YAML

meta_oodate even when missing-meta is true, we do not make a target in
.CURDIR out of date just because of a missing meta file.

Also we can only be missing filemon data if we had a meta file.

(sjg)

2016-06-04 21:26:26 UTC MAIN commitmail json YAML

Update TODO: note that TRAP_SETUP() is stil sun4u-specific

(palle)

2016-06-04 21:24:41 UTC MAIN commitmail json YAML

sun4v: rtf_user now uses macros GET_MMU_CONTEXTID and SET_MMU_CONTEXTID. Tested on sun4u (QEMU) and sun4v (T2000). Parts from OpenBSD.

(palle)

2016-06-04 21:10:56 UTC MAIN commitmail json YAML

Added missing "it" to comment in start_init()

(palle)

2016-06-04 20:59:49 UTC MAIN commitmail json YAML

2016-06-04 18:22:46 UTC MAIN commitmail json YAML

2016-06-04 16:29:35 UTC MAIN commitmail json YAML

2016-06-04 16:14:29 UTC MAIN commitmail json YAML

PR/50773: Rin Okuyama: Fix single stepping on dynamically linked binaries
by skipping dynamic linker calls (from OpenBSD)

(christos)

2016-06-04 16:11:51 UTC MAIN commitmail json YAML

2016-06-04 15:28:50 UTC MAIN commitmail json YAML

2016-06-04 15:27:11 UTC MAIN commitmail json YAML

Following positive feedback on tech-userlevel, move the sys_info
script from othersrc to usr.bin/sys_info

The sys_info script is a small script which will show the version
information for installed utilities.  It also works on the kernel, and
on most libraries.

Its use is as follow:

[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info -a
awk-20121220
bind-9.10.3pl3
bzip2-1.0.6
calendar-20160601
ftpd-20110904
g++-4.8.5
gcc-4.8.5
grep-2.5.1anb1
gzip-20150113
bozohttpd-20151231
NetBSD-7.99.26
netpgp-3.99.17
netpgpverify-20160214
ntp-4.2.8pl5
openssl-1.0.1r
sqlite3-3.12.2
openssh-7.1
opensshd-7.1
tcsh-6.19.00
xz-5.2.1
[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp
ntp-4.2.8pl5
openssh-7.1
netpgp-3.99.17
[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd
ntp-4.2.8pl5
openssh-7.1
NetBSD-7.99.26
[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >

The -a option can be given to the script to print out the information
on all known components.

The sys_info script also works on libraries, returning their
"versions" as given by the shared object version numbers.

[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd
libevent-4.0
libXfont-3.0
libc-12.200
NetBSD-7.99.26
[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >

Alistair Crooks
Wed Jun  1 19:44:01 PDT 2016

(agc)

2016-06-04 11:25:43 UTC MAIN commitmail json YAML

Drop CSU entry.

(joerg)

2016-06-04 10:48:12 UTC MAIN commitmail json YAML

The ISA I/O MEM does not need to be executable. Remove the X permission
on it.

(maxv)

2016-06-04 10:19:09 UTC MAIN commitmail json YAML

Use the same instruction layout to map the ISA I/O. No functional
change.

The comment is still wrong: we are not on (4), we are actually below
the kernel area in physical memory. I'll fix that later.

(maxv)

2016-06-04 10:02:12 UTC MAIN commitmail json YAML

Define and use fillkpt_blank on i386, like amd64. The PAE case is
included in fillkpt_blank, since PDE_SIZE is either 4 or 8 bytes.

(maxv)

2016-06-04 09:52:41 UTC MAIN commitmail json YAML

Initialize cpuid_level at compile-time, not run-time. Same as amd64.

(maxv)

2016-06-04 09:45:58 UTC MAIN commitmail json YAML

Reorder some definitions. Reduces the diff between amd64 and i386.

(maxv)

2016-06-04 02:06:46 UTC MAIN commitmail json YAML

sanitizer for all.

(christos)

2016-06-04 00:11:01 UTC MAIN commitmail json YAML

2016-06-03 23:57:37 UTC MAIN commitmail json YAML

Add bsd_signal as required by POSIX (from GSoC 2016, Charles Cui)

(christos)

2016-06-03 21:55:50 UTC MAIN commitmail json YAML

Install new header and fix rump to include the corresponding source as
well.

(joerg)

2016-06-03 20:41:05 UTC MAIN commitmail json YAML

2016-06-03 20:39:03 UTC MAIN commitmail json YAML

2016-06-03 15:53:18 UTC MAIN commitmail json YAML

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

Give Clang a bit more room in the miniroot.

(joerg)

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

2016-06-03 15:41:57 UTC MAIN commitmail json YAML

2016-06-03 15:37:16 UTC MAIN commitmail json YAML

2016-06-03 15:36:25 UTC MAIN commitmail json YAML

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

ext4 extents glue

(christos)

2016-06-03 15:35:48 UTC MAIN commitmail json YAML

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

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

2016-06-03 15:14:57 UTC MAIN commitmail json YAML

2016-06-03 10:34:03 UTC MAIN commitmail json YAML

PR kern/51211: atactl atabus0 reset causes a panic on Tegra K1

Fix an issue where ahci_reset_channel calls ahci_channel_start with clo=1
even if CAP.SCLO=0.

(jmcneill)

2016-06-03 09:47:21 UTC MAIN commitmail json YAML

NTP 4.2.8p8 has released (with security fix).

(taca)

2016-06-03 07:07:37 UTC MAIN commitmail json YAML

Fix typo in width argument; end sentence with dot.

(wiz)

2016-06-03 06:55:16 UTC MAIN commitmail json YAML

use sernum handling function

(mlelstv)

2016-06-03 06:53:40 UTC MAIN commitmail json YAML

2016-06-03 02:06:40 UTC MAIN commitmail json YAML

Commit patch sent to tech-userlevel with universal approval to add a
version option for calendar(1):

% calendar -v
calendar-20160601
%

For reference, see:

http://mail-index.netbsd.org/tech-userlevel/2016/06/02/msg010081.html

(agc)

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

Add cached_realpath()

realpath(3) is expensive, and meta mode at least uses it extensively.
We use cached_realpath() to save the result of successful calls to
realpath(3) in a private variable context.

This improves the worst case performance (eg examining libc with
nothing to do) by a factor of 4.

Reviewed by: christos

(sjg)

2016-06-03 01:16:27 UTC MAIN commitmail json YAML

Refactor the logic for deciding when a .meta file is needed.

Both meta_create() and meta_oodate() now share meta_needed()
to indicate if a .meta file is needed.

This allows for deciding that missing .meta file is cause of out-of-date.
The new knob 'missing-meta' controlls this, and is off by default
since the side effect files of generators like yacc will typically need
.NOMETA to avoid problems.

This however makes it much easier for folk to switch back and forth
with meta mode (eg. FreeBSD's normal build can leverage meta mode for
improved reliablility without need to clean).

Also if .MAKE.MODE does not contain 'nofilemon', the knob
'missing-filemon' allows control as to whether missing filemon data
should cause the target to be out-of-date.
Again off by default.

(sjg)

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

When setting TOP the idea is to run the [/usr]/bin/pwd binary, and
exclude any skell builtin.  There are two ways to guarantee exec'ing
a binary, using a path, or using exec.  To use a path we would need to
find it first (which certainly could be done.)  Using exec here is easier.

(kre)

2016-06-02 22:41:27 UTC MAIN commitmail json YAML

fix PR 48928:  build the static libX11 properly.  pull in the
ximcp, xlcDef, xlcUTF8Load, xlibi18n, and xomGeneric modules
directly.

also, don't include bsd.lib.mk in the fragment parts for these
modules, but in the module build itself.  otherwise, bsd.lib.mk
is included before SRCS is complete and the build strangely
seems to miss parts listed.

tested using the example in the PR.

(mrg)

2016-06-02 21:40:51 UTC MAIN commitmail json YAML

Fix previous to better match readline behavior (Ingo Schwarze)

(christos)

2016-06-02 21:19:24 UTC MAIN commitmail json YAML

use DEFATTR if we're not the console and can't init defattr.
should appease clang
TODO: we should really init the glyphcache whith the first screen

(macallan)

2016-06-02 21:17:14 UTC MAIN commitmail json YAML

2016-06-02 19:55:52 UTC MAIN commitmail json YAML

2016-06-02 19:54:38 UTC MAIN commitmail json YAML

2016-06-02 15:11:18 UTC MAIN commitmail json YAML

From Ingo Schwarze:

In libedit, the only way how H_ENTER can fail is memory exhaustion,
too, and of course it is handled gracefully, returning -1 from
history().  So of course, we will continue to handle it gracefully
in add_history() as well, but we are free to decide what to do with
the library state in this case because GNU just dies...

I think the most reasonable course of action is to simply not change
the library state in any way when add_history() fails due to memory
exhaustion, but just return.

If H_ENTER does not fail, we know that the history now contains at
least one entry, so there is no need any longer to check the H_GETSIZE
return value.  And we can of course always set current_history_valid.

While testing these changes, i noticed three problems so closely
related that i'd like to fix them in the same diff.

1. libedit has the wrong prototype for add_history().
    GNU readline-6.3 defines it as void add_history(const char *).
    Of course, that is very stupid - no way to report problems to
    the caller!  But the whole point of a compatibility mode is
    being compatible, so we should ultimately change this.
    Of course, changing the prototype of a public symbol requires
    a libedit major bump.  I don't want to do that casually.
    Rather, i will take a note and change the prototype the next
    time we need a libedit major bump for more important reasons.
    For now, let's just always return 0.

2. While *implicitely* pushing an old entry off the history
    increments history_base in GNU readline, testing reveals that
    *explicitly* deleting one does not.  Again, this is not
    documented, but it applies to both remove_history() and
    stifle_history().  So delete history_base manipulation
    from stifle_history(), which also allows to simplify the
    code and delete two automatic variables.

3. GNU readline add_history(NULL) crashes with a segfault.
    There is nothing wrong with having a public interface
    behave that way.  Many standard interfaces do, including
    strlen(3).  Such crashes can even be useful to catch
    buggy application programs.
    In libedit/readline.c rev. 1.104, Christos made add_history()
    silently ignore this coding error, according to the commit
    message to hide a bug in nslookup(1).  That change was never
    merged to OpenBSD.  I strongly disagree with this change.
    If nslookup(1) is still broken, that program needs to be
    fixed instead.  In any case, delete the bogus check; hiding
    bugs is dangerous.

(christos)

2016-06-02 12:28:11 UTC MAIN commitmail json YAML

mention hostzerobroadcast default to "no".

(christos)

2016-06-02 08:13:39 UTC MAIN commitmail json YAML

2016-06-02 08:11:23 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2016-06-02 02:54:57 UTC MAIN commitmail json YAML

be sure to show the names of bozohttpd and calendar, as well as the versions

(agc)

2016-06-02 02:47:56 UTC MAIN commitmail json YAML

The sys_info script is a small script which will show the version
information for installed utilities.  It also works on the kernel, and
on most libraries.

Its use is as follow:

[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info -a
awk-20121220
bind-9.10.3pl3
bzip2-1.0.6
calendar-20160601
ftpd-20110904
g++-4.8.5
gcc-4.8.5
grep-2.5.1anb1
gzip-20150113
bozohttpd-20151231
NetBSD-7.99.26
netpgp-3.99.17
netpgpverify-20160214
ntp-4.2.8pl5
openssl-1.0.1r
sqlite3-3.12.2
openssh-7.1
opensshd-7.1
tcsh-6.19.00
xz-5.2.1
[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp
ntp-4.2.8pl5
openssh-7.1
netpgp-3.99.17
[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd
ntp-4.2.8pl5
openssh-7.1
NetBSD-7.99.26
[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >

The -a option can be given to the script to print out the information
on all known components.

The sys_info script also works on libraries, returning their
"versions" as given by the shared object version numbers.

[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd
libevent-4.0
libXfont-3.0
libc-12.200
NetBSD-7.99.26
[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >

Alistair Crooks
Wed Jun  1 19:44:01 PDT 2016

(agc)

2016-06-01 23:59:21 UTC MAIN commitmail json YAML

2016-06-01 23:40:05 UTC MAIN commitmail json YAML

Add 3Com 3CRWE777A (and, belatedly, 3CRWE737A) to the supported devices.

From PR kern/39590

(pgoyette)

2016-06-01 23:37:33 UTC MAIN commitmail json YAML

Add 3Com 3CRWE777A to supported devices.  From PR kern/39590

(pgoyette)

2016-06-01 23:33:24 UTC MAIN commitmail json YAML

2016-06-01 23:31:53 UTC MAIN commitmail json YAML

Ooopppsss - add it with the correct product ID.

(pgoyette)

2016-06-01 23:31:15 UTC MAIN commitmail json YAML

Add 3Com 3CRWE777A - from OpenBSD

(pgoyette)

2016-06-01 22:58:52 UTC MAIN commitmail json YAML

2016-06-01 22:57:51 UTC MAIN commitmail json YAML

Use NULL instead of 0 (Pedro Giffuni)

(christos)

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

Add ubsan (not enabled, not tested, compiling)
Update tsan (not enable, not tested, not compiling)
Merge common infrastructure.
XXX: Perhaps the common code should be made into a separate library?
Or always require asan?

(christos)

2016-06-01 22:27:49 UTC MAIN commitmail json YAML

Put the sanitizer libraries before everything else, since it needs to be
the first shared object.

(christos)

2016-06-01 21:24:55 UTC MAIN commitmail json YAML

Revert -O1 hack for GCC 5.3, replaced by workaround in the code.

(joerg)

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

PR toolchain/51121:
__CTOR_LIST__ and __CTOR_LIST_END__ are logically the same object, but
due to the start marker, the former has to be declared as array of fixed
size. Newer GCC versions take the liberty of exploiting the UB of
accessing global objects past the end to unconditionally load zero
values in that case. Two fixes are possible:
(1) Pruning via inline assembler as done by GCC's own CRT copy.
(2) Pruning via weak references as done for linker sets.
Since the second part is known and required to work anyway, prefer this
approach. In theory, the labels could be replaced completely, except
that GNU as doesn't provide start/end symbols for sections containing
dots.

(joerg)

2016-06-01 17:10:05 UTC MAIN commitmail json YAML

2016-06-01 17:07:13 UTC MAIN commitmail json YAML

Put back asan now it works.

(christos)

2016-06-01 17:03:26 UTC MAIN commitmail json YAML

2016-06-01 17:02:54 UTC MAIN commitmail json YAML

2016-06-01 17:02:19 UTC MAIN commitmail json YAML

Handle wrapping the same way as FreeBSD does.

(christos)

2016-06-01 15:59:18 UTC MAIN commitmail json YAML

Refactor the function for executing the search SQL query into two parts.

One part is responsible for generating the SQL query
The other part is responsible for executing the generated query.

While there, also remove a comment which is not valid anymore.
And, don't call the snippet function when doing legacy mode search as we are
not using the full text feature there.

(abhinav)

2016-06-01 14:52:56 UTC MAIN commitmail json YAML

remove some unused test cases

(agc)

2016-06-01 14:18:00 UTC MAIN commitmail json YAML

gdb-7.11.1 out.

(wiz)

2016-06-01 12:45:46 UTC MAIN commitmail json YAML

Fix typo that somehow snuck in.

(pgoyette)

2016-06-01 12:14:08 UTC MAIN commitmail json YAML

Variable rv is always used as a true/false boolen, so set its type
correctly.

From PR kern/46369

(pgoyette)

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

Sort SEE ALSO. New sentence, new line. Punctuation nits. Use Nx.

(wiz)

2016-06-01 11:56:49 UTC MAIN commitmail json YAML

Improved documentation of mount_nilfs, from PR bin/46730

(pgoyette)

2016-06-01 11:28:45 UTC MAIN commitmail json YAML

Add support for Intel 82597EX_SR - from PR kern/47750

(pgoyette)

2016-06-01 11:00:15 UTC MAIN commitmail json YAML

2016-06-01 08:32:05 UTC MAIN commitmail json YAML

Fix manually applied patch. Mark up NULL with Dv.

(wiz)

2016-06-01 08:24:03 UTC MAIN commitmail json YAML

Sort options and their descriptions. Sync usage more with man page.
Bump date in man page for new option -C.

(wiz)

2016-06-01 08:17:47 UTC MAIN commitmail json YAML

2016-06-01 08:17:40 UTC MAIN commitmail json YAML

Add new Europe/Kirov zonefile for 2016d

(pgoyette)

2016-06-01 08:17:33 UTC MAIN commitmail json YAML

Fix typo. Use .An -nosplit.

(wiz)

2016-06-01 08:17:12 UTC MAIN commitmail json YAML

Use Mt for email addresses.

(wiz)

2016-06-01 08:15:07 UTC MAIN commitmail json YAML

Use .An -nosplit.

(wiz)

2016-06-01 08:14:42 UTC MAIN commitmail json YAML

Use .An -nosplit.

(wiz)

2016-06-01 08:14:16 UTC MAIN commitmail json YAML

Use .An -nosplit.

(wiz)

2016-06-01 08:13:23 UTC MAIN commitmail json YAML

Sort SEE ALSO, use Mt for email addresses.

(wiz)

2016-06-01 08:06:38 UTC MAIN commitmail json YAML

Ooopppsss, missed the function declaration!

(pgoyette)

2016-06-01 06:56:35 UTC MAIN commitmail json YAML

Fix a tyop, pointed out by leot@. Thanks!

(agc)

2016-06-01 06:39:11 UTC MAIN commitmail json YAML

Use human2atf to generate a t_netpgpverify.sh script which is half the
size of the previous one (using on-the-fly gzip compression), and includes
more cases (including a gpg-signed file for cross-testing purposes).

Add the appropriate Testspec file.

(agc)

2016-06-01 05:40:27 UTC MAIN commitmail json YAML

Document return value for realloc(3) when size is 0.  From PR lib/47384

(pgoyette)

2016-06-01 05:31:59 UTC MAIN commitmail json YAML

don't sleep in run_xfer path.

(mlelstv)

2016-06-01 05:27:40 UTC MAIN commitmail json YAML

report the power button to sysmon when possible

(macallan)

2016-06-01 05:13:07 UTC MAIN commitmail json YAML

2016-06-01 05:11:52 UTC MAIN commitmail json YAML

PR bin/51207  Only check for ELF bnaries in regular files.

(kre)

2016-06-01 05:10:41 UTC MAIN commitmail json YAML

PR bin/43639

Redo earlier fix to only prohibit sourcing directories and block special files.
char specials (/dev/tty, /dev/null, ... incl /dev/rwd0a) and fifos are OK.

Posix actually requires that we find only readable files - that is not yet
implemented (doing it sanely, without opening the file twice, is going to
take some more modifications to code elsewhere).

(kre)

2016-06-01 04:54:59 UTC MAIN commitmail json YAML

Add quick for Sandisk Cruzer - from PR kern/46547

(pgoyette)

2016-06-01 04:52:20 UTC MAIN commitmail json YAML

2016-06-01 04:51:33 UTC MAIN commitmail json YAML

Regen for Sandisk Cruzer

(pgoyette)

2016-06-01 04:47:02 UTC MAIN commitmail json YAML

2016-06-01 04:20:20 UTC MAIN commitmail json YAML

2016-06-01 04:19:08 UTC MAIN commitmail json YAML

factor out sernum handling.
make incrementing sernum atomic.
declare variables for atomic operations as volatile.

(mlelstv)

2016-06-01 04:15:54 UTC MAIN commitmail json YAML

Move macro inside of #ifdef KERNEL

PR kern/46706

(pgoyette)

2016-06-01 04:07:51 UTC MAIN commitmail json YAML

use the default offsets since gcc hardcodes them (TARGET_ASAN_SHADOW_OFFSET ->
ix86_asan_shadow_offset)

(christos)

2016-06-01 04:07:03 UTC MAIN commitmail json YAML

close session when last connection is removed.

(mlelstv)

2016-06-01 04:06:15 UTC MAIN commitmail json YAML

2016-06-01 03:37:35 UTC MAIN commitmail json YAML

Commit patch from t-hash in PR kern/48309

(pgoyette)

2016-06-01 02:50:03 UTC MAIN commitmail json YAML

PR bin/47065 PR bin/39466

When the shell exits after an error (when that is the right thing for
it to do) ensure that it never does exit(0).

(kre)

2016-06-01 02:47:05 UTC MAIN commitmail json YAML

PR bin/51145 PR bin/48489
More fixes to the shell parser to prevent empty simple commands (where
empty means no significant text at all) - as discussed on tech-userlevel
this still allows { } (which can be useful in function definitions, not
really anywhere else though) except in posix mode.  ( ) now generates
a syntax error, as should any other place where commands are required but
nothing is present.  (nb, redirections, var assignments, even var expansions
that expand to nothing, are all OK, and avoid the error - just comments, or
whits space, are not.)    This is (aside from allowing { } at all) all in
accordance with the posix spec.

(kre)

2016-06-01 02:37:55 UTC MAIN commitmail json YAML

Add the posix -C option (-c but quieter).  Fix -R to work properly when
setting \n as the record delimited using a numeric value rather than literal
\n - and to not incorrectly turn \n into a field separator if -R is used to
make some other char the record separator (\n becomes a field separator in
that case as long as the field separator remains "white space" but should not
be in any other case - unless set explicitly of course.)

Plus more cosmetic changes - the man page and usage are updated to make it
more clear that the 2 (or 1) params to -k are not fields (field1 and field2)
but specifiers of the beginning and end of one key field.  There was an
unused 'x' option in the GETOPTS string.  The usage message is reformatted
to display properly on both 80 col and > 80 col displays (on < 80 it will
still probably look pretty ugly ... perhaps not quite so bad though), and
is also updated to show the different usage for the -c case (and -C) from the
others (only 1 file permitted) - the man page synopsis has a similar update.

Using more than one of -c -C or -m generates a usage message rather than
just ignoring the -m as it did before (there was no -C before of course).

Aside from the bug fix to the interaction between -R and -t, there are no
changes that affect the way anything is sorted (or read, or written).

Discussed on tech-userlevel earlier this week.

(kre)

2016-06-01 02:37:47 UTC MAIN commitmail json YAML

2016-06-01 02:15:26 UTC MAIN commitmail json YAML

Use fixed number of entries in each row of a table.  From PR misc/49516

(pgoyette)

2016-06-01 02:06:54 UTC MAIN commitmail json YAML

2016-06-01 02:05:10 UTC MAIN commitmail json YAML

2016-06-01 02:02:11 UTC MAIN commitmail json YAML

Use .An for authors.  From PR misc/49516

(pgoyette)

2016-06-01 02:00:10 UTC MAIN commitmail json YAML

Use .An for authors.  From PR misc/49516

(pgoyette)

2016-06-01 01:57:31 UTC MAIN commitmail json YAML

2016-06-01 01:55:18 UTC MAIN commitmail json YAML

Use .An for author names.  From PR misc/49516

(pgoyette)

2016-06-01 01:54:06 UTC MAIN commitmail json YAML

2016-06-01 01:52:19 UTC MAIN commitmail json YAML

Move the .Pp to after the .El

from PR misc/49516

(pgoyette)

2016-06-01 01:46:51 UTC MAIN commitmail json YAML

Use .An for author names.  From PR misc/49516

(pgoyette)

2016-06-01 01:44:22 UTC MAIN commitmail json YAML

Use .An for author names.  From PR misc/49516

(pgoyette)

2016-06-01 01:41:27 UTC MAIN commitmail json YAML

Remove trailing space.  From PR misc/49516

(pgoyette)

2016-06-01 01:39:52 UTC MAIN commitmail json YAML

Use .An markup for author names.  From PR misc/49516

(pgoyette)

2016-06-01 01:34:43 UTC MAIN commitmail json YAML

Remove trailing space.  From PR misc/49516

(pgoyette)

2016-06-01 01:33:10 UTC MAIN commitmail json YAML

2016-06-01 01:31:11 UTC MAIN commitmail json YAML

Fix AT&T version reference.  From PR misc/49519

(pgoyette)

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

Fix testing of returned entptr, and fix three affected tests.

From kamil@ via PR lib/49632

(pgoyette)

2016-06-01 00:54:20 UTC MAIN commitmail json YAML

2016-06-01 00:53:35 UTC MAIN commitmail json YAML

Ignore the first dlpi entry which is ourselves on NetBSD instead of having
a NULL name as on linux.

(christos)

2016-06-01 00:50:21 UTC MAIN commitmail json YAML

Add atf-based tests for tiger, generated using human2atf.

Running the tests produced the following output:

[17:48:18] agc@netbsd-002 ...tests/usr.bin/tiger [3829] > sudo make test
*** WARNING: make test is experimental
***
*** Using this test does not preclude you from running the tests
*** installed in /usr/tests.  This test run may raise false
*** positives and/or false negatives.

Tests root: /usr/tests/usr.bin/tiger

t_tiger (1/1): 2 test cases
    tiger_testset_1_tiger1: [0.028527s] Passed.
    tiger_testset_2_tiger2: [0.031147s] Passed.
[0.063389s]

Summary for 1 test programs:
    2 passed test cases.
    0 failed test cases.
    0 expected failed test cases.
    0 skipped test cases.

*** The verbatim output of atf-run has been saved to /usr/tests/usr.bin/tiger/atf-run.log
*** Once again, note that make test is unsupported.
[17:48:21] agc@netbsd-002 ...tests/usr.bin/tiger [3830] >

(agc)

2016-06-01 00:49:45 UTC MAIN commitmail json YAML

Avoid locking issues when copying out requires taking a fault and we are
finding out our own maps, by allocating a buffer and copying out after
we collected the information.

(christos)

2016-06-01 00:47:16 UTC MAIN commitmail json YAML

Symbolic printing for mmap

(christos)

2016-06-01 00:46:44 UTC MAIN commitmail json YAML

Add more alignments

(christos)

2016-06-01 00:12:27 UTC MAIN commitmail json YAML

Note update of tzdata to 2016d:

Import tzdata2016d from ftp://ftp.iana.org/tz/releases/tzdata2016d.tar.gz

Summary of changes in tzdata2016d (2016-04-17 22:50:29 -0700):
  * America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
  * Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
  * New zone Asia/Tomsk, split off from Asia/Novosibirsk.
  * New zone Europe/Kirov, split off from Europe/Volgograd.
  * Russia and nearby locations had daylight-saving transitions on
    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
    1992-03-28 at 23:00 and 1992-09-26 at 23:00.
  * Many corrections to historical time in Kazakhstan from 1991
    through 2005.
  * Mention Internet RFCs 7808 (TZDIST) and 7809 (CalDAV time zone references).

Summary of changes in tzdata2016c (2016-03-23 00:51:27 -0700):
  * Azerbaijan no longer observes DST.
  * Chile reverts from permanent to seasonal DST.
  * Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to
    +02/+03 on 1989-03-26, not 1991-03-31.
  * Several updates and URLs for historical and proposed Russian changes.

(agc)

2016-06-01 00:11:09 UTC MAIN commitmail json YAML

Note update of tzdata to 2016d

Import tzdata2016d from ftp://ftp.iana.org/tz/releases/tzdata2016d.tar.gz

Summary of changes in tzdata2016d (2016-04-17 22:50:29 -0700):
  * America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
  * Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
  * New zone Asia/Tomsk, split off from Asia/Novosibirsk.
  * New zone Europe/Kirov, split off from Europe/Volgograd.
  * Russia and nearby locations had daylight-saving transitions on
    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
    1992-03-28 at 23:00 and 1992-09-26 at 23:00.
  * Many corrections to historical time in Kazakhstan from 1991
    through 2005.
  * Mention Internet RFCs 7808 (TZDIST) and 7809 (CalDAV time zone references).

Summary of changes in tzdata2016c (2016-03-23 00:51:27 -0700):
  * Azerbaijan no longer observes DST.
  * Chile reverts from permanent to seasonal DST.
  * Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to
    +02/+03 on 1989-03-26, not 1991-03-31.
  * Several updates and URLs for historical and proposed Russian changes.

(agc)

2016-06-01 00:02:12 UTC MAIN commitmail json YAML

Add an extra set in the instructions (to make sure that you have the
public key the data was signed with)

Take the EDITOR variable from the environment and use that, defaulting to vi,
rather than just hardcoding vi.

(agc)

2016-05-31 23:15:05 UTC MAIN commitmail json YAML

PR/51205 - Nikolai Lifanov -- add EAPOL, PEAP, and RSN

(jnemeth)

2016-05-31 21:35:11 UTC MAIN commitmail json YAML

2016-05-31 21:34:13 UTC MAIN commitmail json YAML

2016-05-31 20:47:52 UTC MAIN commitmail json YAML

2016-05-31 20:47:26 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/dist/libsanitizer/asan/asan_mapping.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/asan/asan_stack.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_common.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_internal_defs.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_libignore.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_procmaps_common.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_unwind_posix_libcdep.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/ubsan/ubsan_value.h@1.2 / diff / nxr@1.2

First steps to port this to NetBSD (compiles now but missing stuff)

(christos)

2016-05-31 20:40:51 UTC MAIN commitmail json YAML

revert weak change. next time point to an example of what breaks in the
commit message.

(christos)

2016-05-31 20:34:01 UTC MAIN commitmail json YAML

Add a Testspec file which can be used by human2atf to derive the unit tests.

The Testspec file is derived from the Makefile tests. It includes 2 examples
of on-the-fly gzip(1) compression of large test files.

Running the generated test script produces the following output:

[23:28:33] agc@netbsd-002 ...tests/usr.bin/sqlite3db [3696] > sudo make test
*** WARNING: make test is experimental
***
*** Using this test does not preclude you from running the tests
*** installed in /usr/tests.  This test run may raise false
*** positives and/or false negatives.

Tests root: /usr/tests/usr.bin/sqlite3db

t_sqlite3db (1/1): 6 test cases
    sqlite3db_testset_1_basic_test_set: [0.046954s] Passed.
    sqlite3db_testset_2_convert_small: [0.092268s] Passed.
    sqlite3db_testset_3_convert_large: [68.611927s] Passed.
    sqlite3db_testset_4_get: [0.046001s] Passed.
    sqlite3db_testset_5_get: [0.045498s] Passed.
    sqlite3db_testset_6_get: [0.045098s] Passed.
[68.897778s]

Summary for 1 test programs:
    6 passed test cases.
    0 failed test cases.
    0 expected failed test cases.
    0 skipped test cases.

*** The verbatim output of atf-run has been saved to /usr/tests/usr.bin/sqlite3db/atf-run.log
*** Once again, note that make test is unsupported.
[23:29:46] agc@netbsd-002 ...tests/usr.bin/sqlite3db [3697] >

(agc)

2016-05-31 20:26:58 UTC MAIN commitmail json YAML

Add the ability to provide gzip(1) encoding of large input and expected
output files in the generated test scripts.

(agc)

2016-05-31 20:02:16 UTC MAIN commitmail json YAML

Add an ElfW() macro like linux.

(christos)

2016-05-31 19:25:17 UTC MAIN commitmail json YAML

remove the right history entry (Ingo Schwarze)

(christos)

2016-05-31 16:26:48 UTC MAIN commitmail json YAML

Add the missing parameter "const char *pattern" to the fetchList* functions.

From Julian Fagir in PR lib/45579

(abhinav)

2016-05-31 09:34:25 UTC MAIN commitmail json YAML

Minor formatting change in swapctl -l as noted in my PR bin/51155

(pgoyette)

2016-05-31 09:31:13 UTC MAIN commitmail json YAML

Punctuation nits.
(adding space makes sure they are not marked up)

(wiz)

2016-05-31 09:29:26 UTC MAIN commitmail json YAML

Add prop_array_add_cstring{,_no_copy} utility functions as suggested in
PR lib/46723 using the patch provided.  (Header file updates are mine.)

(pgoyette)

2016-05-31 09:22:11 UTC MAIN commitmail json YAML

Flush memory correctly during ring put.
See PR 51199.

From Sprow, ok skrll@.

(mlelstv)

2016-05-31 08:24:43 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2016-05-31 07:49:10 UTC MAIN commitmail json YAML

Use calloc(1, ...) instead of malloc(...) followed immediately by memset()

Addresses PR lib/46818

(pgoyette)

2016-05-31 06:55:02 UTC MAIN commitmail json YAML

Move __MKTEMP_OK up earlier so it has an actual impact.  Reduces the
number of warnings during build.

XXX There are still some other warnings remaining to be resolved.

Fixes PR bin/48195 although we really should go back someday and fix
this correctly (by replacing all uses of mktemp(3)!)

(pgoyette)

2016-05-31 06:00:39 UTC MAIN commitmail json YAML

Correct list of operations to note that SLISTs and SIMPLEQs cannot insert
entries before existing entries.  This can only be done for LISTs and
TAILQs.

Fixes PR kern/50845

(pgoyette)

2016-05-31 05:44:19 UTC MAIN commitmail json YAML

Add a new kern.messages sysctl to allow kernel message verbosity to be
altered after boot.

Fixes PR kern/46539 using patch submitted by Nat Sloss.

(pgoyette)

2016-05-31 04:14:12 UTC MAIN commitmail json YAML

PR 51196 David Binderman: simplify redundant conditional.
(yet another copy)

(dholland)

2016-05-31 04:13:26 UTC MAIN commitmail json YAML

PR 51195 David Binderman: simplify redundant conditional.

XXX: there are too many copies of this function floating around ("gettrailer")

(dholland)

2016-05-31 04:12:10 UTC MAIN commitmail json YAML

PR 51194 David Binderman: simplify redundant conditional

(dholland)

2016-05-31 04:05:50 UTC MAIN commitmail json YAML

PR 51193 David Binderman: simplify redundant conditional.

(dholland)

2016-05-31 04:05:01 UTC MAIN commitmail json YAML

Optimize if_get_byindex by adding __predict_true

(ozaki-r)

2016-05-31 03:57:04 UTC MAIN commitmail json YAML

Compare names of duplicate symbols properly, so we correctly return
an error status.

Fixes PR kern/45125 with patch supplied by Akinobu  Mita

(pgoyette)

2016-05-31 03:52:40 UTC MAIN commitmail json YAML

modify some functions static. no functional change.

(knakahara)

2016-05-31 03:51:55 UTC MAIN commitmail json YAML

If ALGOR_P6032 is not defined, set sc_bonito to NULL instead of using
random garbage off the stack. PR 51012 from David Binderman.

(dholland)