mpi [Sun, 4 Jan 2015 20:10:08 +0000 (20:10 +0000)]
Only set the status of a completed xfer just before giving it back to
the stack. This will allow stricter checks when aborting transfers.
While here update a comment about short transfer and multi-TRB TD since
bulk transfers can also use a chain now.
miod [Sun, 4 Jan 2015 18:52:46 +0000 (18:52 +0000)]
EV68CB pass 2.4 is numeric revision 5, as reported by SRM.
tedu [Sun, 4 Jan 2015 18:44:12 +0000 (18:44 +0000)]
back to using ramdisk encrypt again. theo found and fixed the (my) bug.
daniel [Sun, 4 Jan 2015 16:12:42 +0000 (16:12 +0000)]
remove code for ancient gcc.
ok millert@, kettenis@
espie [Sun, 4 Jan 2015 14:55:47 +0000 (14:55 +0000)]
remove extra scaffolding that's actually NOT in the committed copy of
the old fw_update
espie [Sun, 4 Jan 2015 14:54:12 +0000 (14:54 +0000)]
same semantics as old program
espie [Sun, 4 Jan 2015 14:48:19 +0000 (14:48 +0000)]
cleaner logic, fix things so that fw_update -da makes sense
(deletes drivers not corresponding to that box, and updates/installs what's
needed)
espie [Sun, 4 Jan 2015 14:20:04 +0000 (14:20 +0000)]
tweak the ntogo messages slightly so that they work better in all situations
espie [Sun, 4 Jan 2015 14:10:20 +0000 (14:10 +0000)]
too many todo. Use unambiguous names, since they're not the same operation
at all
reyk [Sun, 4 Jan 2015 13:19:50 +0000 (13:19 +0000)]
The PRG airport has been renamed in honor of Vaclav Havel quite some
time ago.
From Jan Stary.
mpi [Sun, 4 Jan 2015 13:01:42 +0000 (13:01 +0000)]
Implement splassert(9) for powerpc.
This changes the logic to prevent a recursion when processing soft
interrupts. Previously a per-CPU flag was set before re-enabling
interrupts. Now the IPL level is raised to SOFTTTY which makes
splsoftassert() happy, greatly inspired by mips64.
As a side effect, the ppc_intr_{disable,enable}() dance is now done
only once instead of twice per splx(9).
While here, make use of dosoftint() instead of having 3 different
functions for dispatching soft interrupts.
Tested by deraadt@ on G4 smp and by myself G5 smp, G3, G4 and socppc.
No objection from the usual (and over busy) suspects.
mpi [Sun, 4 Jan 2015 12:30:39 +0000 (12:30 +0000)]
Sort wireless nodes by signal strength, from Simon Nicolussi.
ok stsp@, deraadt@
miod [Sun, 4 Jan 2015 09:07:44 +0000 (09:07 +0000)]
Use __buffer__ instead of __string__ as the __bounded type. The former causes
extra warnings with gcc 3, due to the way we use siphash in the filesystem
code.
With dlg@
dlg [Sun, 4 Jan 2015 08:54:01 +0000 (08:54 +0000)]
back out r1.173, aka the "* 8" diff. it tickles a problem on some
landisk machines. we've been unable to figure out due to a lack of
hardware (on my part) or time.
discussed with and ok miod@
jsg [Sun, 4 Jan 2015 08:42:04 +0000 (08:42 +0000)]
return 0 for success in ucycom_param() instead of uninitialised memory
brad [Sun, 4 Jan 2015 07:14:41 +0000 (07:14 +0000)]
Fix error handling for re_encap() within re_start() and some tidying up.
jsg [Sun, 4 Jan 2015 02:53:19 +0000 (02:53 +0000)]
avoid the use of an uninitialised variable in one of the codepaths in
pool_setlowat()
ok dlg@ tedu@
deraadt [Sun, 4 Jan 2015 02:28:26 +0000 (02:28 +0000)]
fix -b a mode, spotted by rpe
tedu [Sun, 4 Jan 2015 02:26:29 +0000 (02:26 +0000)]
go back to using /mnt encrypt. it seems something isn't working yet.
bcook [Sun, 4 Jan 2015 01:48:49 +0000 (01:48 +0000)]
use MAXIMUM as the canonical local MAX macro.
suggested by deraadt@ re: more general MIN/MAX cleanups
bcook [Sun, 4 Jan 2015 01:24:43 +0000 (01:24 +0000)]
rename sockaddr_un variables from 'sun' to the more common 'sa'.
This avoids a namespace conflict with Solaris build environments.
discussed with deraadt@ and kettenis@
bcook [Sun, 4 Jan 2015 01:19:46 +0000 (01:19 +0000)]
don't rely on sys/param.h having a MAX macro.
Switch to local definitions where MAX is needed.
discussed with deraadt@
bcook [Sun, 4 Jan 2015 01:16:10 +0000 (01:16 +0000)]
Remove the unused dns_pid variable.
Nothing is done with the return value from ntp_dns, and it already calls
fatal() on failure.
ok deraadt@
bcook [Sun, 4 Jan 2015 01:13:10 +0000 (01:13 +0000)]
removed unused libevent header and structures in ntpd.h
ok deraadt@ phessler@
bcook [Sun, 4 Jan 2015 01:11:24 +0000 (01:11 +0000)]
Add a missing include for time.h to get the definitions of clock_gettime and strftime.
ok jsing@ phessler@ naddy@
reyk [Sat, 3 Jan 2015 23:54:25 +0000 (23:54 +0000)]
Reset tls key and cert to NULL when duplicating a server - avoids a
possible double free in the error path of the parser.
Found by + OK doug@
kettenis [Sat, 3 Jan 2015 23:14:33 +0000 (23:14 +0000)]
Implement BMAC support; ports 2 & 3 work now as well.
uaa [Sat, 3 Jan 2015 21:43:42 +0000 (21:43 +0000)]
add new driver uslhcom(4) USB HID based UART.
uaa [Sat, 3 Jan 2015 21:24:19 +0000 (21:24 +0000)]
add new driver uslhcom(4) USB HID based UART.
uaa [Sat, 3 Jan 2015 21:20:26 +0000 (21:20 +0000)]
add new driver uslhcom(4) USB HID based UART.
miod [Sat, 3 Jan 2015 20:44:23 +0000 (20:44 +0000)]
Some bowels of the bus_dma code assume it is ok to perform bitwise operations
with the base address of the window, which only works if its size is smaller
than the address it begins at.
Until these assumptions are carefully fixed, revert r1.9, and go back to using
only one direct map window.
uaa [Sat, 3 Jan 2015 20:39:11 +0000 (20:39 +0000)]
add new driver uslhcom(4) USB HID based UART.
uaa [Sat, 3 Jan 2015 20:22:56 +0000 (20:22 +0000)]
(new) device driver for Silicon Labs CP2110 USB HID based UART.
ok by deraadt@
kettenis [Sat, 3 Jan 2015 19:08:40 +0000 (19:08 +0000)]
Make port 1 on the 4x1G card work. Port 2 & 3 still need some work.
doug [Sat, 3 Jan 2015 18:07:29 +0000 (18:07 +0000)]
Fix incorrect OPENSSL_assert() usage.
Instead of asserting, return an error code for I/O errors. This is based
on OpenSSL commit
2521fcd8527008ceb3e4748f95b0ed4e2d70cfef. Added checks
for two calloc()s while I'm here.
ok miod@
espie [Sat, 3 Jan 2015 17:32:43 +0000 (17:32 +0000)]
make it able to install quirks from normal path (with normal key) and
other firmware from wanted path (with fw key).
Simplify the shennanigans wrt installed repo.
reyk [Sat, 3 Jan 2015 16:20:31 +0000 (16:20 +0000)]
Tweak previous - add a missing free in the error path.
afresh1 [Sat, 3 Jan 2015 16:17:19 +0000 (16:17 +0000)]
Fix race condition in perl's ExtUtils::MakeMaker
Many thanks to Nathanael Rensen <nathanael at polymorpheus dot com>
for tracking it down and supplying the patch.
Has been reported upstream and the fix incorporated into a larger change
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/192
jsing [Sat, 3 Jan 2015 15:50:50 +0000 (15:50 +0000)]
Add support for creating a protective MBR for GPT.
Part of a diff by Markus Mueller, which was derived from Bitrig during
Google Summer of Code, with further tweaks by me.
ok krw@ miod@
reyk [Sat, 3 Jan 2015 15:49:18 +0000 (15:49 +0000)]
Support alias names and multiple listen statements per server block.
The implementation is done in the parser by expanding each
alias/listen into an independent server configuration; this makes it
easier to handle internally without adding additional loops or
conditions.
OK florian@
schwarze [Sat, 3 Jan 2015 12:54:49 +0000 (12:54 +0000)]
Fix a potential NULL pointer access in an error message after waitpid()
failure; found using detailed information provided by Ulrich Spoerlein
<uqs at FreeBSD> about FreeBSD Coverity CID
1261304.
jsg [Sat, 3 Jan 2015 06:09:36 +0000 (06:09 +0000)]
move the list_cloners() prototype out of #ifndef SMALL
missed in rev 1.290
lteo [Sat, 3 Jan 2015 03:03:39 +0000 (03:03 +0000)]
Check the return values of several reallocarray() calls. While here,
also check the return value of an adjacent malloc() call.
ok jsing@
deraadt [Sat, 3 Jan 2015 00:58:26 +0000 (00:58 +0000)]
ok, landisk snapshots are out that do static PIE
schwarze [Sat, 3 Jan 2015 00:56:54 +0000 (00:56 +0000)]
Given the excessively technical description in the old mdoc_samples(7)
manual and its successor groff_mdoc(7), i always considered .Ql as
purely physical markup, but it turns out describing it better allows
to give it a semantic meaning (in-line literal display) that doesn't
contradict existing usage. One less physical, one more semantic
macro, yay!
Found in a discussion with Steffen Nurpmeso <sdaoden at yandex dot com>.
chris [Fri, 2 Jan 2015 23:02:54 +0000 (23:02 +0000)]
Identify NCT5104D variant in dmesg. (No lm here, these are used for com and
gpio pins on SuperMicro and PC Engines.)
ok kettenis@
rpe [Fri, 2 Jan 2015 22:38:50 +0000 (22:38 +0000)]
Fix saving dhclient lease files during installation.
OK krw@
sebastia [Fri, 2 Jan 2015 22:38:46 +0000 (22:38 +0000)]
Fix a few format string warnings, allow to build DEBUG kernel on sgi
OK miod@
dlg [Fri, 2 Jan 2015 22:36:15 +0000 (22:36 +0000)]
there's no need to defer the removal of the iic sensors to a task, we can
just remove them directly.
tested by krw@
miod [Fri, 2 Jan 2015 19:45:42 +0000 (19:45 +0000)]
Fix dow and apply the usual easter egg.
reyk [Fri, 2 Jan 2015 19:09:52 +0000 (19:09 +0000)]
Bump config flags field to 32bits. Makes room for future changes -
but no functional change yet.
sobrado [Fri, 2 Jan 2015 18:28:23 +0000 (18:28 +0000)]
PFS stands for Perfect Forward Secrecy.
ok reyk@
mpi [Fri, 2 Jan 2015 18:06:25 +0000 (18:06 +0000)]
When chaining TRBs, calculate the TD Size as described in section
4.11.2.4 instead of using one TRB per packet. Also make sure that
it is not greater than 31.
While here be paranoid about xfer buffer crossing a 64k boundary
and use a supplementary TRB in such case.
Fix a problem with uplcom(4) on Intel xHCI reported by jasper@.
kettenis [Fri, 2 Jan 2015 17:32:59 +0000 (17:32 +0000)]
Holds up much better under load with an IPL on the block pool.
schwarze [Fri, 2 Jan 2015 17:01:31 +0000 (17:01 +0000)]
Explicitly set the *data member of struct ohash_info to NULL.
It is never dereferenced, but it gets copied around, which worries
static analysis tools and might also confuse human auditors.
FreeBSD Coverity CID
1261298,
1261299,
1261300, reported by
Pedro Giffuni and Ulrich Spörlein <pfg@ and uqs@ at FreeBSD>.
bluhm [Fri, 2 Jan 2015 16:38:07 +0000 (16:38 +0000)]
Rename the tls_connect_socket() parameter 'socket' to 's' to avoid
a compiler warning about shadowing a global declaration.
OK jsing@
kettenis [Fri, 2 Jan 2015 16:20:11 +0000 (16:20 +0000)]
Still locks up under load, but otherwise fairly functional.
ajacoutot [Fri, 2 Jan 2015 14:44:05 +0000 (14:44 +0000)]
Fix return code of _rc_quirks().
ok robert@
bluhm [Fri, 2 Jan 2015 12:41:08 +0000 (12:41 +0000)]
Use SIMPLEQ for syslogd filed list instead of manual list operations.
OK dlg@
bluhm [Fri, 2 Jan 2015 12:30:45 +0000 (12:30 +0000)]
When syslogd was sending via TCP, there was file descriptor leak
and a use after free if it received a SIGHUP. Call bufferevent_free()
to deactivate the callbacks and close the TCP socket.
OK jasper@ deraadt@
mpi [Fri, 2 Jan 2015 11:58:32 +0000 (11:58 +0000)]
Report the TT Think Time of USB2.0 Hubs.
lum [Fri, 2 Jan 2015 11:43:15 +0000 (11:43 +0000)]
Remove unused variable.
deraadt [Fri, 2 Jan 2015 11:03:50 +0000 (11:03 +0000)]
adjust date
dlg [Fri, 2 Jan 2015 10:38:22 +0000 (10:38 +0000)]
give the device ref taken in vscsikqfilter to the knote, and unref
it in filt_vscsidetach.
dlg [Fri, 2 Jan 2015 10:32:21 +0000 (10:32 +0000)]
store all state needed to defer probe/detach events in vscsi_devevent_task.
ajacoutot [Fri, 2 Jan 2015 08:03:28 +0000 (08:03 +0000)]
Add a comment about the default values being duplicated in rcctl(8).
discussed with schwarze@
jmc [Fri, 2 Jan 2015 08:03:15 +0000 (08:03 +0000)]
update currency exchange rates;
jmc [Fri, 2 Jan 2015 08:02:20 +0000 (08:02 +0000)]
uppercase for place names, and one "t" in british;
from carson chittom
lteo [Fri, 2 Jan 2015 04:00:21 +0000 (04:00 +0000)]
Remove ifdef statements for TIMES and USE_TOD; they don't do anything,
apart from introducing a bug where the -elapsed option is not listed in
the usage output when it should be.
feedback/ok bcook@ jsing@
jsg [Fri, 2 Jan 2015 01:57:33 +0000 (01:57 +0000)]
Add some additional i.MX6 board types from Bitrig.
CompuLab Utilite, SolidRun HummingBoard/CuBox-i and UDOO.
krw [Thu, 1 Jan 2015 22:53:39 +0000 (22:53 +0000)]
Enable 'ifconfig -C' (list dynamic interface types) on install
media. Use this feature in install scripts to eliminate manually
maintained list of dynamic interface types.
'-C' brought to my attention by reyk@, tweaks to install script to
use -C in get_ifdevs() from rpe@.
ok rpe@ deraadt@
florian [Thu, 1 Jan 2015 20:28:27 +0000 (20:28 +0000)]
"The logging of errors SHOULD be restricted to conflicting information
that causes hosts to switch from one value to another with each
received advertisement." (RFC 4861)
Receiving of RAs on non-advertising interfaces is not a conflicting
information; don't log it.
"Mike." (the.lists AT mgm51 DOT com) reported that this
leads to excessive logging with certain cable providers in 2013.
Recently reported again by Aaron Riekenberg (aaron.riekenberg AT gmail
DOT com). Thanks!
OK bluhm@
bluhm [Thu, 1 Jan 2015 19:58:48 +0000 (19:58 +0000)]
Test that syslogd sending over TCP does not leak a file descriptor
when it receives a SIGHUP.
miod [Thu, 1 Jan 2015 19:43:10 +0000 (19:43 +0000)]
Inline the .cpsetup pseudo-statement in rcrt0 to avoid saving the "old" gp
value, which we have no use for. ok kettenis@
schwarze [Thu, 1 Jan 2015 19:28:29 +0000 (19:28 +0000)]
Fix a buffer overrun triggered by a trailing backslash at EOF in
an unclosed conditional body. If the memory contained the byte
sequence "\}" after the end of the buffer before the next NUL, this
could even write beyond the end of the buffer, specifically '&' to
the location of the '}'. Found by jsg@ with afl.
schwarze [Thu, 1 Jan 2015 18:10:09 +0000 (18:10 +0000)]
Fix a read buffer overrun triggered by trailing \s- or trailing \s+
without the required subsequent argument; found by jsg@ with afl.
florian [Thu, 1 Jan 2015 16:31:59 +0000 (16:31 +0000)]
KNF; no binary change
deraadt [Thu, 1 Jan 2015 15:52:43 +0000 (15:52 +0000)]
sync
deraadt [Thu, 1 Jan 2015 15:50:27 +0000 (15:50 +0000)]
move to 5.7-beta
schwarze [Thu, 1 Jan 2015 15:34:43 +0000 (15:34 +0000)]
Don't dereference NULL pointers when formatting missing denominators,
subscripts, superscripts, or "from" or "to" arguments.
Found by jsg@ with afl.
reyk [Thu, 1 Jan 2015 14:54:06 +0000 (14:54 +0000)]
Merge error page changes from httpd: send Content-Length:, change
Date: from asctime to the preferred HTTP/1.1 format, and use the
popular "Comic Sans" style (can be changed in the configuration).
jsing [Thu, 1 Jan 2015 14:28:00 +0000 (14:28 +0000)]
Provide option types for binary AND, binary OR and silently discarding an
option.
reyk [Thu, 1 Jan 2015 14:21:06 +0000 (14:21 +0000)]
Use the recommended HTML5 doctype in error pages.
OK validator.w3.org (This document was successfully checked as HTML5!)
reyk [Thu, 1 Jan 2015 14:15:02 +0000 (14:15 +0000)]
Use the HTML5 doctype for error and auto index pages because it is
shorter, newer, and the recommendation. From James Jerkins.
Exclude the charset for now because it is not explicitly handled by httpd.
OK validator.w3.org (This document was successfully checked as HTML5!)
jsing [Thu, 1 Jan 2015 13:55:03 +0000 (13:55 +0000)]
Convert the openssl(1) enc command to the new option parsing and usage.
With input from doug@
schwarze [Thu, 1 Jan 2015 13:30:52 +0000 (13:30 +0000)]
Revert previous; tls_accept_socket() was intentionally undocumented
because the API design isn't fully settled.
Requested by jsing@ and tedu@.
schwarze [Thu, 1 Jan 2015 13:18:23 +0000 (13:18 +0000)]
If man(1) only has one single argument, always interpret it as a name,
never as a section. Who would have thought that people call their
manual pages 7z(1), 9c(1), 9p(1), and 9p(3)...
Patch from Sebastien Marie <semarie dash openbsd at latrappe dot fr>.
schwarze [Thu, 1 Jan 2015 13:00:36 +0000 (13:00 +0000)]
activate eqn(7) tests
schwarze [Thu, 1 Jan 2015 12:53:46 +0000 (12:53 +0000)]
eqn(7) tests
ajacoutot [Thu, 1 Jan 2015 09:44:20 +0000 (09:44 +0000)]
Drop redundant FUNCS_ONLY.
schwarze [Thu, 1 Jan 2015 09:06:39 +0000 (09:06 +0000)]
The roff(7) language is Turing-complete, even the part implemented
in mandoc(1). So practice some recursive programming to make sure
it doesn't get broken.
schwarze [Thu, 1 Jan 2015 08:42:08 +0000 (08:42 +0000)]
minimally document tls_accept_socket();
patch from Sunil at Nimmagadda dot net
schwarze [Thu, 1 Jan 2015 07:27:34 +0000 (07:27 +0000)]
Get rid of .Tn; from Kaspars at Bankovskis dot net, tweaked by me.
While here, stop calling the Internet "the ARPA Internet".
schwarze [Thu, 1 Jan 2015 07:05:24 +0000 (07:05 +0000)]
Even though i personally consider 8-bit-characters in filenames unwise,
technically, filenames are not restricted to ASCII.
Patch from Kaspars at Bankovskis dot net, no opposition when shown on tech@.
lteo [Thu, 1 Jan 2015 03:27:56 +0000 (03:27 +0000)]
Remove an unnecessary freeaddrinfo() call, since errx() would free all
the memory including the one allocated by the earlier getaddrinfo()
(pointed out by claudio@).
feedback from claudio@
ok bluhm@
jsg [Thu, 1 Jan 2015 03:26:13 +0000 (03:26 +0000)]
Always drain the write buffer on pte sync. Needed for Cortex A7/A15
which have integrated L2 so changes will get flushed to memory ASAP.
From Patrick Wildt in Bitrig via rapha@
ok miod@
deraadt [Wed, 31 Dec 2014 23:12:36 +0000 (23:12 +0000)]
Do not take sh to STATICPIE yet. That will happen once matching
snapshots exist. That is why mips64 is still held up (arranged with
kettenis)
schwarze [Wed, 31 Dec 2014 20:41:53 +0000 (20:41 +0000)]
describe .Ql more precisely;
defect pointed out by Steffen Nurpmeso <sdaoden at yandex dot com>
tedu [Wed, 31 Dec 2014 16:56:55 +0000 (16:56 +0000)]
recent changes broke alignment requirements on arm.
simplify a bit more, swapping only aligned values and then using memcpy
to fill the digest. fix confirmed by jsg.
ok jsg kettenis millert
schwarze [Wed, 31 Dec 2014 16:50:54 +0000 (16:50 +0000)]
When showing more than one formatted manual page, insert horizontal lines
between pages. Suggested by Theo Buehler <theo at math dot ethz dot ch>.
Even in UTF-8 output mode, do not use fancy line drawing characters such
that you can easily use /^--- to skip to the next manual in your pager.