Age | Commit message (Collapse) | Author |
|
to return const. Update the documentation.
|
|
|
|
|
|
|
|
|
|
from mlarkin@
|
|
public API in libssl.
ok beck, jsing
|
|
functions.
ok beck, jsing
|
|
ok schwarze
|
|
means and show how to re-enable KARL.
Prodded by and OK deraadt
Feedback and OK tb
|
|
|
|
on flag mismatch, ENOENT for files with no unveil flags at all
|
|
protected: mrt_ioctl() and in_ioctl(). The former has no other callers
and only needs a read lock. The latter will need refactoring to reduce
the lock's scope further. In a first step, establish a single exit point
and protect most of the function body with the NET_LOCK() while removing
the NET_LOCK() from a handful of callers.
suggested by & ok mpi, ok visa
|
|
ok mpi@
|
|
layout. Simplify how we identify which frames have trapframes while here.
ok kettenis@
|
|
OK guenther@
|
|
some code and help from anton
|
|
* avoid double lookups for unresolvable names without -net
* more fitting error message for unresolvable names after -net
OK florian@
|
|
|
|
one specified by the T flag. No need to pass a flag around if the
tableid is valid. It always is.
This code is now in sync between flushroutes() and p_rttables().
OK benno, no objection claudio
|
|
filtering by address family and / or priority; similar to what
p_rttables() is doing.
(At the time of writing we need to copy about 150MB for the whole
table on a router that is in the default free zone).
OK benno
|
|
While here make and to see that this is correct and not touching any
global state make af a local variable and pass it around.
Input & OK benno
|
|
|
|
With advice from jca@
OK jca@ millert@
|
|
|
|
|
|
the given number of elements already is a power of 2.
ok visa@, "seems like a good plan" deraadt@
|
|
carefully document constant time vs. non-constant time operation
of BN_div(3), BN_mod_exp(3), and BN_mod_inverse(3).
Until the work that is required on the ill-designed BN_exp(3) and
BN_gcd(3) interfaces can be undertaken, also document the imperfections
in their behaviour, for now. Finally, mention BN_mod_exp(3) behaviour
for even moduli.
Delete the vague statement about some functions automatically
setting BN_FLG_CONSTTIME. It created a false sense of security.
Do not rely on it: not all relevant functions do that.
Topic brought up by beck@, significant feedback and OK jsing@.
|
|
Avoid the double redirection from -Tutf8 via -Tlocale to -Tascii.
Add LC_CTYPE to the ENVIRONMENT section.
While here, also correct a few inaccuracies and tweak some wordings.
Triggered by a question from Laura Morales <lauretas at mail dot com>.
|
|
Patch by Jesper Wallin
|
|
- expand "rcpt" to "recipient"
- "recipient" should be Ar, "://" should not be Ar
- use Dq for double quotes
ok eric@
|
|
reported by Gabriel Guzman on misc@;
OK claudio@
|
|
|
|
|
|
|
|
ok gilles@
|
|
ok pirofti@, visa@
|
|
Pointed out by Ryan Lennox via tech@
|
|
Add another magic 1ms delay that seems to help with some remaining "Hardware
Initialization Failed" issues on an HP elitebook 820 G3 with i219LM. A printf()
at the same place helps, too.
ok mikeb@
|
|
The em driver calls em_get_software_flag() recursively, which causes the
semaphore to be unlocked too early. Make em_get_software_flag and
em_release_software_flag handle this correctly. Freebsd does not do
this, but they have a mutex that probably allows them to detect
recursive calls to e1000_acquire_swflag_ich8lan(). Reworking the
openbsd driver to not recursively get the semaphore would be very
invasive.
ok mikeb@
|
|
Some em chips have a semaphore ("software flag") to synchronize access
to certain registers between OS and firmware (ME/AMT).
Make the logic to get the flag match the logic in freebsd. This includes
higher timeouts and waiting for a previous unlock to complete before
trying a lock again.
ok mikeb@
|
|
debug print "invalid transition" to dmesg in this case.
|
|
ok schwarze@
|
|
ok tj@ schwarze@
|
|
friendly instructions with safe alternatives. This initial commit fixes
3 instruction forms that will lower to include a c3 (return) byte.
Additional problematic instructions can be fixed incrementally using
this framework.
ok deraadt@
|
|
Suggested by and OK jmc.
OK tb
|
|
|
|
|
|
|
|
|