Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-16 | define the role of spamd-setup a little better; | Jason McIntyre | |
2017-03-16 | use one way to show filter rules, not two. the bits and pieces of the | Jason McIntyre | |
spamd setup are complex enough without freestyling the pf rules; while here, Bk/Ek no longer required | |||
2017-02-18 | Add NULL tests to wrterror() to avoid a NULL deref when called from | Philip Guenther | |
malloc initialization or a free() error path. Prompted by libc's malloc.c rev 1.214; with correction from jsg@ and otto@ ok jsg@ krw@ | |||
2017-02-16 | correct format strings, ok guenther | Theo de Raadt | |
2017-02-16 | Match the recent change in the kernel and ask for a generic armv8-a | Jonathan Gray | |
encoding rather than one based on and tuned for cortex-a57 when using +nofp+nosimd. | |||
2017-02-15 | Make this build (and run) with gcc 4. | Miod Vallat | |
2017-02-08 | Provide size-generic ELF_NO_ADDR in <sys/exec_elf.h> and use that instead | Philip Guenther | |
of ELFDEFNNAME(NO_ADDR) ok jca@ | |||
2017-01-30 | Fix ELF64_R_TYPE(reloc->r_info) to have the same type on mips64le | Philip Guenther | |
as on other LP64 archs, __uint64_t, so that printf-like functions don't require extra casting...then eliminate the extra cast in ld.so/mips64/rtld_machine.c discussed with miod ok visa@ | |||
2017-01-29 | Previous commit broke build on loongson. Refix by adding | Visa Hankala | |
an explicit type cast. Reported and tested by matthieu@ | |||
2017-01-25 | Fix build on mips64. | Visa Hankala | |
2017-01-24 | make ldso[] const; OK guenther@ | Todd C. Miller | |
2017-01-24 | For consistentcy, use 'void *' with %p instead of 'char *' | Philip Guenther | |
2017-01-24 | To format r_addr, use %p and cast to 'void *'. From comparison with | Philip Guenther | |
other archs | |||
2017-01-24 | On fatal errors, kill ourselves with thrkill(0,9,NULL) instead of | Philip Guenther | |
simply exiting, via helper functions _dl_die(), _dl_diedie(), and _dl_oom(). prompted by a complaint from jsing@ ok jsing@ deraadt@ | |||
2017-01-24 | Unbreak $ORIGIN support when only one of DT_RUNPATH and DT_RPATH is used | Philip Guenther | |
2017-01-23 | remove line that slipped in with rev 1.77 but doesn't belong there; ok sthen@ | Christian Weisgerber | |
2017-01-23 | Whoops, lost the adjustment of DT_RUNPATH value as a DT_STRTAB value. | Philip Guenther | |
problem reported by semarie@ | |||
2017-01-23 | Mark a bunch of stuff static | Philip Guenther | |
ok kettenis@ | |||
2017-01-23 | The functionality of _dl_allocate_tib() is used internally, so rename | Philip Guenther | |
it to allocate_tib(), mark that hidden, then make the exported function an alias of that. ok kettenis@ | |||
2017-01-23 | Wrap function declarations with __{BEGIN,END}_HIDDEN_DECLS to reduce | Philip Guenther | |
relocations inside ld.so that it has to bootstrap ok kettenis@ | |||
2017-01-23 | Fix format string mismatches | Philip Guenther | |
2017-01-23 | Fix format string mismatches | Philip Guenther | |
testing assistance patrick@ | |||
2017-01-23 | check EAGAIN in the correct place, | Bob Beck | |
noticed and ok phessler@ | |||
2017-01-23 | Switch spamd to nonblocking descriptors so we can count on getting a | Bob Beck | |
short write when the socket buffers are full, instead of blocking. ok benno@ claudio@ | |||
2017-01-23 | pledge a tiny bit later. This results in the specified tty being | Theo de Raadt | |
opened before the first pledge call. testing by tb and benno and others | |||
2017-01-22 | Add support for DT_RUNPATH and DT_FLAGS | Philip Guenther | |
ok kettenis@ | |||
2017-01-21 | _dl_exit() is __dead, so it should return void. | Philip Guenther | |
Move _dl_mmap() and _dl_mquery() inlines from archdep.h to syscall.h and remove pointless casts and unnecessary parens. ok kettenis@ | |||
2017-01-20 | Delete ancient macros and unnecessary #includes | Philip Guenther | |
ok deraadt@ | |||
2017-01-17 | - spamd(8)'s -l accepts an IP address as argument to bind(2) and it calls | Ricardo Mestre | |
inet_pton(3) to check if it's valid and since that function doesn't provide a proper errno (POSIX doesn't mandate to do so) then if a string is given we may get this message: spamd: inet_pton: Undefined error: 0 - Instead replace that code to use getaddrinfo(3) from which is possible to get a proper error message, and at the same time being able to parse IPs and hostnames (if either the IP or host is not local then the next bind(2) will fail) - By default without arguments, spamd(8) will still bind(2) to 127.0.0.1 as it did before With feedback from deraadt@ and OK beck@ | |||
2017-01-11 | Add support for AArch64. | Patrick Wildt | |
2017-01-09 | Remove dependency on __got_{start,end} symbols and look at PT_GNU_RELRO | Mark Kettenis | |
instead. Result in a few more pages that aren't writable on some platforms (such as hppa). Based on an initial diff from guenther@. Thanks to deraadt@ for testing. ok guenther@ | |||
2017-01-05 | Build with -fno-builtin to keep clang from optimizing the _dl_memset() | Christian Weisgerber | |
and _dl_bcopy() functions into calls to memset() and memcpy(). ok kettenis@ | |||
2016-12-28 | fix the remaining cases of .Xr with only one argument | Ingo Schwarze | |
2016-12-27 | Remove user uucp and group news from base. | Jeremie Courreges-Anglas | |
2016-11-30 | Check return value of tls_config_set_protocols(3) and bail out in case of | Ricardo Mestre | |
failure Feedback and OK jsing@ | |||
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@ |