summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2008-04-09Improve support for shared libs linked at non-zero addreses:Kurt Miller
- 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@
2008-04-08should not call setpwent(); millert agreesTheo de Raadt
2008-04-03Use the libgcc version of these functions, no point in having extra copies.Dale Rahn
2008-04-02Use the proper define for this address, not a incorrect (on 64bit) define.Dale Rahn
ok kurt@
2008-03-28typo, ok beck@Alexander von Gernler
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
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
2008-03-15Repair more msg_controllen dealing with structures or arrays ofTheo de Raadt
descriptors; ok hshoexer, also looked at by kettenis and henning
2008-03-15Repair the simple cases for msg_controllen where it should just beTheo de Raadt
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment; ok kettenis hshoexer
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
an extensive discussion with otto, kettenis, millert, and hshoexer
2008-02-24Use rounded down address when changing memory protections on the GOT, suchDale Rahn
that we don't accidentally touch the page after the GOT. Bug found on sparc64 affected other platforms as well. ok kettenis@
2008-02-24Use rounded down address when changing memory protections on the GOT, suchMark Kettenis
that we don't accidentally touch the page after the GOT. ok drahn@
2008-02-09Remove an old workaround that was needed in SCCS times (%M% expanding to theMarc Balmer
filename). ok mikeb, millert
2008-01-08simplify the suggested pf ruleset; ok beckJason McIntyre
2008-01-02Update commented out kerberos bits in case someone wants to add missingTodd C. Miller
kerb5 support to login_chpass.
2007-12-27Add a missing length check of received spamd sync packet headers.Reyk Floeter
From Diego Giagio (dgiagio at gmail) with input from tedu@
2007-12-14Add radius-port login.conf variable to allow people to configure aTodd C. Miller
non-standard port name or number for use when connecting to radiusd.
2007-11-29- get synopsis/usage() rightJason McIntyre
- improve options text no one objected...
2007-11-27Fix dlsym w/special handles when called from an executable that has beenKurt Miller
linked without -E. dlsym issues reported by Pedro Martelletto <pedro at ambientworks.net>. okay tedu@
2007-11-27Make _dl_md_reloc_got() report errors, and take them into account.Miod Vallat
Fixes PR #5579.
2007-11-27tweak previous;Jason McIntyre
2007-11-27add missing header for inet_ntoa.Charles Longeau
"sure" deraadt@
2007-11-26add logging option, ok deraadt@Jolan Luff
2007-11-03PR 5621 - spamd doesn't clear the last entry from an empty TRAP list,Bob Beck
noticed and patch from Piotr Sikora <piotr@sikora.nu>
2007-09-26From Tamas TEVESZ:Ray Lai
- Use strcspn to strip \r and \n. OK chl.
2007-09-26From Tamas TEVESZ:Ray Lai
- atoi -> strtonum with proper bounds check - Use vfprintf and vsyslog in the appropriate places. OK millert.
2007-09-25- sort options and sync usage()Jason McIntyre
- kill some .Tn whilst here
2007-09-25more accurate description of -U; from Tamas TEVESZJason McIntyre
ok millert
2007-09-25better wording; from Tamas TEVESZJason McIntyre
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-26Fix some error messages and comments, from Brad.Ray Lai
OK otto.
2007-08-22err msg looks better with a \nMarc Espie
2007-08-16- Don't fill spamd debug with bogus config errors if there are noRay Lai
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.
2007-08-11tweak previous:Jason McIntyre
- this document talks about "default mode", not "greylisting mode" - kill trailing whitespace
2007-08-11Add note to the effect that the spamd pf table is noJonathan Gray
longer used in greylisting mode. ok ckuethe@
2007-08-08on NOPIC architectures, do not build and install ld.so. this is inTheo de Raadt
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
2007-07-31From Gilles Chehade:Ray Lai
- Use strtonum instead of atoi. - Improve strtol error checking. - Change strchr calls to strcspn and eliminating some unused variables as a result. OK moritz
2007-07-27Fix potential memory leak, when snprintf(3) returns an empty buffer.Moritz Jodeit
OK ray@
2007-07-26Remove the space after "Password:" in password prompts where echo isTodd C. Miller
turned off. This is consistent with historic UNIX behavior.
2007-07-07document maximum values for -S and -s;Jason McIntyre
from Saint Aardvark the Carpeted, documentation/5535;
2007-06-28Add a SIGCHLD handler for background mode instead of doing waitpid()Todd C. Miller
at a single point in the event loop (which would always leave a single zombie around after the first connection). Also use daemon() instead of doing it by hand. OK deraadt@ beck@
2007-06-25s/is is/it is/. From Jim Razmus, jim (at) bonetruck (dot) org; thanks.Tom Cosgrove
2007-06-23default rule.flags and rule.flagset to 0 instead of nulljoshua stein
from max laier
2007-06-21Adjust spacing, combine malloc + strlcpy + strlcat into a singleRay Lai
asprintf call. OK moritz
2007-06-19Make sure perror_reply() is only called when errno is set. WhenRay Lai
changing perror_reply() -> reply(), increase error message detail for ftp client. Move free() statement to prevent errno clobbering. OK moritz
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29based on a diff from Matt Provost: allow printing of ldd informationJason Wright
on libraries themselves. Works by setting up the debugging flags then calling dlopen() to do the heavy lifting. ok drahn
2007-05-27document differences between LD_TRACE_LOADED_OBJECTS_FMT1 andJason McIntyre
LD_TRACE_LOADED_OBJECTS_FMT2; based on a diff from Michel Lavondes; help/ok drahn
2007-05-26remove a redundant paragraph; ok beckJason McIntyre
also, this section is blacklist-only, so tweak .Sh
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-19spamd-setup needs -b for blacklist-only mode; from Nick TempletonJason McIntyre