openbsd
9 years ago* Ukrainian airports; from Alexey Suslikov
naddy [Mon, 29 Dec 2014 20:16:58 +0000 (20:16 +0000)]
* Ukrainian airports; from Alexey Suslikov
* add Tampere; from Timo Myyra

9 years agoToggle the TX_RING_KICK_WRAP bit when appropriate.
kettenis [Mon, 29 Dec 2014 19:33:34 +0000 (19:33 +0000)]
Toggle the TX_RING_KICK_WRAP bit when appropriate.

9 years agoimpose some limits on the ideal rounds so nothing too crazy happens when
tedu [Mon, 29 Dec 2014 17:07:17 +0000 (17:07 +0000)]
impose some limits on the ideal rounds so nothing too crazy happens when
the clock results are weird

9 years agoencrypt is now built into instbin, do not need to use the /mnt version
deraadt [Mon, 29 Dec 2014 17:04:19 +0000 (17:04 +0000)]
encrypt is now built into instbin, do not need to use the /mnt version

9 years agoswitch encrypt to auto scaling bcrypt rounds. ok deraadt
tedu [Mon, 29 Dec 2014 16:55:44 +0000 (16:55 +0000)]
switch encrypt to auto scaling bcrypt rounds. ok deraadt

9 years agodon't leak timing info about padding errors by generating a fake key
tedu [Mon, 29 Dec 2014 16:12:59 +0000 (16:12 +0000)]
don't leak timing info about padding errors by generating a fake key
afterwards. openssl has a more complicated fix, but it's less intrusive
for now to simply hoist the expensive part (fake key generation) up without
sweating a branch or two.
ok bcook jsing

9 years agodocument ordering more explicitly;
schwarze [Mon, 29 Dec 2014 15:09:00 +0000 (15:09 +0000)]
document ordering more explicitly;
feedback and ok ajacoutot@ rpe@

9 years agouseless change. overwriting the nul byte with a newline means b64_ntop
tedu [Mon, 29 Dec 2014 14:35:04 +0000 (14:35 +0000)]
useless change. overwriting the nul byte with a newline means b64_ntop
can use the whole buffer, even the last byte.

9 years agorename fingerprint struct field. no longer exposed to users, but since it's
tedu [Mon, 29 Dec 2014 14:23:17 +0000 (14:23 +0000)]
rename fingerprint struct field. no longer exposed to users, but since it's
not technically a fingerprint as others understand the term, pick another.
now it's a keynum!
after an email from Florian Weimer

9 years agoremove the inspect debug command. should not be used by users, who are not
tedu [Mon, 29 Dec 2014 14:16:04 +0000 (14:16 +0000)]
remove the inspect debug command. should not be used by users, who are not
supposed to know what fingerprints are or that they exist.

9 years agoAssert that rtrequest1(9) is always called at IPL_SOFTNET instead of
mpi [Mon, 29 Dec 2014 11:53:58 +0000 (11:53 +0000)]
Assert that rtrequest1(9) is always called at IPL_SOFTNET instead of
doing a spl dance.

This matters for RTM_DELETE because a deleted route entry is always
returned without having its reference counter increased when an `rtp'
argument is given.  In this case, we do not want to call splx() that
might free this route.

Inputs from millert@, ok blambert@, mikeb@

9 years agoAdd line continuation to be consistent with rc_pre(); ok sthen@
ajacoutot [Mon, 29 Dec 2014 11:17:43 +0000 (11:17 +0000)]
Add line continuation to be consistent with rc_pre(); ok sthen@

9 years agopexp is not needed; ok sthen@
ajacoutot [Mon, 29 Dec 2014 11:17:05 +0000 (11:17 +0000)]
pexp is not needed; ok sthen@

9 years agosync
jsg [Mon, 29 Dec 2014 10:25:51 +0000 (10:25 +0000)]
sync

9 years agore-add missing space in confirm prompt that got lost in -r1.18
jasper [Mon, 29 Dec 2014 07:37:27 +0000 (07:37 +0000)]
re-add missing space in confirm prompt that got lost in -r1.18

ok espie@

9 years agoExplicitely include <uvm/uvm_extern.h> in order to build on variable page size
miod [Mon, 29 Dec 2014 05:29:27 +0000 (05:29 +0000)]
Explicitely include <uvm/uvm_extern.h> in order to build on variable page size
architectures.

9 years agoSome missing break's.
brad [Mon, 29 Dec 2014 02:39:33 +0000 (02:39 +0000)]
Some missing break's.

9 years agoSome cleaning up of the ioctl handling bits to bring things in line
brad [Mon, 29 Dec 2014 02:33:13 +0000 (02:33 +0000)]
Some cleaning up of the ioctl handling bits to bring things in line
with the other drivers.

9 years agoSome cleaning up of the ioctl handling bits to bring things in line
brad [Mon, 29 Dec 2014 00:46:01 +0000 (00:46 +0000)]
Some cleaning up of the ioctl handling bits to bring things in line
with the other drivers.

9 years agoIt sends and receives packets (until we run out of the initial receive blocks).
kettenis [Mon, 29 Dec 2014 00:30:31 +0000 (00:30 +0000)]
It sends and receives packets (until we run out of the initial receive blocks).

9 years agoThe greatest happiness is to scatter inferiour APIs, to drive them
krw [Sun, 28 Dec 2014 21:32:44 +0000 (21:32 +0000)]
The greatest happiness is to scatter inferiour APIs, to drive them
before you, to see their files reduced to ashes, to see those who
love them shrouded in tears, and to gather into your API all their
invocations.

In other words, workq is no more. There is only taskq.

ok kettenis@ dlg@ (creator of taskq) jmc@

9 years agospelling fix; from daria suchecka via krzystof warzecha
jmc [Sun, 28 Dec 2014 21:07:41 +0000 (21:07 +0000)]
spelling fix; from daria suchecka via krzystof warzecha

9 years agoFairly complete Rx path hardware initialization.
kettenis [Sun, 28 Dec 2014 20:46:23 +0000 (20:46 +0000)]
Fairly complete Rx path hardware initialization.

9 years agoReplace last workq in tree (reading disklabels from newly attached
krw [Sun, 28 Dec 2014 18:32:12 +0000 (18:32 +0000)]
Replace last workq in tree (reading disklabels from newly attached
disks) with taskq. Diff originally from blambert@.

ok kettenis@

9 years agoFix subtle typo.
jsing [Sun, 28 Dec 2014 16:51:31 +0000 (16:51 +0000)]
Fix subtle typo.

9 years agoAdd regress tests for default option handling.
jsing [Sun, 28 Dec 2014 16:34:23 +0000 (16:34 +0000)]
Add regress tests for default option handling.

9 years agoAllow a default option to be specified by having a NULL name, but a valid
jsing [Sun, 28 Dec 2014 16:33:34 +0000 (16:33 +0000)]
Allow a default option to be specified by having a NULL name, but a valid
option type. In this case process the option as per normal.

9 years agoAdd regress tests for multiple argument callback functions.
jsing [Sun, 28 Dec 2014 16:24:48 +0000 (16:24 +0000)]
Add regress tests for multiple argument callback functions.

9 years agoProvide an option type that allows for a callback function to consume an
jsing [Sun, 28 Dec 2014 16:22:37 +0000 (16:22 +0000)]
Provide an option type that allows for a callback function to consume an
arbitrary number of arguments. This will allow for more complex option
handling as required by some of the openssl(1) applications.

9 years agoAdd option parsing regress tests with end of options handling.
jsing [Sun, 28 Dec 2014 16:11:54 +0000 (16:11 +0000)]
Add option parsing regress tests with end of options handling.

9 years agoTeach option parsing that a single hyphen denotes the end of named options
jsing [Sun, 28 Dec 2014 16:10:33 +0000 (16:10 +0000)]
Teach option parsing that a single hyphen denotes the end of named options
(as currently only implemented by some of the openssl(1) applications).

9 years agoAdd regress tests for option parsing with multiple unnamed arguments.
jsing [Sun, 28 Dec 2014 15:49:36 +0000 (15:49 +0000)]
Add regress tests for option parsing with multiple unnamed arguments.

9 years agoProvide a mechanism for option parsing to return the number of arguments
jsing [Sun, 28 Dec 2014 15:48:52 +0000 (15:48 +0000)]
Provide a mechanism for option parsing to return the number of arguments
that it has consumed. This allows for the handling of multiple unnamed
arguments, including lists of filenames.

9 years agoAttach USB HID devices from the Generic Destop page, usage pointer to
matthieu [Sun, 28 Dec 2014 15:24:08 +0000 (15:24 +0000)]
Attach USB HID devices from the Generic Destop page, usage pointer to
ums. This is how the USB Tablet from Qemu in libvirt/kvm shows up and
it works with ums(4). ok mpi@

9 years agoImprove documentation of the header/footer macros .Dt, .Os, .TH:
schwarze [Sun, 28 Dec 2014 15:22:42 +0000 (15:22 +0000)]
Improve documentation of the header/footer macros .Dt, .Os, .TH:
* State the defaults for .Os and the fourth .TH argument.
* Sync the section titles, and stop advertising obscure sections that
aren't actually fully supported and certainly not recommended for use.

9 years agoUpdate regress to match change in unnamed argument handling.
jsing [Sun, 28 Dec 2014 15:07:52 +0000 (15:07 +0000)]
Update regress to match change in unnamed argument handling.

9 years agoOnly accept a single unnamed argument - the existing behaviour is to
jsing [Sun, 28 Dec 2014 15:05:38 +0000 (15:05 +0000)]
Only accept a single unnamed argument - the existing behaviour is to
silently accept multiple unnamed arguments, ignoring all except the last.
This behaviour was already inconsistent between openssl(1) applications;
apply the principal of least surprise. This will also simplify the addition
of upcoming functionality.

9 years agoSlightly simplify options parsing logic.
jsing [Sun, 28 Dec 2014 14:50:15 +0000 (14:50 +0000)]
Slightly simplify options parsing logic.

9 years agomdoc(7) already uses the mandoc(1) -Ios argument in the footer line
schwarze [Sun, 28 Dec 2014 14:39:08 +0000 (14:39 +0000)]
mdoc(7) already uses the mandoc(1) -Ios argument in the footer line
when .Os has no argument, so do the same for man(7) when .TH has less
than four arguments; there is no reason to treat both differently.
Issue found following a question from Thomas Klausner <wiz at NetBSD>.

9 years agoUpdate options regress to match option function pointer change.
jsing [Sun, 28 Dec 2014 14:22:46 +0000 (14:22 +0000)]
Update options regress to match option function pointer change.

9 years agoProvide two different function pointers for option function callbacks. This
jsing [Sun, 28 Dec 2014 14:21:42 +0000 (14:21 +0000)]
Provide two different function pointers for option function callbacks. This
allows for simpler code in the common cases and will allow for further
extension to support the complex cases.

9 years agoremove a surplus argument to printf caught by -Wformat
jsg [Sun, 28 Dec 2014 14:20:37 +0000 (14:20 +0000)]
remove a surplus argument to printf caught by -Wformat
ok claudio@

9 years agoUnbreak the tree. Looks like tedu did not tedu enough when killing KPDK
claudio [Sun, 28 Dec 2014 14:19:31 +0000 (14:19 +0000)]
Unbreak the tree. Looks like tedu did not tedu enough when killing KPDK
support.

9 years agoimprove previous: do the size check up front to avoid leaking memory
schwarze [Sun, 28 Dec 2014 14:16:07 +0000 (14:16 +0000)]
improve previous: do the size check up front to avoid leaking memory

9 years agoAdd regression tests where OpenBSD syslogd is sending messages to
bluhm [Sun, 28 Dec 2014 14:08:01 +0000 (14:08 +0000)]
Add regression tests where OpenBSD syslogd is sending messages to
rsyslogd from ports.  If the rsyslog package is installed, rsyslogd
is used as drain to test interoperability.  This will be especially
useful for syslog via TCP and TLS.

9 years agoProvide initial regress tests for the complex option parsing that is needed
jsing [Sun, 28 Dec 2014 14:01:33 +0000 (14:01 +0000)]
Provide initial regress tests for the complex option parsing that is needed
for openssl(1), which is also variable in behaviour between applications
(and currently inconsistent).

9 years agomask with & not &&
jsg [Sun, 28 Dec 2014 13:55:30 +0000 (13:55 +0000)]
mask with & not &&
ok claudio@

9 years agoChange the default ext_addr from "egress" to "*". Listening on the
reyk [Sun, 28 Dec 2014 13:55:22 +0000 (13:55 +0000)]
Change the default ext_addr from "egress" to "*".  Listening on the
egress group only works if you have a default route; this confused
some people.

9 years agoChange the default example from "listen on egress" to "listen on *".
reyk [Sun, 28 Dec 2014 13:53:23 +0000 (13:53 +0000)]
Change the default example from "listen on egress" to "listen on *".
Listening on the egress group only works if you have a default route;
this confused some people.

9 years agoAdd an audio driver, necsb(4), for NEC PC-9801-86 sound board on
aoyama [Sun, 28 Dec 2014 13:03:18 +0000 (13:03 +0000)]
Add an audio driver, necsb(4), for NEC PC-9801-86 sound board on
cbus(4).

This work is based on the source code of NetBSD/pc98, an unofficial
NetBSD port for NEC PC-9801 series, written about 16 years ago.
Thanks to NetBSD/pc98 porting staff for their work, especially NAGAO
Tadaaki and N. Honda who wrote the original driver.

ok miod@

9 years agoWith revision 1.93 a space character got lost when printing the
bluhm [Sun, 28 Dec 2014 11:11:01 +0000 (11:11 +0000)]
With revision 1.93 a space character got lost when printing the
signal action.  Print the space again.
OK jsg@

9 years agoconvert bcopy to memcpy in md5 and sha1. also be consistent about clearing
tedu [Sun, 28 Dec 2014 10:04:35 +0000 (10:04 +0000)]
convert bcopy to memcpy in md5 and sha1. also be consistent about clearing
context and making digest required to Final.

9 years agoremove KPDK. not really used, and a bad choice anyway. ok naddy
tedu [Sun, 28 Dec 2014 10:02:37 +0000 (10:02 +0000)]
remove KPDK. not really used, and a bad choice anyway. ok naddy

9 years agoalpha now supports -static -pie binaries; ok kettenis
deraadt [Sun, 28 Dec 2014 05:17:21 +0000 (05:17 +0000)]
alpha now supports -static -pie binaries; ok kettenis

9 years agoBuild special/encrypt into instbin, to prepare for dropping use of the
deraadt [Sun, 28 Dec 2014 04:40:18 +0000 (04:40 +0000)]
Build special/encrypt into instbin, to prepare for dropping use of the
version in just installed base.

9 years agoprepare things slightly further, FwUpdate still not active...
espie [Sat, 27 Dec 2014 23:59:44 +0000 (23:59 +0000)]
prepare things slightly further, FwUpdate still not active...

9 years agomake it at least work a wee little bit.
espie [Sat, 27 Dec 2014 23:58:52 +0000 (23:58 +0000)]
make it at least work a wee little bit.

9 years agomention Wandboard
jsg [Sat, 27 Dec 2014 23:37:09 +0000 (23:37 +0000)]
mention Wandboard

9 years agoLink -static -pie executables with rcrt0.o instead of crt0.o such that they
kettenis [Sat, 27 Dec 2014 20:38:14 +0000 (20:38 +0000)]
Link -static -pie executables with rcrt0.o instead of crt0.o such that they
self-relocate.

9 years agoStatic PIE for mips64. Still something not quite right as a full make build
kettenis [Sat, 27 Dec 2014 20:33:47 +0000 (20:33 +0000)]
Static PIE for mips64.  Still something not quite right as a full make build
fails.

ok kurt@

9 years agoencrypt should easily fit onto the media now. this will be done step by step.
deraadt [Sat, 27 Dec 2014 20:21:09 +0000 (20:21 +0000)]
encrypt should easily fit onto the media now.  this will be done step by step.

9 years agoinclude netinet/in.h to define struct in6_addr.
bcook [Sat, 27 Dec 2014 19:35:28 +0000 (19:35 +0000)]
include netinet/in.h to define struct in6_addr.

Noticed while testing libtls on FreeBSD.

9 years agozap trailing whitespace;
jmc [Sat, 27 Dec 2014 16:09:51 +0000 (16:09 +0000)]
zap trailing whitespace;

9 years agoadd tsciic to the masters list;
jmc [Sat, 27 Dec 2014 16:08:03 +0000 (16:08 +0000)]
add tsciic to the masters list;

9 years agoSpecialisation of PkgAdd to do fw_update, not yet finished
espie [Sat, 27 Dec 2014 16:05:42 +0000 (16:05 +0000)]
Specialisation of PkgAdd to do fw_update, not yet finished

okay to import deraadt@

9 years agoOnly include "boot.h" if MD_RCRT0_START is defined. Should fix build on vax.
kettenis [Sat, 27 Dec 2014 16:04:22 +0000 (16:04 +0000)]
Only include "boot.h" if MD_RCRT0_START is defined.  Should fix build on vax.

ok miod@

9 years agoLink -static -pie executables with rcrt0.o instead of crt0.o such that they
kettenis [Sat, 27 Dec 2014 13:22:21 +0000 (13:22 +0000)]
Link -static -pie executables with rcrt0.o instead of crt0.o such that they
self-relocate.

ok kurt@

9 years agoChange the default entry point from _start to __start.
kettenis [Sat, 27 Dec 2014 13:21:08 +0000 (13:21 +0000)]
Change the default entry point from _start to __start.

ok kurt@, guenther@

9 years agoStatic PIE support for alpha.
kettenis [Sat, 27 Dec 2014 13:17:51 +0000 (13:17 +0000)]
Static PIE support for alpha.

This adds alpha-specific first-pass GOT relocation code to boot.h.
The assembly code is pure magic.  The numeric register
names don't make it easier to understand (or compare with the
equivalent ld.so code).  Unfortunately the assembler only understands
a few symbolic register names.

Renames the crt0.o entry point to __start.  Our compiler was already using
__start and the linker will soon follow.

ok kurt@

9 years agoMake ld.so process only R_ALPHA_RELATIVE relocations during early GOT
kettenis [Sat, 27 Dec 2014 13:13:25 +0000 (13:13 +0000)]
Make ld.so process only R_ALPHA_RELATIVE relocations during early GOT
relocation in _reloc_alpha_got(), and teach RELOC_RELA() to skip R_ALPHA_NONE
relocations (which are just nops used to fill out the relocation table).
Handling R_ALPHA_NONE relocations will be necessary for static PIE support
and it is not inconceivable that ld.so will end up with such relocations
at some point.

ok kurt@

9 years agoAs indicated by kettenis and kurt, hppa i386 powerpc now support static
deraadt [Sat, 27 Dec 2014 07:23:09 +0000 (07:23 +0000)]
As indicated by kettenis and kurt, hppa i386 powerpc now support static
pie.  snapshots matching this change in behaviour heading out soon.

9 years agosync
deraadt [Sat, 27 Dec 2014 06:51:42 +0000 (06:51 +0000)]
sync

9 years agoSRCDIRS must now always come from distrib/special. A few systems
deraadt [Sat, 27 Dec 2014 06:02:00 +0000 (06:02 +0000)]
SRCDIRS must now always come from distrib/special.  A few systems
still MD installboot, and we will need to repair those before
release, or force them pure -static use by both base and instbin.

9 years agoMore code. Transmitting packets somewhat works now.
kettenis [Fri, 26 Dec 2014 23:06:22 +0000 (23:06 +0000)]
More code.  Transmitting packets somewhat works now.

9 years agoDocument forward to in protocols.
benno [Fri, 26 Dec 2014 22:55:02 +0000 (22:55 +0000)]
Document forward to in protocols.

9 years agothe kvm.db is now kmem owned. noticed by Steven Roberts
tedu [Fri, 26 Dec 2014 21:17:32 +0000 (21:17 +0000)]
the kvm.db is now kmem owned. noticed by Steven Roberts

9 years agoRemove upgrade_to64time_t() now that the transition to 64 bit time_t
rpe [Fri, 26 Dec 2014 17:54:54 +0000 (17:54 +0000)]
Remove upgrade_to64time_t() now that the transition to 64 bit time_t
is done.

diff from tj at mrsk.me
OK halex@ deraadt@

9 years agoLink -static -pie executables on powerpc with rcrt0.o instead of crt0.o
kurt [Fri, 26 Dec 2014 13:53:43 +0000 (13:53 +0000)]
Link -static -pie executables on powerpc with rcrt0.o instead of crt0.o
such that they self-relocate. okay kettenis@

9 years agoSelf-relocation code for powerpc.
kurt [Fri, 26 Dec 2014 13:52:01 +0000 (13:52 +0000)]
Self-relocation code for powerpc.

9 years agonot necessary to define INET anymore
tedu [Fri, 26 Dec 2014 05:47:23 +0000 (05:47 +0000)]
not necessary to define INET anymore

9 years agounifdef INET. missed a few headers in previous rounds
tedu [Fri, 26 Dec 2014 05:46:32 +0000 (05:46 +0000)]
unifdef INET. missed a few headers in previous rounds

9 years agoWe no longer need -Wl,-Bsymbolic for -static -pie.
kettenis [Thu, 25 Dec 2014 23:15:26 +0000 (23:15 +0000)]
We no longer need -Wl,-Bsymbolic for -static -pie.

9 years agoDon't generate PLT entries for symbols defined in a regular object for
kettenis [Thu, 25 Dec 2014 23:11:21 +0000 (23:11 +0000)]
Don't generate PLT entries for symbols defined in a regular object for
-static -pie.

On sparc64, avoid generating GLOB_DAT relocs and convert certain absolute
relocs into RELATIVE relocs when we can for -static -pie.

With this change we don't need -Wl,-Bsymbolic anymore when building -static
-pie binaries.

ok millert@, kurt@

9 years agoDon't generate PLT entries for symbols defined in a regular object for
kettenis [Thu, 25 Dec 2014 23:10:17 +0000 (23:10 +0000)]
Don't generate PLT entries for symbols defined in a regular object for
-static -pie.

On sparc64, avoid generating GLOB_DAT relocs and convert certain absolute
relocs into RELATIVE relocs when we can for -static -pie.

With this change we don't need -Wl,-Bsymbolic anymore when building -static
-pie binaries.

ok millert@, kurt@

9 years agoreturn ERANGE instead of ENOMEM, so callers can differentiate real oom
benno [Thu, 25 Dec 2014 22:20:52 +0000 (22:20 +0000)]
return ERANGE instead of ENOMEM, so callers can differentiate real oom
from this case where we have a static buffer and cant realloc.

ok phessler, claudio, reyk

9 years agoUse archdep.h GOT_PERMS define for mprotect of GOT. okay kettenis@
kurt [Thu, 25 Dec 2014 21:38:45 +0000 (21:38 +0000)]
Use archdep.h GOT_PERMS define for mprotect of GOT. okay kettenis@

9 years agosubtraction of two void * is not well defined, plus two void * can be apart
otto [Thu, 25 Dec 2014 20:13:14 +0000 (20:13 +0000)]
subtraction of two void * is not well defined, plus two void * can be apart
more than an int can hold; ok krw@ deraadt@ and tedu@ (by implication)

9 years agoDelete misleading and dangerous comment about customising STATIC. Nowadays,
pascal [Thu, 25 Dec 2014 18:58:34 +0000 (18:58 +0000)]
Delete misleading and dangerous comment about customising STATIC.  Nowadays,
it's not a user-settable knob.

general agreement from miod@ kettenis@ deraadt@

9 years agoReduce memory and time consumption on certain malformed input files
schwarze [Thu, 25 Dec 2014 17:18:40 +0000 (17:18 +0000)]
Reduce memory and time consumption on certain malformed input files
by limiting the length of expanded input lines during the
(usually recursive) expansion of user defined strings.
Resource hogging found by jsg@ with afl.

9 years agoSupport negative indentations for mdoc(7) displays and lists.
schwarze [Wed, 24 Dec 2014 23:31:59 +0000 (23:31 +0000)]
Support negative indentations for mdoc(7) displays and lists.
Not exactly recommended for use, rather for groff compatibility.
While here, introduce similar SHRT_MAX limits as in man(7),
fixing a few cases of infinite output found by jsg@ with afl.

9 years agoPass real sizes to free().
miod [Wed, 24 Dec 2014 22:48:27 +0000 (22:48 +0000)]
Pass real sizes to free().

9 years agosimplify crypt_checkpass. The API promise is that this function doesn't
tedu [Wed, 24 Dec 2014 22:10:34 +0000 (22:10 +0000)]
simplify crypt_checkpass. The API promise is that this function doesn't
use global data. The simplest fix is to only check blowfish passwords,
and implicitly lock out DES passwords.
crypt_checkpass is currently only used in one place, passwd, to verify
the local user's password, so this is probably acceptable.
Gives people a little more time to migrate away from DES before introduing
checkpass into more places.

9 years agosimplify. bcrypt only support and use newer libc APIs. no makekey emul.
tedu [Wed, 24 Dec 2014 22:04:26 +0000 (22:04 +0000)]
simplify. bcrypt only support and use newer libc APIs. no makekey emul.
ok deraadt
schwarze is a little sad to see the last 1/8 shared man page go, but we
have a support program in place, called the attic.

9 years agoPartially revert 1.46 and print more details when panicing at the end of
miod [Wed, 24 Dec 2014 21:15:30 +0000 (21:15 +0000)]
Partially revert 1.46 and print more details when panicing at the end of
trap(). This is expected to reduce loss of hair. ok deraadt@

9 years agotsciic(4): i2c controller onboard Tsunami and Titan chipsets, gives access to
miod [Wed, 24 Dec 2014 18:46:12 +0000 (18:46 +0000)]
tsciic(4): i2c controller onboard Tsunami and Titan chipsets, gives access to
the fan sensors on systems without RMC. From NetBSD, ok deraadt@

9 years agoFor .RS, we need to save the information how much we actually indented
schwarze [Wed, 24 Dec 2014 18:03:34 +0000 (18:03 +0000)]
For .RS, we need to save the information how much we actually indented
because negative indents can get truncated, in which case we no longer
know how to restore the original indent at the end of the block.
This also solves another case of effectively infinite output found
by jsg@ with afl, triggered by very large negative indents.

9 years agoPrevent unsigned integer underflow when a number is too wide
schwarze [Wed, 24 Dec 2014 15:37:23 +0000 (15:37 +0000)]
Prevent unsigned integer underflow when a number is too wide
for a table cell with an "nz" layout specification,
causing essentially infinite output as found by jsg@ with afl.

9 years agoExpand Elf_Rel relocations to include DT_JMPREL. Inspect DT_PLTREL value
kurt [Wed, 24 Dec 2014 14:04:09 +0000 (14:04 +0000)]
Expand Elf_Rel relocations to include DT_JMPREL. Inspect DT_PLTREL value
to determine if DT_JMPREL relocations are REL or RELA and conditionally
perform DT_JMPREL in either REL or RELA as needed (idea from kettenis@).
Remove unneeded i386 RELA implementation. i386 static pie working now.

okay kettenis@

9 years agobump version
eric [Wed, 24 Dec 2014 13:53:39 +0000 (13:53 +0000)]
bump version

9 years agoCorrectly fallback to PLAIN if opportunistics TLS fails during TLS handshake.
eric [Wed, 24 Dec 2014 13:51:31 +0000 (13:51 +0000)]
Correctly fallback to PLAIN if opportunistics TLS fails during TLS handshake.

fix by Stefan Sieg

ok gilles