uaa [Mon, 5 Jan 2015 19:59:40 +0000 (19:59 +0000)]
fix .Nd line
ok by deraadt@
bluhm [Mon, 5 Jan 2015 18:48:31 +0000 (18:48 +0000)]
Make syslogd TCP tests more reliable. Increase timeouts, shutdown
write to trigger connection close, allow errors EPIPE or ECONNRESET.
espie [Mon, 5 Jan 2015 16:32:28 +0000 (16:32 +0000)]
a few tweaks to match the old script better (for now)
- progress meter set like the old script
- path to firmware printed
- update both needed and installed drivers
- coda when we don't find anything to install/delete
- error out if @ARGV is not a possible driver
jsing [Mon, 5 Jan 2015 15:25:39 +0000 (15:25 +0000)]
Convert openssl(1) passwd to new option handling.
ok doug@
tedu [Mon, 5 Jan 2015 14:07:12 +0000 (14:07 +0000)]
encrypt can use the scrypt scaling code in libc now via crypt_newhash
tedu [Mon, 5 Jan 2015 13:52:47 +0000 (13:52 +0000)]
use the correct read count when determining how swabbing is necessary.
bug report from Martin Wolters
sthen [Mon, 5 Jan 2015 13:29:34 +0000 (13:29 +0000)]
zap file which is unused and already removed upstream
sthen [Mon, 5 Jan 2015 13:28:44 +0000 (13:28 +0000)]
use new ub_conf_dir to set the directory for keys and certificates
ok brad@, committed upstream (r3297)
sthen [Mon, 5 Jan 2015 13:27:33 +0000 (13:27 +0000)]
regen
sthen [Mon, 5 Jan 2015 13:27:28 +0000 (13:27 +0000)]
provide a new ub_conf_dir variable, to be used in unbound-control-setup
ok brad@, committed upstream (r3297)
sthen [Mon, 5 Jan 2015 13:18:31 +0000 (13:18 +0000)]
When building the package path for the new fw_update, only use
/firmware/snapshots/ for releases tagged with "-current", otherwise
use the version number e.g. /firmware/5.7/ for 5.7-beta / 5.7.
tedu [Mon, 5 Jan 2015 13:14:24 +0000 (13:14 +0000)]
simplify realloc loop by not using realloc. we don't care about old data,
so don't make realloc copy it. just allocate what we need.
ok deraadt guenther
tedu [Mon, 5 Jan 2015 13:10:10 +0000 (13:10 +0000)]
convert clock() to clock_gettime() for improved precision (and accuracy?)
guenther suggested using thread time, which actually may improve accuracy
if somebody puts this in a threaded program.
mpi [Mon, 5 Jan 2015 12:38:16 +0000 (12:38 +0000)]
Prevent a race condition upon resume by adding a supplementary delay.
This is a workaround needed at least by Renesas controllers. I didn't
find any documentation about this issue and I guess other open source
xHCI implementations do not see this race because they do much more work
upon resume.
Thanks to Remi Locherer for reporting this issue on bugs@.
reyk [Mon, 5 Jan 2015 11:03:57 +0000 (11:03 +0000)]
Be more specific: path is a component of the URI/URL, so use "path"
instead of "URI" or "URL" when referring to it.
mpi [Mon, 5 Jan 2015 10:21:58 +0000 (10:21 +0000)]
Explicitly check for a non NULL ifp in in_control(). Only MROUTING
ioctl(2)s are an exception to this rule. This makes clear that ifa
cannot be used initialized as found by jsg@ with gcc/clang.
ok krw@, bluhm@, jca@
lteo [Mon, 5 Jan 2015 03:54:55 +0000 (03:54 +0000)]
Zap a reference to .rnd, which is likely the last RANDFILE remnant on
this man page.
ok jsing@
jmc [Sun, 4 Jan 2015 22:38:31 +0000 (22:38 +0000)]
fix SEE ALSO;
chrisz [Sun, 4 Jan 2015 22:23:58 +0000 (22:23 +0000)]
add new url stripping option:
strip number
Strip number path components from the beginning of the
request URI before looking up the stripped-down URI at
the document root.
reviewed with much patience and OK by reyk@
uaa [Sun, 4 Jan 2015 21:11:16 +0000 (21:11 +0000)]
add uslhcom(4) description to usb(4)
overhaul SYNOPSYS of uhidev(4)
ok by deraadt@
uaa [Sun, 4 Jan 2015 20:55:38 +0000 (20:55 +0000)]
add new driver uslhcom(4) USB HID based UART.
uaa [Sun, 4 Jan 2015 20:29:09 +0000 (20:29 +0000)]
add uslhcom(4) to SYNOPSYS
ok by jmc@
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