summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2016-09-19Don't build saveFP/restFP for powerpc. Not needed on OpenBSD.Pascal Stumpf
ok kettenis@
2016-09-19Add non-VFP arm-specific code.Mark Kettenis
ok patrick@
2016-09-19Add -nostdinc++ like the original CMakeLists.txt does. Fixes bulding withMark Kettenis
clang++. ok pascal@, patrick@
2016-09-19Update ld search path for libssl/libcrypto, fixes cross-build after source ↵Brent Cook
moved. from Patrick Wildt
2016-09-18move page junking tp unmap(), right before we stick the region in the cache;Otto Moerbeek
ok tedu@
2016-09-18Go down the right path in the _LIBUNWIND_ARM_EHABI case.Mark Kettenis
ok patrick@
2016-09-18Use unified syntax such that this compiles with both gcc and clang.Mark Kettenis
ok jsg@
2016-09-18unbreak the build by including stddef.h for the definition of NULLJonathan Gray
fix suggested by and ok guenther@
2016-09-17Add an interface to find the ARM.exidx table for use by the ARM EHABI unwinder.Mark Kettenis
Makes exceptions work in C++ code work again om armv7. ok guenther@
2016-09-17Restore warnings about multiple process waiting on same fdPhilip Guenther
requested by mpf@ ok deraadt tedu@
2016-09-16Include the legacy_coding(3) page which documents use_legacy_coding(),Nicholas Marriott
probably missed at one update or another. Reported by Anthony Coulter, discussed with jmc.
2016-09-16handle fallout of moving the address maps to RBT code.David Gwynne
because userland doesnt have subr_tree, and the tree traversal in this file is simple, this inlines the logic that the functions in the kernel do.
2016-09-15we do not build the curses _memleaks and _trace stuff apparently,Jason McIntyre
so remove mentions of them; from anthony coulter nicm thinks it's worth making the changes, even though these pages are 3rd party;
2016-09-14Set callbacks on the right tls ctx on accept.Brent Cook
From Tobias Pape
2016-09-14Handle the FLUSH BIO cntl, that happens at the end of SSL handshakes.Brent Cook
from Tobias Pape
2016-09-14Allow callback read/write functions to set TLS_WANT_POLLOUT/POLLIN.Brent Cook
from Tobias Pape
2016-09-14Generate pkg-config files at build time like everything else. ThisMartin Natano
avoids permission problems due to the build and install stages being run by different users. ok deraadt jasper
2016-09-13spelling; from Frank SchoepTheo de Raadt
2016-09-13add a little more typing to the first callback argument.Ted Unangst
it's always a tls context.
2016-09-12Reduce libm's exports and make internal calls go direct.Philip Guenther
All dependencies on libc are now via reserved/standardized names. ok kettenis@ millert@ deraadt@
2016-09-12Don't declare select() in <unistd.h>Philip Guenther
ok deraadt@ millert@
2016-09-12Per fpclassify(3): isinff(), isnanf(), finite(), and finitef() are deprecatedPhilip Guenther
in favor of isinf(), isnan(), and isfinite(). ok tb@ martynas@
2016-09-12Use fe*() routines from <fenv.h> instead of fp*() routines from <ieeefp.h>Philip Guenther
ok tb@ martynas@
2016-09-12document that running a W^X violating binary from file system mountedIngo Schwarze
without wxallowed causes EACCES
2016-09-11Install sqlite3 header files with correct ownership. "Morituri teMartin Natano
salutant." ok deraadt
2016-09-11Files in /etc/ssl belong to root. ok deraadtMartin Natano
2016-09-10Clang ignores a .weak directive before a function is actually defined. SoMark Kettenis
move it from before ENTRY() to after END(). Keeps brk(2) and sbrk(2) weak when comping libc with clang. ok guenther@
2016-09-09back out calls to EVP_CIPHER_CTX_cleanup() in EVP_Cipher/Encrypt/DecryptFinalBrent Cook
Software that refers to ctx after calling Final breaks with these changes. revert parts of 1.31 and 1.32
2016-09-08Implement self-relocation for -static -pie on arm. Also removes someMark Kettenis
unecessary code from the normal startup code and do some general cleanup to make the code more readable. ok guenther@, jsg@
2016-09-07Fix fuse node lookups. Currently fusefs nodes in the kernel remember theMartin Natano
parent inode number for ".." lookups. This only works until the kernel starts to reuse vnodes and the parent's vnode is reclaimed and the ino to path mapping is removed from the userland process by libfuse. Fix this by using reference counting in libfuse, so that parent mapping are retained as long as a child uses them. Also, don't free the root node. This commit resolves following issue: $ doas fuse-zip ~/Downloads/foo.zip /mnt $ ls /mnt openbsd-www $ grep -IR foo /usr/src > /dev/null # force vfs to reclaim vnodes $ ls /mnt ls: /mnt: No such file or directory $ ok tedu
2016-09-07Remove usermount remnants. ok teduMartin Natano
2016-09-07Trivial cleanup: Pass pointers of the correct types to the privateIngo Schwarze
functions and delete a macro that is used in only one place; no functional change. This completes the audit of the citrus directory (only 3 files left).
2016-09-07trivial cleanup: delete inline attribute on static function,Ingo Schwarze
leave that decision to the compiler; no functional change
2016-09-07trivial cleanup:Ingo Schwarze
- delete unused headers - add missing function prototype - delete needless casts of return values - KNF: return is not a function - KNF: do not use a pointer as a boolean - consistent wording in comments: s/octets/bytes/ OK gcc: no object change after strip -g
2016-09-06Make sure attributes are applied to function declarations before they'rePhilip Guenther
used or defined, as clang isn't as forgiving as gcc. Also, declare __flt_rounds() so that libc can build it despire clang providing its own <float.h> ok stefan@ kettenis@
2016-09-06Implement dl_iterate_phdr() for static PIE executables using info extractedPhilip Guenther
from the aux vector. ok patrick@ kettenis@
2016-09-06Remove branch prediction hints from conditional branch instructions. TheseMark Kettenis
hints are not recognized by clang's builtin assembler and the opcode prefixes they generate have been no-ops for all CPUs after the Pentium 4. ok guenther@
2016-09-05In some cases, for instance for statically linked binaries, our binutilsPatrick Wildt
does not produce the binary table which is used for optimization. libunwind currently depends on having that table. This changes libunwind to fall back to the default search code when the binary table is not available. ok kettenis@
2016-09-05Implement OpenBSD support in libc++ and libunwind.Patrick Wildt
ok kettenis@
2016-09-05Add libcompiler_rt Makefile.Pascal Stumpf
2016-09-05Import libcompiler_rt 3.9.0, LLVM's replacement for libgcc.Pascal Stumpf
This is the lib/builtin directory of the compiler-rt source tarball. comments/ok patrick@, ok kettenis@
2016-09-05correct wording; from rob@2keys.caTheo de Raadt
2016-09-05remove CMS manuals; beck@ agress with the general ideaIngo Schwarze
2016-09-05Delete some abstraction that we don't and won't need.Ingo Schwarze
Declare functions rather than generating declarations with macros. Just call functions rather than mainting function pointer tables. Purge unused arguments. Simplify mbstate_t casting. Garbage collect one empty and one unused function. As a bonus, make mbsinit(3) work at all, it returned garbage in the past due to a missing cast when passing mbstate_t. Apart from that, no functional change. No libc bump needed; only private functions are removed and change prototype and only private structs change size. OK stsp@ mpi@; deraadt@ likes the general direction.
2016-09-04fix Dt;Jason McIntyre
2016-09-04Remove cms.Joel Sing
2016-09-04Remove cms.Joel Sing
ok beck@, guenther@, tedu@
2016-09-04Expand DECLARE_ASN1_.*FUNCTIONS macros.Joel Sing
No change in preprocessed output, ignoring whitespace and line numbers.
2016-09-04Expand DECLARE_ASN1_.*FUNCTIONS macros.Joel Sing
No change in preprocessed output, ignoring whitespace and line numbers.
2016-09-04Expand DECLARE_ASN1_.*FUNCTIONS macros.Joel Sing
No change in preprocessed output, ignoring whitespace and line numbers.