Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-08 | Remove redundant & when clearing hostname variable, as per otto@'s request | Ricardo Mestre | |
2016-11-07 | Replace bzero(3) with memset(3) | Ricardo Mestre | |
OK deraadt@ | |||
2016-11-03 | small tweak to also check canaries if F is in effect | Otto Moerbeek | |
2016-10-31 | sync to libc: malloc_move is not an option anymore | Otto Moerbeek | |
2016-10-25 | bring canaries for > page sized objects from libc to ld.so; ok guenther@ | Otto Moerbeek | |
2016-10-22 | When checking ownership and modes of files in /var/mail/, | Ingo Schwarze | |
ignore *.lock files, to avoid pointless warning mails reported by Philippe Meunier <meunier at ccs dot neu dot edu>; OK florian@ jca@ | |||
2016-10-20 | - Remove useless var assignment | Ricardo Mestre | |
- Use memset(*b, 0, len) instead of bzero(*b, len) - Use memcpy(*dst, *src, len) instead of bcopy(*src, *dst, len) - Use explicit_bzero(3) instead of bzero(3) to clean temporary HMAC Remarks from deraadt@ (duly noted!!), reviewed and OK by henning@ and tb@ | |||
2016-10-14 | 0xd0 -> 0xdb from libc malloc | Otto Moerbeek | |
2016-10-14 | move better canary code and validate_junk() over from libc malloc | Otto Moerbeek | |
2016-09-18 | merge form libc malloc: | Otto Moerbeek | |
move page junking tp unmap(), right before we stick the region in the cache; ok tedu@ | |||
2016-09-16 | Implement the DT_RELACOUNT optimization. Missed previously because I | Philip Guenther | |
didn't recognize that RELOC_BBASED_32 was the m88k name for a pure-relative relocation testing by aoyama@ | |||
2016-09-16 | Remove the fallback to the __plt_{start,end} symbols, as the dynamic tags | Philip Guenther | |
with the same info (DT_88K_PLT{START,END} have been around since 5.4 testing by aoyama@ | |||
2016-09-08 | Implement self-relocation for -static -pie on arm. Also removes some | Mark Kettenis | |
unecessary code from the normal startup code and do some general cleanup to make the code more readable. ok guenther@, jsg@ | |||
2016-09-06 | must close our fd unconditionally and not just in the !TLS case; tls_close | Henning Brauer | |
doesn't do that for us. found, analyzed and patch supplied by Martin Proyer <martin at proyer dot net>, many thanks! ok bcook funny since I just discussed a somewhat mysterious spamd-TLS issue with bob and brent over breakfast yesterday in cambridge - not sure it is this one, if it is I've been intensively digging in the wrong corner, almost "missing the obvious" | |||
2016-09-04 | Redundant memset and some better style wrt exiting functions after error. | Otto Moerbeek | |
ok guenther@ | |||
2016-09-04 | 'pw' can't be NULL here, remove useless test. | Jeremie Courreges-Anglas | |
2016-09-03 | Use a single "opt" variable for all setsockopt calls in getdatasock(). | Jeremie Courreges-Anglas | |
on = 65536; if (setsockopt(... &on ...) is slightly misleading. | |||
2016-09-03 | Set "lowdelay" and "throughput" Traffic Class on command & data IPv6 sockets. | Jeremie Courreges-Anglas | |
2016-09-03 | cherry-pick a few diffs from libc malloc; ok guenther@ | Otto Moerbeek | |
2016-09-03 | set password to return of readpassphrase(), not always the buffer. | Ted Unangst | |
2016-09-03 | convert to use readpassphrase() instead of DEPRECATED/getpass() | Gleydson Soares | |
OK millert@ | |||
2016-09-03 | convert to use readpassphrase() instead of DEPRECATED/getpass() | Gleydson Soares | |
OK millert@ | |||
2016-09-03 | convert to use readpassphrase() instead of DEPRECATED/getpass() | Gleydson Soares | |
OK millert@ | |||
2016-09-03 | convert to use readpassphrase() instead of DEPRECATED/getpass() | Gleydson Soares | |
OK millert@ | |||
2016-09-03 | convert to use readpassphrase() instead of DEPRECATED/getpass() | Gleydson Soares | |
OK millert@ | |||
2016-09-02 | krb5 bits should rest in peace | Gleydson Soares | |
OK deraadt | |||
2016-09-01 | retire sparc | Ted Unangst | |
2016-08-31 | Don't attempt to support IPv4-mapped IPv6 addresses. | Jeremie Courreges-Anglas | |
We don't consider support for those addreses as desirable, so let's not give a bad example by keeping application code to handle them. This is dead code on OpenBSD anyway since we do not support IPv4-mapped stuff. But let's keep the check to log and warn the admin if the code gets ported elsewhere. Porters of this code should ensure that IPv6 sockets can't see IPv4-mapped addresses by using the IPV6_V6ONLY sockopt. Discussed with & ok tedu@ For a rationale, see https://tools.ietf.org/html/draft-itojun-v6ops-v4mapped-harmful-02 | |||
2016-08-31 | alpha and sh have TCB_SET() macros so don't need _dl_set_tcb() | Philip Guenther | |
ok deraadt@ | |||
2016-08-30 | remove ifdef for all the features we have. | Ted Unangst | |
retain disabled ip4in6 code until its future is decided. ok deraadt jca | |||
2016-08-30 | Move DT_NUM from <sys/exec_elf.h> to resolv.h in ld.so where it belongs. | Mark Kettenis | |
ok guenther@ | |||
2016-08-28 | ld.so doesn't need gettimeofday or lstat stubs any more | Philip Guenther | |
ok deraadt@ | |||
2016-08-28 | fix a comment | Philip Guenther | |
2016-08-28 | Don't call lstat() before readlink() just to see if it's a symlink, | Philip Guenther | |
as readlink() will tell you that more cheaply. ok millert@ | |||
2016-08-27 | Delete debugging from when lazy binding was being implemented | Philip Guenther | |
ok deraadt@ | |||
2016-08-27 | Pull in <stddef.h> for NULL | Philip Guenther | |
(not stdio, because ld.so has a reduced library behind it) | |||
2016-08-27 | Pull in <sys/time.h> for struct timespec | Philip Guenther | |
ok deraadt@ | |||
2016-08-26 | Pull in <sys/time.h> for gettimeofday() | Philip Guenther | |
ok deraadt@ | |||
2016-08-26 | trim down some NBBY references. 8 bits ought to be enough for anyone. | Ted Unangst | |
2016-08-23 | Implement support for DT_INIT_ARRAY, DT_FINI_ARRAY and DT_PREINIT_ARRAY. | Mark Kettenis | |
Don't skip DT_INIT and DT_FINI for the main executable. This matches what Linux and Solaris do. ok guenther@ | |||
2016-08-22 | This code served us well for many years, | Ingo Schwarze | |
but we are unlikely to reactivate it; espie@ agrees. The new code is in /usr/src/usr.bin/mandoc/mandocdb.c. | |||
2016-08-16 | fread hasn't taken a char * in about 900 years | Ted Unangst | |
2016-08-16 | remove unneeded casts | Ted Unangst | |
2016-08-15 | Drop -z nocombreloc. It was a rev 1.1 commit like on arm, so not clear | Philip Guenther | |
why it was needed then; perhaps fixed by the bump in binutils? Removing it enables the full relro layout for ld.so. | |||
2016-08-14 | When upcasting to off_t for multiplication, the cast needs to be *before* | Philip Guenther | |
the multiplication to avoid truncation/overflow ok krw@ | |||
2016-08-14 | Convert %q to %ll with long long casts for printf() | Philip Guenther | |
Delete pointless casts to off_t, void*, and uid_t ok krw@ | |||
2016-08-14 | Drop -z nocombreloc. That's a rev 1.1 commit so not clear why it was needed | Philip Guenther | |
then; perhaps fixed by the bump in binutils? Anyway, builds seem good without it and that enables the full relro layout for ld.so. ok kettenis@ | |||
2016-08-14 | Mark the relro/got section as read-only before setting up the environment | Philip Guenther | |
to minimize the amount of code run without it RO. | |||
2016-08-13 | Passing in &_DYNAMIC appears to have stuck, so eliminate the extra | Philip Guenther | |
variable | |||
2016-08-12 | the slimmed down random functions inside ld.so are strict clones of the | Theo de Raadt | |
libc arc4random API, so call them _dl_{arc4random,arcrandombuf} ok tedu guenther |