Age | Commit message (Collapse) | Author |
|
This implements automatic thread support initialization in libcrypto.
This does not remove any functions from the ABI, but does turn them into
no-ops. Stub implementations of pthread_mutex_(init|lock|unlock) are
provided for ramdisks.
This does not implement the new OpenSSL 1.1 thread API internally,
keeping the original CRYTPO_lock / CRYPTO_add_lock functions for library
locking. For -portable, crypto_lock.c can be reimplemented with
OS-specific primitives as needed.
ok beck@, tb@, looks sane guenther@
|
|
compiler flags. Pass DIST_CFLAGS from the crunchgen-generated .mk
file.
Compile the install media with -fno-unwind-tables to avoid emitting
.eh_frame sections. This saves substantial space on amd64.
with/ok kettenis@
|
|
uid_from_user() and gid_from_group() instead of the pax-specific
functions in cache.c.
|
|
|
|
Reminded by tb@
|
|
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
|
|
that lld is unhappy about
ok jsg@ deraadt@
|
|
ok kettenis@ jsing@ deraadt@ - "Exquisitly disgusting" guenther@
|
|
discussed with guenther@, ok deraadt@
|
|
tolower()
ok cheloha@ rob@ florian@
|
|
OK rpe, tb, naddy, sthen
|
|
Some resizing scenarios can be done from within single user mode, but
resizing the root partition required you to bring your own growfs(8)
binary into the ramdisk environment. This commit adds growfs(8) to the
ramdisks (the ones that don't have space constraints) to simplify such
operations.
OK deraadt@
|
|
any longer; ok espie@ deraadt@
|
|
savings.
|
|
clang optimizes better for size with -Oz so use that as a default to avoid
overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os.
ok kettenis@
|
|
|
|
|
|
|
|
okay millert@ deraadt@
|
|
signify doesn't do any kex stuff and doesn't need scalarmult.
|
|
No objections heard. Feedback from millert@ guenther@
|
|
ok phessler@
|
|
"warning:" rectification.
|
|
|
|
be built, which is still pretty small (in distrib/special/ftp-ssl).
Lots of testing by rpe.
|
|
|
|
ok jung@
|
|
down doas for install media.
ok tedu@
|
|
|
|
OK deraadt@
|
|
The instbin stuff looks good to deraadt@
|
|
match the one up top
|
|
shortly when we use the hardware thread register in userland
|
|
|
|
|
|
maybe the installer can use something like this, wink wink.
ok deraadt
|
|
workarounds. Some of them will soon stand in the way of armv7.
Off to the attic you go.
|
|
hppa reverse-stack gives us a valuable test case, but most developers don't
have a 2nd one to proceed further with this.
ok kettenis
|
|
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!
Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!
Clean up libpthread's symbol exports like libc.
On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.
Testing by various, particularly sthen@ and patrick@
ok kettenis@
|
|
Prompted by and ok millert@
(tcpdump and libpcap left untouched, the #ifdef force is too strong with
those)
|
|
-DKAME_SCOPEID can go away too, meaningless since 2006
|
|
correctly - logically complete that now by removing MLINKS from base;
authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;
ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
|
|
lots of agreement.
|
|
accelerate install/upgrade time MAKEDEV runs. That allows ramdisk ksh
to be pledged, without needing "dpath". We'll solve the performance issues
a different way (soon).
ok otto espie natano tb tobiasu rpe
|
|
reminded by guenther@
|
|
reading partition map.
Check for unmapped physical blocks and overlapping partitions when reading
partition map.
No need for duplicate checks in validate_map(), so remove validate.c from
build and 'v' command from code and docs.
|
|
endian or alignment issues forcefully. Removes need for convert_*
functions so unhook convert.c from build. read/write_block become
static functions inside file_media.c.
Tweak struct block0 to stop trying to handle alignment issues by clever
declaration. Rely on the new functions to accurately translate between
on-disk and in-memory layouts.
Enables pdisk to work on amd64 and likely other architectures if
it's ever desirable. Does bring back DEV_BSIZE to pdisk.c since the
in-memory structure will *not* be 512 bytes on other archs.
|
|
|
|
malloc().
Removes last use of last used function in media.c, so unhook that
from the Makefile and remove forward declarations from media.h.
No functional change.
|
|
anything other than 512-byte sectors are encountered. Unlink
deblock_media.c from the build.
ok jasper@
|