Age | Commit message (Collapse) | Author |
|
exe_loff
- calculate minva, maxva, exe_loff for the executable for passing to
_dl_finialize_object and completing the executable elf_object_t data.
this fixes ldd output for the exe object and prepares for PIE support.
- calculate the interpreter path pointer in a way that allows for the
possibility that PT_INTERP comes before PT_PHDR
- fix an off by one in the init of dl_data
input and okay drahn@
|
|
file, thus leaking the file descriptor, close the input file when it done.
|
|
ok jmc@
|
|
Tested by brad@ and sobrado@
ok deraadt@
|
|
1) ip addresses were accidentally being sent in host-byte order, which
caused compatibility problems (spotted by jbg)
2) the sub-headers in the frame were not natively aligned, thus timeout
values were incorrectly sent by 64-bit machines
ok beck
|
|
ok (some time ago) jmc@
|
|
structures aligned to 16 byte boundaries for maximum portability
(somewhat similar to CMSG's). Old spamd's and new spamd's can still
communicate with this change. It would be nice if someone tested spamd
on 64-bit unaligned architectures (with and without this change)
ok beck
|
|
hold the header with length field.
ok deraadt@ beck@
|
|
for all objects which simplifies phdr usage in a few places.
"go for it" drahn@
|
|
|
|
Use arc4random_uniform() when the desired random number upper bound
is not a power of two
ok deraadt@ millert@
|
|
|
|
was found but failed to load. Adjust _dl_load_shlib() to only attempt to
load the first matching shared lib which allows the correct _dl_error to
propagate out upon load failure.
okay drahn@
|
|
- rename private values in struct elf_object to better
describe their meaning:
s/load_offs/obj_base/ "object's address '0' base"
s/load_addr/load_base/ "The base address of the loadable
segments"
- gdb needs the obj_base value so swap positions with load_base in
struct elf_object
- fix a few occurrences of where load_base was used instead of
obj_base.
With help and okay drahn@
|
|
|
|
|
|
ok kurt@
|
|
|
|
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This
works now that kernel fd passing has been fixed to accept a bit of
sloppiness because of this ABI repair.
lots of discussion with kettenis
|
|
descriptors; ok hshoexer, also looked at by kettenis and henning
|
|
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because
of alignment; ok kettenis hshoexer
|
|
an extensive discussion with otto, kettenis, millert, and hshoexer
|
|
that we don't accidentally touch the page after the GOT.
Bug found on sparc64 affected other platforms as well.
ok kettenis@
|
|
that we don't accidentally touch the page after the GOT.
ok drahn@
|
|
filename).
ok mikeb, millert
|
|
|
|
kerb5 support to login_chpass.
|
|
From Diego Giagio (dgiagio at gmail)
with input from tedu@
|
|
non-standard port name or number for use when connecting to radiusd.
|
|
- improve options text
no one objected...
|
|
linked without -E. dlsym issues reported by Pedro Martelletto <pedro at
ambientworks.net>. okay tedu@
|
|
Fixes PR #5579.
|
|
|
|
"sure" deraadt@
|
|
|
|
noticed and patch from Piotr Sikora <piotr@sikora.nu>
|
|
- Use strcspn to strip \r and \n.
OK chl.
|
|
- atoi -> strtonum with proper bounds check
- Use vfprintf and vsyslog in the appropriate places.
OK millert.
|
|
- kill some .Tn whilst here
|
|
ok millert
|
|
|
|
|
|
OK otto.
|
|
|
|
traps.
- Change count to size_t to avoid a size_t -> int conversion.
- Since configure_spamd always returns 0, change to void.
- Since configure_spamd now returns void, remove unreachable logging
statement.
OK ckuethe and deraadt, initial diff from fgsch@ and OKed by beck.
|
|
- this document talks about "default mode", not "greylisting mode"
- kill trailing whitespace
|
|
longer used in greylisting mode.
ok ckuethe@
|
|
particular for landisk (sh) where ld.so does not yet 100% work, but
was still being installed. libtool cares. modified from matthieu
patch; ok drahn
|
|
- Use strtonum instead of atoi.
- Improve strtol error checking.
- Change strchr calls to strcspn and eliminating some unused
variables as a result.
OK moritz
|
|
OK ray@
|