Age | Commit message (Collapse) | Author |
|
use _dl_mmap_error() to check for mmap() errors. Adjust datatypes of
some local vars for 64-bit safety.
okay millert@ drahn@
|
|
|
|
until we hit EOF. OK deraadt@
|
|
of the invoking user. OK deraadt@
|
|
spinny things which parse those messages. Do not close the connection
as requested by Josh Grosse, since a 530 is not supposed to do that.
ok millert
|
|
ok beck
|
|
current session, when the last character of an overly long line
was a newline character. Additionally reply with
500 "Command too long" for commands, which are too large.
Issue found and proposed fix by Luke Mewburn <lukem@NetBSD.org>.
ok millert@
|
|
boundary but just fail on them. This prevents CSRF-like attacks,
when a web browser is used to access an ftp server.
Reported by Maksymilian Arciemowicz <cxib@securityreason.com>.
ok millert@ martynas@
|
|
Theo made a number of suggestions/enhancements to get to this final version.
|
|
|
|
|
|
- whitelisted entries are not synced
- entries added manually (using spamdb) are not synced
suggested by Stephan A. Rickauer; ok reyk
|
|
(multiple) @.
ok millert, otto
|
|
pie relocation. Assembly debugging help from kettenis@.
okay kettenis@ miod@
|
|
ok kurt@
|
|
ok kurt@
|
|
ok beck@
|
|
to the database.
ok beck@
|
|
ok beck@, reyk@
|
|
auth_ret is referenced before it is declared, which is not allowed by C99.
Ok krw@, millert@, gilles@
|
|
no longer necessary now that libgcc is built correctly, and it caused
the elfbug regress test to fail.
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
executables. Debugged and okay drahn@
|
|
dl_iterate_phdr(3) which was returning the load base not the
object base. Problem noted in the misc/exceptions regress by
David Krause. okay drahn@
|
|
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
|