Age | Commit message (Collapse) | Author |
|
|
|
valid codepoint.
ok stsp@
|
|
by ypserv, passwd, or chpass... maybe we can use different tricks to
interface with libc...
|
|
ok guenther millert
|
|
ok stsp@
|
|
|
|
Move internal declarations from <db.h> to libc's hidden/db.h
ok kettenis@
|
|
_cat* in the process.
ok kettenis@
|
|
Stop generating _brk and _sbrk symbols: they've already been hidden.
Set the ELF symbol size on the syscall stubs.
Give the __{min,cur}brk symbols a size and type, and hide more jump labels.
ok deraadt@
|
|
more comprehensible.
OK jmc@ tedu@
|
|
ok millert
|
|
might have increased between when we got the number of files and
when we requested that number of files.
now we allocate another 10ish percent on top of what the kernel
says we need, and retry if that still isnt enough.
while here use realloc instead of constantly going through free/malloc
sequences.
with input from claudio@ deraadt@
ok millert@ guenther@
|
|
part of a larger diff
ok millert@ guenther@
|
|
ok deraadt@
|
|
the same code, with two slight differences for DTLS handling.
Also, make use of send_cookie to determine if the client random needs to
be preserved, rather than testing if it is zeroed (hopefully your random
number generator never returned all zeros, since the existing code would
break). Inspired by BoringSSL.
ok doug@
|
|
make use of them.
ok doug@
|
|
|
|
Code from way in the past.
|
|
|
|
go that way.
ok miod beck
|
|
library may not assume stderr is useable.
ok millert miod beck
|
|
From Aaron Burghardt.
|
|
now nothing more than noops.
ok bcook@ doug@
|
|
CBB_init_fixed() have been attempted.
ok doug@
|
|
With much assistance from miod@
ok deraadt@@
|
|
skipping a libc crank since unused in base on 64bit systems
discussed with miod, tedu; ok kettenis
|
|
ok guenther
|
|
ok deraadt@
|
|
Fix memmove with that
ok deraadt@
|
|
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h. Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.
tests clean on i386, amd64, sparc64, powerpc, and mips64
naming feedback from kettenis@ and millert@
ok kettenis@
|
|
NetBSD.
|
|
symbol hiding
ok w/tweak deraadt@
|
|
Remove the TLS method data and tls_any_* functions. Point to SSLv23.
ok jsing@
|
|
ok jsing@
|
|
ok jsing@
|
|
|
|
through all existing pseudo-tty devices in /dev.
|
|
{Free,Net}BSD
- when a socket is closed with fds in its input, defer closing them to
a task to avoid recursing. This eliminates the complicated extra
reference taking which had a 37 line(!) comment explanation
- move flags, counts, and links only needed for this from struct file to
struct unpcb
- document the flow of the mark/sweep collector
much help from claudio@ who made me explain the GC to him until we trusted it
ok claudio@ mpi@ deraadt@
|
|
ok doug@
|
|
The tls_set_error() function previously stored the errno but did nothing
with it. Change tls_set_error() to append the strerror(3) of the stored
errno so that we include useful information regarding failures.
Provide a tls_set_errorx() function that does not store the errno or
include strerror(3) in the error message. Call this function instead of
tls_set_error() for errors where the errno value has no useful meaning.
With feedback from and ok doug@
|
|
ensure that the temporary state flags get cleared in tls_reset(). Fixes a
bug spotted by Marko Kreen whereby TLS_CONNECTING could remain on reset.
While here, also move the TLS_STATE_CONNECTING check to after the
TLS_CLIENT check - if TLS_STATE_CONNECTING was ever set on any other
context type it would allow a bypass.
ok bluhm@
|
|
rename it to out_len so that its purpose is more obvious. Also, drop two
checks that are no longer possible (and have not been for a long time).
Spotted by and ok doug@
|
|
memset.
ok deraadt@ millert@
|
|
|
|
Spotted by Marko Kreen.
Rides libtls major bump.
|
|
|
|
This is the first wave of SSLv3 removal which removes the main SSLv3
functions. Future commits will remove the rest of the SSLv3 support.
Discussed the plan at c2k15. Input from jsing@, beck@, miod@, bcook@,
sthen@, naddy@, and deraadt@.
ok jsing@, beck@
|
|
|
|
symbols that are not longer exported. (This improves the generated code.)
ok deraadt@
|
|
and __dorand48() and __rand48_deterministic
ok deraadt@
|