Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-28 | - An error in the multithreaded case could print the wrong function name | Otto Moerbeek | |
- Start with a full page of struct region_info's - Save an mprotect in the init code: allocate 3 pages with none and make the middle page r/w instead of a r/w allocation and two calls to make the guard pages none | |||
2018-01-28 | Initialize variables to avoid compiler warnings | Kinichiro Inoguchi | |
ok jsing@ | |||
2018-01-27 | Complete the TLS extension handling rewrite for the server-side. | Joel Sing | |
This removes ssl_parse_clienthello_tlsext() and allows the CBS to be passed all the way through from ssl3_get_client_hello(). The renegotation check gets pulled up into ssl3_get_client_hello() which is where other such checks exist. The TLS extension parsing now also ensures that we do not get duplicates of any known extensions (the old pre-rewrite code only did this for some extensions). ok inoguchi@ | |||
2018-01-27 | Clarify the comment re the F5 EC curves extension bug. | Joel Sing | |
Also reference the knowledge base article instead of a discussion thread. | |||
2018-01-27 | Convert ssl3_put_cipher_by_char() to CBB. | Joel Sing | |
While here make the CBS usage in ssl3_get_cipher_by_char() more consistent with other code. ok inoguchi@ | |||
2018-01-26 | - do not junk pages returned by free_bytes(), all freed chunks are already | Otto Moerbeek | |
junked - freezero(): only clear requested size | |||
2018-01-24 | Make the NEON codepaths conditional on __STRICT_ALIGNMENT not being | Mark Kettenis | |
defined as they rely on unaligned access. ok joel@ | |||
2018-01-23 | use END_STRONG. Yes, everything in the sh ecosystem is different.. | Theo de Raadt | |
2018-01-21 | Implement ffs(3) using the CLZ instructions which has been available ever | Mark Kettenis | |
since ARMv5. Should be much faster but more importantly it removes the data table from .text which could introduce unwanted ROP gadgets. Based on changes in Android/Bionic by Elliott Hughes. ok patrick@ | |||
2018-01-19 | Use static inline such that the functions are guaranteed to be present when | Mark Kettenis | |
compiled with clang. ok visa@ | |||
2018-01-19 | Partial revert of rev. 1.7, fixes build with clang | Jeremie Courreges-Anglas | |
The error was: --8<-- ffs.S:57:2: error: unsupported relocation on symbol adrne r2, .L_ffs_table ^ -->8-- Minimal workaround suggested by deraadt@, ok guenther@ kettenis@ | |||
2018-01-18 | Wow, it cannot even be in .data... | Theo de Raadt | |
2018-01-18 | Zap the rotor, it was a wrong idea. Cluebat applied by kshe who | Otto Moerbeek | |
came also up with this diff. Simple, no bias and benchmarks show the extra random calls disappear in te measurement noise. | |||
2018-01-18 | Sorry, the PIC macros cannot reach to .rodata.... | Theo de Raadt | |
2018-01-18 | Move to ffs(3) for bitmask scanning. I played with this earlier, | Otto Moerbeek | |
but at that time ffs function calls were generated instead of the compiler inlining the code. Now that ffs is marked protected in libc this is handled better. Thanks to kshe who prompted me to look at this again. | |||
2018-01-18 | Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias | Philip Guenther | |
dance, mark it protected. This works better for both gcc and clang: gcc blocks overriding of internal calls, while clang permits inlining again. ok otto@ | |||
2018-01-16 | On armv7, remove symbols that are also present in our libc. Because of the | Mark Kettenis | |
EABI aliases these can lead to duplicate symbol errors, especially when mixing code compiled with gcc and clang. The intention is to revert this once we convert armv7 to hardfloat. ok patrick@, guenther@ | |||
2018-01-14 | Add two more ARM EABI aliases that I missed in the previous libc minor | Mark Kettenis | |
bump. "just go ahead -- crank" deraadt@ | |||
2018-01-13 | tweak previous; | Jason McIntyre | |
2018-01-13 | introduce a filter called EVFILT_DEVICE that can be used to notify | Robert Nagy | |
listeners of device state changes. currently only supports NOTE_CHANGE that will be used by drm(4) ok kettenis@ | |||
2018-01-12 | Adjust references for sysctl(3) to sysctl(2) | Theo de Raadt | |
2018-01-12 | sysctl(3) can now be renamed to sysctl(2) | Theo de Raadt | |
2018-01-08 | Move SC_* defines into <machine/setjmp.h>, and rename them, | Visa Hankala | |
so that <machine/signal.h> is not needed in setjmp.S. Suggested by kettenis@ long ago, OK deraadt@ | |||
2018-01-08 | optimization and some cleanup; mostly from kshe (except the unmap() part) | Otto Moerbeek | |
2018-01-08 | TIOCUCNTL is now allowed by promise "tty". | Martin Pieuchot | |
Reminded by jmc@ | |||
2018-01-07 | amd64_{get,set}_fsbase() are superfluous and unused; delete them. | Philip Guenther | |
Delete unused/never-implemented sysarch defines and structs while here. ports check and ok naddy@ ok deraadt@ mlarkin@ | |||
2018-01-07 | On OpenBSD/armv7 we deliberately trap unaligned access. Unfortunately | Mark Kettenis | |
the assembly code in libcrypto assumes unaligned access is allowed for ARMv7. Make these paths conditional on __STRICT_ALIGNMENT not being defined and define __STRICT_ALIGNMENT in arm_arch.h for OpenBSD. ok tom@ | |||
2010-10-01 | import OpenSSL-1.0.0a | Damien Miller | |
2018-01-06 | Remove dead gettimeofday calls and timevals. | cheloha | |
ok jca@ | |||
2018-01-02 | some grammar fixes; from dholland@netbsd, -r1.68 | Jason McIntyre | |
2018-01-02 | Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined. | Philip Guenther | |
ok millert@ sthen@ | |||
2018-01-01 | Fix wrong ETHERTYPE_IPV6 | denis | |
OK jca@ kettenis@ job@ | |||
2018-01-01 | Only init chunk_info once, plus some moving of code to group related functions. | Otto Moerbeek | |
2017-12-27 | step one in avoiding unneccesary init of chunk_info; | Otto Moerbeek | |
some cleanup; tested by sthen@ on a ports build | |||
2017-12-26 | Update to compiler-rt 5.0.1. | Patrick Wildt | |
ok kettenis@ | |||
2017-12-26 | Missed in previous | Jeremie Courreges-Anglas | |
Spotted by patrick@, thanks | |||
2017-12-26 | Use a version script to limit exported symbols | Jeremie Courreges-Anglas | |
ok ratchov@ kettenis@ | |||
2017-12-26 | Add ARM EABI runtime aliases to the GCC runtime functions that we include | Mark Kettenis | |
in libc. ok patrick@, jsg@, guenther@ | |||
2017-12-25 | memcpy from the right place. at this point, the used variable is not | Ted Unangst | |
relevant. from Mark Karpilovskij. ok millert | |||
2017-12-24 | Fix one possible buffer overflow and one underflow. Also some minor | Todd C. Miller | |
cleanups. From Jan Kokemueller. OK deraadt@ | |||
2017-12-18 | Add call to fuse_remove_signal_handlers(3) in fuse_teardown(3) to do the | helg | |
opposite of fuse_setup(3). ok mpi@ | |||
2017-12-18 | Refactor libfuse option processing to better support options in the | helg | |
future. Immediate benefits are that gid, uid and umask are now supported and max_read is now honoured for all file systems. Mounting read_only is now possible but requires more thorough testing. ok mpi@ | |||
2017-12-18 | let's not try to document the number of items in a list... | Jason McIntyre | |
2017-12-18 | Add the CLOCK_BOOTTIME clockid for use with clock_gettime(2) | cheloha | |
and put it to use in userspace in lieu of the kern.boottime sysctl. Its absolute value is the time that has elapsed since the system booted, i.e., the system uptime. Use in top(1), w(1), and snmpd(8) eliminates a race with settimeofday(2), adjtime(2), etc. inherent to deriving the system uptime via the kern.boottime sysctl. Product of a great deal of discussion/revision with jca@, tb@, and guenther@. ok tb@ jca@ guenther@ dlg@ mlarkin@ tom@ | |||
2017-12-16 | Move __cxa_thread_atexit* to its own .c file to avoid pulling the code | Philip Guenther | |
(w/ _dlctl reference) into static executables. It's all Mark's code so put his preferred copyright on it. ok kettenis@ | |||
2017-12-16 | Don't use _libc_ prefix when referencing "builtin" symbols with clang. | Mark Kettenis | |
Slightly tweaked diff from guenther@ | |||
2017-12-15 | Export only symbols to what's declared in fuse.h/fuse_opt.h | Jeremie Courreges-Anglas | |
While here, use guenther's magic recipe to avoid the PLT when calling exported symbols from within the library. ok kettenis@ for v1, ok guenther@ helg@ | |||
2017-12-15 | Fix formatting of libfuse version info. | helg | |
ok mpi@ | |||
2017-12-14 | Simplify and unify timespec variables used in those event loops | Jeremie Courreges-Anglas | |
ok millert@ | |||
2017-12-14 | Add Symbols.map to explicitly define the ABIs, hiding linker defined symbols. | Philip Guenther | |
Use hidden aliases for internal invocations of exported symbols to avoid PLT. ok deraadt@ kettenis@ jca@ |