summaryrefslogtreecommitdiff
path: root/distrib/special
AgeCommit message (Collapse)Author
2018-11-11Add automatic threading initialization for libcrypto.Brent Cook
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@
2018-10-18Ensure that the install media are built with a consistent set ofChristian Weisgerber
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@
2018-09-13Unbreak ramdisks by catching up with the change to use the new libcStuart Henderson
uid_from_user() and gid_from_group() instead of the pax-specific functions in cache.c.
2018-06-25white spacesTheo de Raadt
2018-06-15Remove BACKWARDS flag here as well.Martijn van Duren
Reminded by tb@
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@
2018-03-19Add DEF_STRONG(pthread_self) to match libc and avoid duplicate definitionsPhilip Guenther
that lld is unhappy about ok jsg@ deraadt@
2018-03-15Add fake pthread_self and pthread_equal to libstubsBob Beck
ok kettenis@ jsing@ deraadt@ - "Exquisitly disgusting" guenther@
2018-03-08Add a stub for pthread_once, to permit libtls to use it.Bob Beck
discussed with guenther@, ok deraadt@
2018-02-18add include to silence compiler warning about a missing prototype forChristian Weisgerber
tolower() ok cheloha@ rob@ florian@
2018-02-10installer bits for RFC 7217 supportFlorian Obser
OK rpe, tb, naddy, sthen
2017-11-19add growfs(8) to ramdiskjob
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@
2017-10-17remove the remaining references to .depend files since nothing creates themChristian Weisgerber
any longer; ok espie@ deraadt@
2017-08-01Disable ksh VI-editing mode on the install media. We need the spaceTheo de Raadt
savings.
2017-07-25change -Os to -Oz all around the treeRobert Nagy
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@
2017-07-08Unhook tables.c from Makefile.Kenneth R Westerback
2017-07-08hook up slaacd to the installer on media where we have INET6Florian Obser
2017-07-06installer version of slaacd, not hooked up to the build yetFlorian Obser
2017-06-12destroy lint remnants.Marc Espie
okay millert@ deraadt@
2017-05-28when copying curvy files from ssh, an extra one snuck in.Ted Unangst
signify doesn't do any kex stuff and doesn't need scalarmult.
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
No objections heard. Feedback from millert@ guenther@
2017-01-23Use stubs for arm64 as well.Patrick Wildt
ok phessler@
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2016-12-30enter ftp-ssl alsoTheo de Raadt
2016-12-28Split -DSMALL into -DNOSSL, so that a SSL-enabled version of ftp canTheo de Raadt
be built, which is still pretty small (in distrib/special/ftp-ssl). Lots of testing by rpe.
2016-12-21stub for building HTTPS-enabled clientTheo de Raadt
2016-12-20Add 'default:' cases to switch statements that gcc whines about.Kenneth R Westerback
ok jung@
2016-12-15Nuke a couple of unused variables making gcc upset. Leftovers from strippingKenneth R Westerback
down doas for install media. ok tedu@
2016-09-27remove more kvm codeTheo de Raadt
2016-09-20build the ramdisk version of route(8) with SMALLPeter Hessler
OK deraadt@
2016-09-17ping6(8) is now a hardlink to ping(8).Florian Obser
The instbin stuff looks good to deraadt@
2016-09-11even though zsig.c is knocked out, it should be in this Makefile toTheo de Raadt
match the one up top
2016-09-03Retire zaurus, as it hasn't made the EABI jump and will be permanently brokenPhilip Guenther
shortly when we use the hardware thread register in userland
2016-09-02backout accidental commitTheo de Raadt
2016-09-01remove sparc media building goopTheo de Raadt
2016-08-16add a special edition doas that only lets root drop privs.Ted Unangst
maybe the installer can use something like this, wink wink. ok deraadt
2016-08-10armish handled some early-gen arm machines, which required tons ofTheo de Raadt
workarounds. Some of them will soon stand in the way of armv7. Off to the attic you go.
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
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
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
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@
2016-05-04Kill #ifdef INET6 occurrences in userland.Jeremie Courreges-Anglas
Prompted by and ok millert@ (tcpdump and libpcap left untouched, the #ifdef force is too strong with those)
2016-05-03Also remove -DINET6 here, noticed by teduJeremie Courreges-Anglas
-DKAME_SCOPEID can go away too, meaningless since 2006
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
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
2016-03-09We are done providing support for the vax.Theo de Raadt
lots of agreement.
2016-03-04remove CSRG BSD-licensed mknod builtin code which was previously used toTheo de Raadt
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
2016-02-01sync to mainGleydson Soares
reminded by guenther@
2016-01-27Check block 0 signature, physical block size and physical block count whenKenneth R Westerback
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.
2016-01-25Use new read/write_block0 and read/write_dpme which handle anyKenneth R Westerback
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.
2016-01-18sync to mainTheo de Raadt
2016-01-16No need to abstract malloc(), so replace new_file_media() withKenneth R Westerback
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.
2016-01-16Nuke support for 1024- and 2048-byte sector devices. Error out ifKenneth R Westerback
anything other than 512-byte sectors are encountered. Unlink deblock_media.c from the build. ok jasper@