Age | Commit message (Collapse) | Author |
|
reading the config socket by clearing the entire blacklist struct
instead of just the tag string. Also avoid holes in the blacklist
array on error since the code can't cope with them. OK beck@
|
|
the special f_fd field. Also remove an useless F_FORWUDP case.
test and OK jasper@
|
|
(accuracy of variable names, aside)
ok kettenis
|
|
Otherwise clean up code will never run.
OK mpi@, benno@, henning@
|
|
such that there's no size change on, at least, amd64.
This will allow us to simplify some APIs and deprecate the remaining
flavors of "struct route".
ok claudio@, phessler@
|
|
for the validity of a given outgoing route entry into a single function.
This change is inspired from FreeBSD r111767. The function introduced
here, rt_checkgate(), should hopefully die in a near future. Why should
it die? Well, it is way too late to do such validity checks: if your
kernel can ends up in ether_output() with an invalid route, please do
not let it try to find a new one that might do the job.
Go read this function if you're wondering why you're getting messages
like:
"arpresolve: X.X.X.X: route without link local address"
Since this horrible logic has survived 20 years of copy & past and small
modifications for workarounds without a single clear commit message, let's
assume it is full of dragons and try to play safe. This factorization is
not intended to change any behavior.
With much inputs from bluhm@, tested by weerd@ and florian@ on setups
with p2p IPv6 interfaces.
ok bluhm@, benno@, florian@
|
|
|
|
|
|
|
|
input + ok jsing@
|
|
Minor KNF in a few places too.
input + ok jsing@
|
|
Also, removed a few useless if null checks.
input from bcook@
input + ok jsing@
|
|
carp(4) has a hack to update its Ethernet address which was also
generating the corresponding IPv6 link-local address. Since the
removal of the NOINET6 flag, this link-local address was generated
even if no IPv6 address has been configured on the interface.
This unbreak carp setup without v6 addresses, found the hard way by
sebastia@.
ok sebastia@, benno@, stsp@, @phessler
|
|
hostkey algorithms order in myproposal.h; ok markus@
|
|
interfaces. Refactor the generic key loading API to not require
pathnames to be specified (they weren't really used).
Fixes a few other things en passant:
Makes ed25519 keys work for hostbased authentication (ssh-keysign
previously used the PEM-only routines).
Fixes key comment regression bz#2306: key pathnames were being lost as
comment fields.
ok markus@
|
|
|
|
|
|
I mirrored from smtpd a little too literally.
|
|
|
|
ok jsing@ beck@
|
|
(sorry, my other changes were accidentally premature)
|
|
and RTL8168 family, the RTL8139 has different register map for config registers.
From FreeBSD
WoL bits reviewed and tested by stsp@
|
|
Reduces the number of log.c snowflakes by a little, and gives ntpd a
variadic fatal() function to be used later.
ok deraadt@
|
|
|
|
ok deraadt@
|
|
|
|
remove it, and put these includes up with their friends.
|
|
automatic upgrades on systems with trunk interfaces.
OK krw@
|
|
OK krw@
|
|
|
|
fake up a bignum key before RSA decryption.
discussed/ok djm markus
|
|
|
|
Also document that cd is an alias for chdir. From Kaspars Bankovskis.
|
|
|
|
|
|
- Updated: Marc Lehmann <schmorp@schmorp.de>, 24 Nov 2014: implement cvvis as blinking cursor
- Updated: Marc Lehmann <schmorp@schmorp.de>, 13 Dec 2014: removed superfluous 0 from sgr
ok nicm@
|
|
|
|
|
|
remember to set EACCES in bcrypt_checkpass for hash differences.
the higher level crypt_checkpass function will reset errno to EACCES in
all cases, which is probably the right behavior, but this change gives code
working with the lower level functions the correct errno if they care.
|
|
|
|
|
|
conditional request on the same input line, don't skip the first few
bytes of its content.
|
|
root, tcp etc.
Based on a diff from Nathanael Rensen.
OK florian@
|
|
|
|
by -Wuninitialized reported by jsg@.
ok stsp@
|
|
OK benno@
|
|
a single 64bit write on lp64 archs, instead of two sequenced 32bit
writes. cos the 64bit store is atomic, we dont need the mutex
around it either.
|
|
diff from uebayasi jsg
ok uebayasi
|
|
|
|
luck finding my bug.
|