| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Berzerkeley DB code.
|
|
|
|
| |
req by and OK dlg, no objections in 5 days
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
prodded by deraadt@
|
|
|
|
|
| |
bearing on the following pledge setups anymore.
ok benno
|
|
|
|
|
|
|
|
|
| |
process, before pledge(). This way the rtable can be pledged too.
the discussion about removing -V is postponed.
diff from beck@, i wrote the same diff without seeing his, and various
people at u2k15 agreed this is the right thing to do.
ok phessler@
|
| |
|
|
|
|
| |
bn_internal(3) and lhash(3)
|
|
|
|
|
| |
give them names that really exist.
This also helps jmc@'s ongoing work on improving NAME sections.
|
|
|
|
|
|
| |
entry for them;
feedback/ok schwarze
|
|
|
|
|
| |
I found drafts of these in my tree, probably originally from
Max Fillinger, that just needed minor polishing.
|
|
|
|
| |
Already some time ago, bcook@ said these can be installed.
|
|
|
|
|
|
| |
or otherwise change Dt to reflect the name of an existing function;
feedback/ok schwarze
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
stubs for the executable from crtbegin.o into libc, which lets them be
excluded from static links that don't use them.
For this, drop the normal crt{begin,end}S.o from libc.so: the .init and .fini
sections for libc aren't called at the right times anyway, so it's good that
they're unused. libc.so just needs __guard_local and the .note.openbsd.ident
section, so add them to stack_protector.c for now (this will be improved)
"good time" deraadt@
|
|
|
|
| |
ok jsing
|
| |
|
| |
|
|
|
|
| |
reported by Ruslan Babayev.
|
|
|
|
|
|
|
|
|
| |
24 bits; if we don't, Td4[] gets cast to signed int, and according to C>=99
6.5.7, signed int shifted by enough bits to cause a the sign bit to be set
is an UB.
Reported by Pascal Cuoq on behalf of the trust-in-soft.com mafia I am
{partial,slightly related} to.
|
|
|
|
|
| |
CAST_KEY is constructed. This is expected to reduce blood pressure in
auditors.
|
|
|
|
|
|
| |
Suggested by WubTheCaptain so the same comparison code can be used with
LibreSSL.
https://www.openssl.org/docs/manmaster/crypto/OPENSSL_VERSION_NUMBER.html
|
| |
|
|
|
|
| |
OK jsing@
|
|
|
|
|
|
|
|
|
| |
"ChaCha20 and Poly1305 for IETF Protocols", introduced a modified AEAD
construction that is incompatible with the common style that has been
already used in TLS with EVP_aead_chacha20_poly1305(). The IETF
version also adds a constant (salt) that is prepended to the nonce.
OK mikeb@ jsing@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
relying upon previously included headers to do this, to enhance portability;
from Pascal Cuoq, libressl github pull request #52
|
|
|
|
| |
From BoringSSL commit: d13a5e15d4e4eb51513be665306a2beba39869df
|
|
|
|
|
|
| |
doesn't get pulled into all static executables
ok millert@ jca@
|
|
|
|
|
|
|
|
| |
Wrap __cxa_{atexit,finalize}() so the call from exit() goes direct
Switch regress/lib/libc/atexit/ to be built with -static so that it can
still access __atexit*
ok millert@ jca@
|
| |
|
|
|
|
|
|
| |
For backward compatibility, the flags are redefined as 0.
ok jsing@
|
|
|
|
|
|
| |
No part of LibreSSL checks for this flag any longer.
ok jsing@
|
|
|
|
|
|
|
|
|
|
| |
ssl23_get_client_hello sets type=1 on error and continues processing.
It should return an error immediately to simplify things. This also
allows us to start removing the last of SSL_OP_NO_SSL*.
Added extra paranoia for s->version to make sure it is set properly.
ok jsing@
|
| |
|
|
|
|
|
|
|
|
|
| |
are the errno messages and signal names. Everything else is in
English. We are not planning to translate more text. Running a
mixed system with less than 1% of the text in native language makes
no sense. So remove the NLS support from libc messages. The
catopen(3) functions stay as they are.
OK stsp@ mpi@
|
|
|
|
|
|
|
| |
wrappers. To keep uses from crawling back in, mark signal() as
deprecated inside libc.
ok deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
list of interface names. At the same time switch if_nametoindex(3) and
if_indextoname(3) to use if_nameindex(3) instead of getifaddrs(3).
if_nameindex(3) exposes much less then getifaddrs(3) and is allowed by
pledge(2).
With and OK deraadt@
|
| |
|
|
|
|
|
|
|
| |
in a socket option can be pretty scary and there is no better interface for this.
so if the -V option is used you get no pledge at all.. Otherwise, do what
works for the various options. Still needs refinement for tls to drop rpath,
and a better solution for the routing table stuff
|
|
|
|
|
|
| |
exiting, and loop the waitpid() on EINTR
ok deraadt@ millert@
|