openbsd
9 years agosome third-party mda require a prepended From separator line, so remove the
gilles [Mon, 5 Jan 2015 21:00:36 +0000 (21:00 +0000)]
some third-party mda require a prepended From separator line, so remove the
prepending from delivery_filename backend and prepend conditionally earlier
in the code path if delivery method is through mda or filename.

ok eric@

9 years agoAdd SORTPROG environment variable to test a different sort program.
millert [Mon, 5 Jan 2015 20:09:25 +0000 (20:09 +0000)]
Add SORTPROG environment variable to test a different sort program.
Replace -y with -S (supported by GNU and FreeBSD sorts).

9 years agofix .Nd line
uaa [Mon, 5 Jan 2015 19:59:40 +0000 (19:59 +0000)]
fix .Nd line

ok by deraadt@

9 years agoMake syslogd TCP tests more reliable. Increase timeouts, shutdown
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.

9 years agoa few tweaks to match the old script better (for now)
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

9 years agoConvert openssl(1) passwd to new option handling.
jsing [Mon, 5 Jan 2015 15:25:39 +0000 (15:25 +0000)]
Convert openssl(1) passwd to new option handling.

ok doug@

9 years agoencrypt can use the scrypt scaling code in libc now via crypt_newhash
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

9 years agouse the correct read count when determining how swabbing is necessary.
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

9 years agozap file which is unused and already removed upstream
sthen [Mon, 5 Jan 2015 13:29:34 +0000 (13:29 +0000)]
zap file which is unused and already removed upstream

9 years agouse new ub_conf_dir to set the directory for keys and certificates
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)

9 years agoregen
sthen [Mon, 5 Jan 2015 13:27:33 +0000 (13:27 +0000)]
regen

9 years agoprovide a new ub_conf_dir variable, to be used in unbound-control-setup
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)

9 years agoWhen building the package path for the new fw_update, only use
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.

9 years agosimplify realloc loop by not using realloc. we don't care about old data,
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

9 years agoconvert clock() to clock_gettime() for improved precision (and accuracy?)
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.

9 years agoPrevent a race condition upon resume by adding a supplementary delay.
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@.

9 years agoBe more specific: path is a component of the URI/URL, so use "path"
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.

9 years agoExplicitly check for a non NULL ifp in in_control(). Only MROUTING
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@

9 years agoZap a reference to .rnd, which is likely the last RANDFILE remnant on
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@

9 years agofix SEE ALSO;
jmc [Sun, 4 Jan 2015 22:38:31 +0000 (22:38 +0000)]
fix SEE ALSO;

9 years agoadd new url stripping option:
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@

9 years agoadd uslhcom(4) description to usb(4)
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@

9 years agoadd new driver uslhcom(4) USB HID based UART.
uaa [Sun, 4 Jan 2015 20:55:38 +0000 (20:55 +0000)]
add new driver uslhcom(4) USB HID based UART.

9 years agoadd uslhcom(4) to SYNOPSYS
uaa [Sun, 4 Jan 2015 20:29:09 +0000 (20:29 +0000)]
add uslhcom(4) to SYNOPSYS

ok by jmc@

9 years agoOnly set the status of a completed xfer just before giving it back to
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.

9 years agoEV68CB pass 2.4 is numeric revision 5, as reported by SRM.
miod [Sun, 4 Jan 2015 18:52:46 +0000 (18:52 +0000)]
EV68CB pass 2.4 is numeric revision 5, as reported by SRM.

9 years agoback to using ramdisk encrypt again. theo found and fixed the (my) bug.
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.

9 years agoremove code for ancient gcc.
daniel [Sun, 4 Jan 2015 16:12:42 +0000 (16:12 +0000)]
remove code for ancient gcc.

ok millert@, kettenis@

9 years agoremove extra scaffolding that's actually NOT in the committed copy of
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

9 years agosame semantics as old program
espie [Sun, 4 Jan 2015 14:54:12 +0000 (14:54 +0000)]
same semantics as old program

9 years agocleaner logic, fix things so that fw_update -da makes sense
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)

9 years agotweak the ntogo messages slightly so that they work better in all situations
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

9 years agotoo many todo. Use unambiguous names, since they're not the same operation
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

9 years agoThe PRG airport has been renamed in honor of Vaclav Havel quite some
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.

9 years agoImplement splassert(9) for powerpc.
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.

9 years agoSort wireless nodes by signal strength, from Simon Nicolussi.
mpi [Sun, 4 Jan 2015 12:30:39 +0000 (12:30 +0000)]
Sort wireless nodes by signal strength, from Simon Nicolussi.

ok stsp@, deraadt@

9 years agoUse __buffer__ instead of __string__ as the __bounded type. The former causes
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@

9 years agoback out r1.173, aka the "* 8" diff. it tickles a problem on some
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@

9 years agoreturn 0 for success in ucycom_param() instead of uninitialised memory
jsg [Sun, 4 Jan 2015 08:42:04 +0000 (08:42 +0000)]
return 0 for success in ucycom_param() instead of uninitialised memory

9 years agoFix error handling for re_encap() within re_start() and some tidying up.
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.

9 years agoavoid the use of an uninitialised variable in one of the codepaths in
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@

9 years agofix -b a mode, spotted by rpe
deraadt [Sun, 4 Jan 2015 02:28:26 +0000 (02:28 +0000)]
fix -b a mode, spotted by rpe

9 years agogo back to using /mnt encrypt. it seems something isn't working yet.
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.

9 years agouse MAXIMUM as the canonical local MAX macro.
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

9 years agorename sockaddr_un variables from 'sun' to the more common 'sa'.
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@

9 years agodon't rely on sys/param.h having a MAX macro.
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@

9 years agoRemove the unused dns_pid variable.
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@

9 years agoremoved unused libevent header and structures in ntpd.h
bcook [Sun, 4 Jan 2015 01:13:10 +0000 (01:13 +0000)]
removed unused libevent header and structures in ntpd.h

ok deraadt@ phessler@

9 years agoAdd a missing include for time.h to get the definitions of clock_gettime and strftime.
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@

9 years agoReset tls key and cert to NULL when duplicating a server - avoids a
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@

9 years agoImplement BMAC support; ports 2 & 3 work now as well.
kettenis [Sat, 3 Jan 2015 23:14:33 +0000 (23:14 +0000)]
Implement BMAC support; ports 2 & 3 work now as well.

9 years agoadd new driver uslhcom(4) USB HID based UART.
uaa [Sat, 3 Jan 2015 21:43:42 +0000 (21:43 +0000)]
add new driver uslhcom(4) USB HID based UART.

9 years agoadd 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.

9 years agoadd 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.

9 years agoSome bowels of the bus_dma code assume it is ok to perform bitwise operations
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.

9 years agoadd new driver uslhcom(4) USB HID based UART.
uaa [Sat, 3 Jan 2015 20:39:11 +0000 (20:39 +0000)]
add new driver uslhcom(4) USB HID based UART.

9 years ago(new) device driver for Silicon Labs CP2110 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@

9 years agoMake port 1 on the 4x1G card work. Port 2 & 3 still need some work.
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.

9 years agoFix incorrect OPENSSL_assert() usage.
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@

9 years agomake it able to install quirks from normal path (with normal key) and
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.

9 years agoTweak previous - add a missing free in the error path.
reyk [Sat, 3 Jan 2015 16:20:31 +0000 (16:20 +0000)]
Tweak previous - add a missing free in the error path.

9 years agoFix race condition in perl's ExtUtils::MakeMaker
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

9 years agoAdd support for creating a protective MBR for GPT.
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@

9 years agoSupport alias names and multiple listen statements per server block.
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@

9 years agoFix a potential NULL pointer access in an error message after waitpid()
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.

9 years agomove the list_cloners() prototype out of #ifndef SMALL
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

9 years agoCheck the return values of several reallocarray() calls. While here,
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@

9 years agook, landisk snapshots are out that do static PIE
deraadt [Sat, 3 Jan 2015 00:58:26 +0000 (00:58 +0000)]
ok, landisk snapshots are out that do static PIE

9 years agoGiven the excessively technical description in the old mdoc_samples(7)
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>.

9 years agoIdentify NCT5104D variant in dmesg. (No lm here, these are used for com and
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@

9 years agoFix saving dhclient lease files during installation.
rpe [Fri, 2 Jan 2015 22:38:50 +0000 (22:38 +0000)]
Fix saving dhclient lease files during installation.

OK krw@

9 years agoFix a few format string warnings, allow to build DEBUG kernel on sgi
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@

9 years agothere's no need to defer the removal of the iic sensors to a task, we can
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@

9 years agoFix dow and apply the usual easter egg.
miod [Fri, 2 Jan 2015 19:45:42 +0000 (19:45 +0000)]
Fix dow and apply the usual easter egg.

9 years agoBump config flags field to 32bits. Makes room for future changes -
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.

9 years agoPFS stands for Perfect Forward Secrecy.
sobrado [Fri, 2 Jan 2015 18:28:23 +0000 (18:28 +0000)]
PFS stands for Perfect Forward Secrecy.

ok reyk@

9 years agoWhen chaining TRBs, calculate the TD Size as described in section
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@.

9 years agoHolds up much better under load with an IPL on the block pool.
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.

9 years agoExplicitly set the *data member of struct ohash_info to NULL.
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 126129812612991261300, reported by
Pedro Giffuni and Ulrich Spörlein <pfg@ and uqs@ at FreeBSD>.

9 years agoRename the tls_connect_socket() parameter 'socket' to 's' to avoid
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@

9 years agoStill locks up under load, but otherwise fairly functional.
kettenis [Fri, 2 Jan 2015 16:20:11 +0000 (16:20 +0000)]
Still locks up under load, but otherwise fairly functional.

9 years agoFix return code of _rc_quirks().
ajacoutot [Fri, 2 Jan 2015 14:44:05 +0000 (14:44 +0000)]
Fix return code of _rc_quirks().
ok robert@

9 years agoUse SIMPLEQ for syslogd filed list instead of manual list operations.
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@

9 years agoWhen syslogd was sending via TCP, there was file descriptor leak
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@

9 years agoReport the TT Think Time of USB2.0 Hubs.
mpi [Fri, 2 Jan 2015 11:58:32 +0000 (11:58 +0000)]
Report the TT Think Time of USB2.0 Hubs.

9 years agoRemove unused variable.
lum [Fri, 2 Jan 2015 11:43:15 +0000 (11:43 +0000)]
Remove unused variable.

9 years agoadjust date
deraadt [Fri, 2 Jan 2015 11:03:50 +0000 (11:03 +0000)]
adjust date

9 years agogive the device ref taken in vscsikqfilter to the knote, and unref
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.

9 years agostore all state needed to defer probe/detach events in vscsi_devevent_task.
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.

9 years agoAdd a comment about the default values being duplicated in rcctl(8).
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@

9 years agoupdate currency exchange rates;
jmc [Fri, 2 Jan 2015 08:03:15 +0000 (08:03 +0000)]
update currency exchange rates;

9 years agouppercase for place names, and one "t" in british;
jmc [Fri, 2 Jan 2015 08:02:20 +0000 (08:02 +0000)]
uppercase for place names, and one "t" in british;
from carson chittom

9 years agoRemove ifdef statements for TIMES and USE_TOD; they don't do anything,
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@

9 years agoAdd some additional i.MX6 board types from Bitrig.
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.

9 years agoEnable 'ifconfig -C' (list dynamic interface types) on install
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@

9 years ago"The logging of errors SHOULD be restricted to conflicting information
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@

9 years agoTest that syslogd sending over TCP does not leak a file descriptor
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.

9 years agoInline the .cpsetup pseudo-statement in rcrt0 to avoid saving the "old" gp
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@

9 years agoFix a buffer overrun triggered by a trailing backslash at EOF in
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.

9 years agoFix a read buffer overrun triggered by trailing \s- or trailing \s+
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.