openbsd
10 years agoLDFLAGS -> LDADD, fixes build on static arches.
miod [Thu, 2 Jan 2014 17:05:02 +0000 (17:05 +0000)]
LDFLAGS -> LDADD, fixes build on static arches.

10 years agoSomeone accidentally the verb (Henri Kemppainen)
espie [Thu, 2 Jan 2014 17:02:48 +0000 (17:02 +0000)]
Someone accidentally the verb (Henri Kemppainen)

10 years agodisplay proper error messages for read/write.
espie [Thu, 2 Jan 2014 16:34:02 +0000 (16:34 +0000)]
display proper error messages for read/write.
after a lot of bickering with tedu...

"fine, fix it" tedu@

10 years agoSince the functions in read.c are part of the mandoc(3) library,
schwarze [Thu, 2 Jan 2014 16:29:46 +0000 (16:29 +0000)]
Since the functions in read.c are part of the mandoc(3) library,
do not print to stderr.  Instead, properly use the mmsg callback.
Issue noticed by Abhinav Upadhyay <er dot abhinav dot upadhyay
at gmail dot com> and Thomas Klausner <wiz at NetBSD>.

10 years agobe more explicit in why we don't write DESC
espie [Thu, 2 Jan 2014 16:27:10 +0000 (16:27 +0000)]
be more explicit  in why we don't write DESC
return early instead of adding an extra level of test.

10 years agozap PKG_PREFIX (undocumented and unused, now)
espie [Thu, 2 Jan 2014 16:05:42 +0000 (16:05 +0000)]
zap PKG_PREFIX (undocumented and unused, now)
okay landry@

10 years agoCall fuse callbacks on FBT_INIT and FBT_DESTROY.
syl [Thu, 2 Jan 2014 15:39:12 +0000 (15:39 +0000)]
Call fuse callbacks on FBT_INIT and FBT_DESTROY.

Issue reported by Helg Bredow, thanks!

With inputs from tedu@
ok tedu@

10 years agoAdd primary support for LUNA-88K 4bpp/8bpp frame buffer.
aoyama [Thu, 2 Jan 2014 15:30:34 +0000 (15:30 +0000)]
Add primary support for LUNA-88K 4bpp/8bpp frame buffer.

This brings color support on LUNA's wscons.  And, with the help of recent
development version of 'mlterm-fb' (frame buffer version of ports/x11/mlterm),
graphic images can be displayed in 16/256 colors on the screen.  Thanks to
arakiken, the original developer of mlterm!

This diff is based on NetBSD/luna68k work:
http://mail-index.netbsd.org/source-changes/2013/12/28/msg050266.html

Need more work to coexist with the monochrome X.Org server.

"go ahead!" miod@

10 years agoDocument new options related to signatures
espie [Thu, 2 Jan 2014 15:01:37 +0000 (15:01 +0000)]
Document new options related to signatures

10 years agoadapt to signify changes
espie [Thu, 2 Jan 2014 13:45:14 +0000 (13:45 +0000)]
adapt to signify changes
allow a separate key for firmwares

10 years agomention hardware vlan support for 6105M chips. ok sthen@
dtucker [Thu, 2 Jan 2014 11:06:22 +0000 (11:06 +0000)]
mention hardware vlan support for 6105M chips.  ok sthen@

10 years agodisable MSI for Samsung XP941.
gilles [Thu, 2 Jan 2014 08:00:35 +0000 (08:00 +0000)]
disable MSI for Samsung XP941.
This is so I can use the machine to figure out the others things on it,
the quirk will go away when interrupt routing gets fixed.

ok dlg@, jmatthew@

10 years agosync
gilles [Thu, 2 Jan 2014 07:43:14 +0000 (07:43 +0000)]
sync

10 years agoadd vendor and product
gilles [Thu, 2 Jan 2014 07:42:33 +0000 (07:42 +0000)]
add vendor and product

ok dlg@

10 years agoSimplify things slightly by using four byte indexing.
jsing [Thu, 2 Jan 2014 04:39:56 +0000 (04:39 +0000)]
Simplify things slightly by using four byte indexing.

10 years agoEnsure that we preserve callee-save registers.
jsing [Thu, 2 Jan 2014 04:23:57 +0000 (04:23 +0000)]
Ensure that we preserve callee-save registers.

10 years agoenable beep controls on ALC221 and ALC269 as well
jsg [Thu, 2 Jan 2014 04:23:35 +0000 (04:23 +0000)]
enable beep controls on ALC221 and ALC269 as well
seems to be required when tested here

10 years agoenable beep and CD controls on ALC282
jsg [Thu, 2 Jan 2014 03:05:20 +0000 (03:05 +0000)]
enable beep and CD controls on ALC282
from and tested by Mark Rowland

10 years agoloadrandom() status should be ignored, so that we do not loop.
deraadt [Thu, 2 Jan 2014 00:03:04 +0000 (00:03 +0000)]
loadrandom() status should be ignored, so that we do not loop.
issue reported by halex

10 years agoRemove __HAVE_PMAP_PHYSSEG support, nothing uses it anymore.
miod [Wed, 1 Jan 2014 22:15:18 +0000 (22:15 +0000)]
Remove __HAVE_PMAP_PHYSSEG support, nothing uses it anymore.

10 years agoSwitch alpha to __HAVE_VM_PAGE_MD. From NetBSD.
miod [Wed, 1 Jan 2014 22:13:52 +0000 (22:13 +0000)]
Switch alpha to __HAVE_VM_PAGE_MD. From NetBSD.

10 years agorevert to mostly lowercase options, with uppercase for actions.
tedu [Wed, 1 Jan 2014 17:50:33 +0000 (17:50 +0000)]
revert to mostly lowercase options, with uppercase for actions.
ok deraadt espie naddy. wth man tweaks from jmc

10 years agoDestroy the eligible list when detaching from an interface.
pelikan [Wed, 1 Jan 2014 17:46:43 +0000 (17:46 +0000)]
Destroy the eligible list when detaching from an interface.

ok henning

10 years agoFixed typos and style.
tobias [Wed, 1 Jan 2014 16:17:55 +0000 (16:17 +0000)]
Fixed typos and style.

ok jmc@

10 years agoFix 'make bsd.umg' by skipping PT_OPENBSD_RANDOMIZE segments, as well as
mcbride [Wed, 1 Jan 2014 09:24:54 +0000 (09:24 +0000)]
Fix 'make bsd.umg' by skipping PT_OPENBSD_RANDOMIZE segments, as well as
other innocuous segment types (PT_NOTE, PT_NULL). Handle PT_LOAD, fail on
any others.

Thanks kettenis and millert for feedback

ok deraadt

10 years agofix header to get symbols loaded correctly
miod [Wed, 1 Jan 2014 08:02:09 +0000 (08:02 +0000)]
fix header to get symbols loaded correctly

10 years agoAdd a linker script to force the .openbsd.randomdata section to be put after
miod [Wed, 1 Jan 2014 07:54:15 +0000 (07:54 +0000)]
Add a linker script to force the .openbsd.randomdata section to be put after
.data, so that it will not get mapped read-only by pmap_bootstrap().

10 years agocopyright++
fgsch [Wed, 1 Jan 2014 07:08:10 +0000 (07:08 +0000)]
copyright++

10 years agoRemove #ifdef _REENTRANT code that isn't used here. These days, the code
kettenis [Tue, 31 Dec 2013 23:31:13 +0000 (23:31 +0000)]
Remove #ifdef _REENTRANT code that isn't used here.  These days, the code
handling per-thread errno lives in librthread.

ok miod@, espie@

10 years agotedu the diagnostic code to detect the presence of the defective Xterasys XN-152
brad [Tue, 31 Dec 2013 21:09:34 +0000 (21:09 +0000)]
tedu the diagnostic code to detect the presence of the defective Xterasys XN-152
32-bit PCI NIC in a 64-bit PCI slot. The code has never been enabled, never will
be and is unused / unmaintained. Update the man page to not indicate there is a
possibility of the driver detecting this hardware issue.

Input about the man page and Ok chris@

10 years agoregen
brad [Tue, 31 Dec 2013 20:37:59 +0000 (20:37 +0000)]
regen

10 years agoanother MCP61 id
brad [Tue, 31 Dec 2013 20:37:38 +0000 (20:37 +0000)]
another MCP61 id

10 years agoYet another regression introduced by Kristaps when he switched from
schwarze [Tue, 31 Dec 2013 19:39:09 +0000 (19:39 +0000)]
Yet another regression introduced by Kristaps when he switched from
Berkeley DB to SQLite3: In the .In parser, the logic got inverted.
The resulting NULL pointer access was found by clang;
scan log provided by Ulrich Spoerlein <uqs at FreeBSD>.

The best fix is to simply remove the whole, pointless custom
handler function for .In and let the framework do its work.
Now searching for included header files actually works.

While here, remove the similarly pointless custom .St handler,
fix the return value of the .Fd handler and disentangle the
spaghetti in the .Nm handler.

10 years agozap an erroneous space in "input .sig" (should be input.sig, with .sig not
jmc [Tue, 31 Dec 2013 18:18:36 +0000 (18:18 +0000)]
zap an erroneous space in "input .sig" (should be input.sig, with .sig not
marked up;

10 years agoremove assignments that will be overwritten right afterwards,
schwarze [Tue, 31 Dec 2013 18:07:06 +0000 (18:07 +0000)]
remove assignments that will be overwritten right afterwards,
and remove pointless local variables;
found in a clang output from Ulrich Spoerlein <uqs at FreeBSD>

10 years agovarious tweaks; ok tedu
jmc [Tue, 31 Dec 2013 17:33:17 +0000 (17:33 +0000)]
various tweaks; ok tedu

10 years agosync
todd [Tue, 31 Dec 2013 15:36:04 +0000 (15:36 +0000)]
sync

10 years agoOops, add missing end of block.
schwarze [Tue, 31 Dec 2013 15:15:47 +0000 (15:15 +0000)]
Oops, add missing end of block.

10 years agoAdd missing description of .UR/.UE.
schwarze [Tue, 31 Dec 2013 15:13:25 +0000 (15:13 +0000)]
Add missing description of .UR/.UE.
While here, also add .EX/.EE and .PD to the MACRO SYNTAX table.

10 years agoDrop blocks and instert silence immediately in the socket rx/tx code
ratchov [Tue, 31 Dec 2013 12:27:49 +0000 (12:27 +0000)]
Drop blocks and instert silence immediately in the socket rx/tx code
path rather than waiting for the next device cycle. This fixes deadocks
when the slot uses the SIO_SYNC mode.

10 years agoround client block size to nearest possble
ratchov [Tue, 31 Dec 2013 12:24:55 +0000 (12:24 +0000)]
round client block size to nearest possble

10 years ago... and rename this too
espie [Tue, 31 Dec 2013 11:24:55 +0000 (11:24 +0000)]
... and rename this too

10 years agosignify support
espie [Tue, 31 Dec 2013 11:21:10 +0000 (11:21 +0000)]
signify support

10 years agonit
espie [Tue, 31 Dec 2013 11:03:53 +0000 (11:03 +0000)]
nit

10 years agoFix after struct wscons_event size change.
matthieu [Tue, 31 Dec 2013 07:16:50 +0000 (07:16 +0000)]
Fix after struct wscons_event size change.
ok deraadt@

10 years agos/hphdr/phdr/ to fix compile with DEBUG
mcbride [Tue, 31 Dec 2013 07:15:57 +0000 (07:15 +0000)]
s/hphdr/phdr/ to fix compile with DEBUG

ok miod

10 years agoDon't consider ld.so to be successfully built unless a test program
guenther [Tue, 31 Dec 2013 04:07:34 +0000 (04:07 +0000)]
Don't consider ld.so to be successfully built unless a test program
using it works, because seeing "make build" fail right after it
installs a broken ld.so is *#!&%(@*)# annoying.

Presumably needs to be fixed for cross-builds.

ok matthew@ deraadt@ miod@

10 years agodocument file format
tedu [Tue, 31 Dec 2013 04:03:23 +0000 (04:03 +0000)]
document file format

10 years agoanother last minute bug i introduced. found by jturner
tedu [Tue, 31 Dec 2013 03:54:05 +0000 (03:54 +0000)]
another last minute bug i introduced. found by jturner

10 years agoExperimental feature to let apropos(1) show different keys than .Nd.
schwarze [Tue, 31 Dec 2013 03:41:09 +0000 (03:41 +0000)]
Experimental feature to let apropos(1) show different keys than .Nd.
This really takes us beyond what grep -R /usr/*/man/ can do
because now you can search for pages by *one* criterion and then
display the contents of *another* macro from those pages, like in
$ apropos -O Ox Fa~wchar
to get an impression how long wide character handling is available.

10 years agobcopy -> memcpy. reviewed with one fix from matthew
tedu [Tue, 31 Dec 2013 03:24:44 +0000 (03:24 +0000)]
bcopy -> memcpy. reviewed with one fix from matthew

10 years agoupdate usage
tedu [Tue, 31 Dec 2013 03:23:41 +0000 (03:23 +0000)]
update usage

10 years agowha! commit a working version
tedu [Tue, 31 Dec 2013 03:08:48 +0000 (03:08 +0000)]
wha! commit a working version

10 years agoadd signify, a tool to sign and verify signatures.
tedu [Tue, 31 Dec 2013 03:03:32 +0000 (03:03 +0000)]
add signify, a tool to sign and verify signatures.
man page and error message help from espie
other feedback from deraadt djm mikeb

10 years agoSplit buildnames() out of mansearch(); the latter function is getting
schwarze [Tue, 31 Dec 2013 02:42:20 +0000 (02:42 +0000)]
Split buildnames() out of mansearch(); the latter function is getting
too long and unwieldy, but will grow more code soon.  No functional change.

10 years agodon't try writing past the end unless we have to
tedu [Tue, 31 Dec 2013 02:32:56 +0000 (02:32 +0000)]
don't try writing past the end unless we have to
ok gilles millert

10 years agoReplace the Berkeley-DB based mandocdb(8) by an SQLite3-based version,
schwarze [Tue, 31 Dec 2013 00:40:19 +0000 (00:40 +0000)]
Replace the Berkeley-DB based mandocdb(8) by an SQLite3-based version,
aiming for more flexible development and optimization options.
Kristaps started this during the summer 2012, i did some very heavy
bugfixing during t2k13 and finally, during the last few days,
got it to a state where it is ripe for in-tree development.
Beware, neither the user interfaces nor the database formats
are expected to be stable just yet.

Will not be installed or activated until further discussion.
No functional change to mandoc(1).

"As long as it remains off until we decide the cost, fine." deraadt@

10 years agorefuse RSA keys from old proprietary clients/servers that use the
djm [Mon, 30 Dec 2013 23:52:27 +0000 (23:52 +0000)]
refuse RSA keys from old proprietary clients/servers that use the
obsolete RSA+MD5 signature scheme. it will still be possible to connect
with these clients/servers but only DSA keys will be accepted, and we'll
deprecate them entirely in a future release. ok markus@

10 years agoAdd support for newer integrated Realtek PHY.
brad [Mon, 30 Dec 2013 22:35:29 +0000 (22:35 +0000)]
Add support for newer integrated Realtek PHY.

Tested with 8168G controllers.

10 years agoHave rgephy(4) always use RL_GMEDIASTAT to retrieve the link/media status
brad [Mon, 30 Dec 2013 22:25:25 +0000 (22:25 +0000)]
Have rgephy(4) always use RL_GMEDIASTAT to retrieve the link/media status
when attached to re(4), as was done before rev 1.25 which was intended to
fix rgephy(4) with external PHY with MACs other than re(4). This is to
fix operation with some integrated PHY on re(4) where the PHY Specific
Status register does not work properly and the link cannot be established.

From FreeBSD and matches what the Linux driver does.

Tested on a number of newer re(4) with PHYs rev 2, 4 and 5 and
newer integrated PHY with the 8168G controllers.

10 years agoDo not leak symtab fd (if at fd limit might even prevent correct operation)
deraadt [Mon, 30 Dec 2013 22:01:23 +0000 (22:01 +0000)]
Do not leak symtab fd (if at fd limit might even prevent correct operation)
from Loganaden Velvindron

10 years agoWhen a function does not obviously terminate itself, it is good practice
deraadt [Mon, 30 Dec 2013 21:58:07 +0000 (21:58 +0000)]
When a function does not obviously terminate itself, it is good practice
to clean up a bit.

10 years agomemory leak, Coverity CID 1748, Loganaden Velvindron
deraadt [Mon, 30 Dec 2013 21:52:21 +0000 (21:52 +0000)]
memory leak, Coverity CID 1748, Loganaden Velvindron

10 years agolast entry in SEE ALSO should not end with a comma;
jmc [Mon, 30 Dec 2013 19:22:08 +0000 (19:22 +0000)]
last entry in SEE ALSO should not end with a comma;

10 years ago- the hint to symlink to upgrade.conf belongs to the install.conf example
rpe [Mon, 30 Dec 2013 19:04:56 +0000 (19:04 +0000)]
- the hint to symlink to upgrade.conf belongs to the install.conf example
- zap reference to pxeboot(8), diskless(8) has all the info

ok jmc@ halex@

10 years agoExpand the MSI support to cover most of the remaining bge(4) chipsets with the
brad [Mon, 30 Dec 2013 18:47:45 +0000 (18:47 +0000)]
Expand the MSI support to cover most of the remaining bge(4) chipsets with the
exception being the BCM5714 family for now.

Tested on a variety of newer chipsets.

ok sthen@

10 years agoOops, missed one:
schwarze [Mon, 30 Dec 2013 18:42:55 +0000 (18:42 +0000)]
Oops, missed one:
Remove duplicate const specifier from a call to mandoc_escape().
Found by Thomas Klausner <wiz at NetBSD dot org> using clang.
No functional change.

10 years agoRemove duplicate const specifiers from the declaration of mandoc_escape().
schwarze [Mon, 30 Dec 2013 18:27:15 +0000 (18:27 +0000)]
Remove duplicate const specifiers from the declaration of mandoc_escape().
Found by Thomas Klausner <wiz at NetBSD dot org> using clang.
No functional change.

10 years agoDocument SIGNING_PARAMETERS
espie [Mon, 30 Dec 2013 12:43:17 +0000 (12:43 +0000)]
Document SIGNING_PARAMETERS

10 years agoEnable snooping on Lynx Point-LP HD Audio.
jsg [Mon, 30 Dec 2013 10:53:30 +0000 (10:53 +0000)]
Enable snooping on Lynx Point-LP HD Audio.
Fixes audio problems on an Acer Aspire E1 572G
reported by Mark Rowland.

10 years agoRecognize PT_OPENBSD_RANDOMIZE in linker scripts.
kettenis [Mon, 30 Dec 2013 10:30:00 +0000 (10:30 +0000)]
Recognize PT_OPENBSD_RANDOMIZE in linker scripts.

ok miod@, matthew@

10 years agoSupport .St -p1003.1-2013, "IEEE Std 1003.1-2008/Cor 1-2013".
schwarze [Mon, 30 Dec 2013 09:47:43 +0000 (09:47 +0000)]
Support .St -p1003.1-2013, "IEEE Std 1003.1-2008/Cor 1-2013".

Note that the POSIX-2008 standard remains in force, so please refrain
from wholesale 2008 -> 2013 replacements.  Make sure to only use the
new -p1003.1-2013 argument for cases where "IEEE Std 1003.1(TM)-2008/
Cor 1-2013, IEEE Standard for Information Technology--Portable
Operating System Interface (POSIX(R)), Technical Corrigendum 1"
actually changes something in the standard with respect to the
specific function documented in the manual you touch.  Otherwise,
please continue using .St -p1003.1-2008.

Triggered by a similar, but slightly incorrect patch from jmc@;
ok guenther@.

10 years ago@vendor annotation
espie [Mon, 30 Dec 2013 09:14:49 +0000 (09:14 +0000)]
@vendor annotation

10 years agouse replacing method (and not var)
espie [Mon, 30 Dec 2013 09:02:37 +0000 (09:02 +0000)]
use replacing method (and not var)

10 years agoexplicitly fix the PATH to something sensible
espie [Mon, 30 Dec 2013 09:01:30 +0000 (09:01 +0000)]
explicitly fix the PATH to something sensible
move "replacing" to a method, so that it can be more specific later.

10 years agoCorrect initialization of Bt458, used in LUNA's 8bpp frame buffer.
aoyama [Mon, 30 Dec 2013 07:33:40 +0000 (07:33 +0000)]
Correct initialization of Bt458, used in LUNA's 8bpp frame buffer.

According to the manual, the address register does not automatically
increment when we access to the control registers.  Also we disable
overlay planes, because we do not use them.

This diff should be one of preliminaries for upcoming colored wscons on
luna88k.

ok miod@

10 years agoFix IOC4DEV_xxx numbers, so that devices besides the first two serial ports
miod [Mon, 30 Dec 2013 05:27:01 +0000 (05:27 +0000)]
Fix IOC4DEV_xxx numbers, so that devices besides the first two serial ports
actually handle their own interrupts. How could this get unnoticed so far?

10 years agoReplace yet another hand-rolled list with a TAILQ. reject_list this
krw [Mon, 30 Dec 2013 03:36:17 +0000 (03:36 +0000)]
Replace yet another hand-rolled list with a TAILQ. reject_list this
time.

10 years agoAdd Broadcom BCM57764, BCM57767 and BCM57787 PCI ids.
brad [Mon, 30 Dec 2013 02:10:58 +0000 (02:10 +0000)]
Add Broadcom BCM57764, BCM57767 and BCM57787 PCI ids.

10 years agoTest mdoc_macro.c rev. 1.83.
schwarze [Mon, 30 Dec 2013 00:56:40 +0000 (00:56 +0000)]
Test mdoc_macro.c rev. 1.83.

10 years agoSimplify: Remove an unused argument from the mandoc_eos() function.
schwarze [Mon, 30 Dec 2013 00:52:18 +0000 (00:52 +0000)]
Simplify: Remove an unused argument from the mandoc_eos() function.
No functional change.

10 years agoDo not trigger end-of-sentence spacing by trailing punctuation
schwarze [Mon, 30 Dec 2013 00:20:18 +0000 (00:20 +0000)]
Do not trigger end-of-sentence spacing by trailing punctuation
at the end of partial implicit macros.  Prodded by jmc@.

Actually, this is a revert of rev. 1.39 Sat May 15 09:20:01 2010 UTC,
which in turn is mdocml.bsd.lv rev. 1.64 Fri May 14 14:09:13 2010 UTC
by kristaps@, with this original commit message:
"Block-implicit macros now up-propogate end-of-sentence spacing.
NOTE: GROFF IS NOT SMART ENOUGH TO DO THIS."
Please speak after me: Then why the hell should we?

We already weakened this in rev. 1.55 Fri Jul 16 00:34:33 2010 UTC,
but that weakening was insufficient.  Let's take it out completely.

Admittedly, there are two places in base where what Kristaps did
made the output nicer, in calloc(3) and in fish(6).  But both are
atypical.  There are 18 other places where this revert makes the
output nicer, the typical case being:
"Mail status is shown as ``No Mail.''  if there is no mail."
You do *not* want the EOS spacing after ``No Mail.'' in that sentence.

10 years ago+.Sh EXIT STATUS
jmc [Sun, 29 Dec 2013 21:38:29 +0000 (21:38 +0000)]
+.Sh EXIT STATUS

10 years agoupdate sha256(1) to better reflect that it documents sha512 now too.
jmc [Sun, 29 Dec 2013 21:19:11 +0000 (21:19 +0000)]
update sha256(1) to better reflect that it documents sha512 now too.
that led me to whack some unneccessary mark up and quoting (and phrasing),
and the changes to the other pages are really just to unify the newer
text layout;

tedu provided feedback and answers (thanks);

10 years agoIn tlbdsmiss, do not trash the tlb pointer by mistake. From NetBSD (PR #39257)
miod [Sun, 29 Dec 2013 21:06:37 +0000 (21:06 +0000)]
In tlbdsmiss, do not trash the tlb pointer by mistake. From NetBSD (PR #39257)

10 years agoRemove excessive parentheses.
brad [Sun, 29 Dec 2013 19:09:21 +0000 (19:09 +0000)]
Remove excessive parentheses.

pmap.c:1061:13: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]

ok mpi@

10 years agogrammar fix previous;
jmc [Sun, 29 Dec 2013 18:46:09 +0000 (18:46 +0000)]
grammar fix previous;

10 years agopuccini entry already appears in calendar.music;
jmc [Sun, 29 Dec 2013 18:44:43 +0000 (18:44 +0000)]
puccini entry already appears in calendar.music;
From: frantisek holop

10 years agoForce clock clamping after one byte received instead of three. There are still
miod [Sun, 29 Dec 2013 18:31:50 +0000 (18:31 +0000)]
Force clock clamping after one byte received instead of three. There are still
circumstances where the pckbc code gets confused otherwise, on *some*
controllers.

10 years agoFix fd leaks when fd < 0 or flock() fails. Original diff from
krw [Sun, 29 Dec 2013 14:26:22 +0000 (14:26 +0000)]
Fix fd leaks when fd < 0 or flock() fails. Original diff from
NetBSD via Loganaden Velvindron out of cppcheck.

10 years agofix sign-while-creating mode
espie [Sun, 29 Dec 2013 13:40:54 +0000 (13:40 +0000)]
fix sign-while-creating mode

10 years agowhen showing other hostkeys, don't forget Ed25519 keys
djm [Sun, 29 Dec 2013 05:57:02 +0000 (05:57 +0000)]
when showing other hostkeys, don't forget Ed25519 keys

10 years ago- Verify that the FPU exception flags weren't clobbered as required by C99.
martynas [Sun, 29 Dec 2013 05:46:43 +0000 (05:46 +0000)]
- Verify that the FPU exception flags weren't clobbered as required by C99.
- Additionally, test _setjmp and sigsetjmp as implementations are different.

10 years agodon't forget to load Ed25519 certs too
djm [Sun, 29 Dec 2013 05:42:16 +0000 (05:42 +0000)]
don't forget to load Ed25519 certs too

10 years agodon't refuse to load Ed25519 certificates
djm [Sun, 29 Dec 2013 04:35:50 +0000 (04:35 +0000)]
don't refuse to load Ed25519 certificates

10 years agoallow deletion of ed25519 keys from the agent
djm [Sun, 29 Dec 2013 04:29:25 +0000 (04:29 +0000)]
allow deletion of ed25519 keys from the agent

10 years agoto make sure we don't omit any key types as valid CA keys again,
djm [Sun, 29 Dec 2013 04:20:04 +0000 (04:20 +0000)]
to make sure we don't omit any key types as valid CA keys again,
factor the valid key type check into a key_type_is_valid_ca()
function

10 years agoAdd MLINK for db_vprintf(9)
guenther [Sun, 29 Dec 2013 03:16:42 +0000 (03:16 +0000)]
Add MLINK for db_vprintf(9)

10 years agoAdd db_vprintf() and indicate that db_v?printf() are in <ddb/db_output.h>
guenther [Sun, 29 Dec 2013 03:15:03 +0000 (03:15 +0000)]
Add db_vprintf() and indicate that db_v?printf() are in <ddb/db_output.h>

10 years agocorrect comment for key_drop_cert()
djm [Sun, 29 Dec 2013 02:49:52 +0000 (02:49 +0000)]
correct comment for key_drop_cert()