summaryrefslogtreecommitdiff
path: root/libexec/ld.so/ldconfig
AgeCommit message (Collapse)Author
2009-05-30Airplane work, undefined weak variables not getting resolved is not an error.Dale Rahn
Delete an unused manpage, remove some unused variables.
2008-06-08When prebind_newfile() is called the input file is replaced with the newDale Rahn
file, thus leaking the file descriptor, close the input file when it done.
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@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2006-11-13Let this build on landisk.Dale Rahn
2006-08-12spelling: elminateKevin Steves
2006-07-28Only stop processing prebind deletion if an actual error occurs.Dale Rahn
2006-07-08jmc and I both pronounce ldconfig as ell-dee-config, so it should beMichael Knudsen
`an ldconfig utility', not `a'.
2006-06-26build cleanly with -Wall -WerrorDale Rahn
2006-06-19sort usage();Jason McIntyre
2006-06-19tweak the -S stuff;Jason McIntyre
2006-06-15When writing a TXTBUSY file, make certain to preserve all file metadata,Dale Rahn
also add -S flag, like install's -S flag to safely perform operations. Getting it in so it gets tested.
2006-05-18spacingTheo de Raadt
2006-05-17prep prebind_newfile() for reuse by dale in prebind; ok drahnTheo de Raadt
2006-05-14use __mips64__Theo de Raadt
2006-05-13some knf and delinting; ok drahnTheo de Raadt
2006-05-13spacingTheo de Raadt
2006-05-12do not call abort()Theo de Raadt
2006-05-12document new -P optionTheo de Raadt
2006-05-12move the prebind code into ldconfig as the -P option.Theo de Raadt
next we will want to enhance the verbose mode, fix error handling, and change the prebind delete code to use the same directory handling code ok drahn
2006-05-12one less Ar;Jason McIntyre
2006-05-11use CFLAGS with -I to reach for prebind.hTheo de Raadt
2006-05-11move prebind_strip(8) into ldconfig as the -D option; ok drahnTheo de Raadt
2006-04-11Plug memory leaks.Ray Lai
Spotted by NetBSD Coverity CID 1603, improvements by jaredy@ and otto@. OK otto@ and millert@
2005-12-31sort options and sync usage()Jason McIntyre
2004-11-22.{N,O}x fixes;Jason McIntyre
2004-11-10use ${STATIC} rather than -static. ok miodDale Rahn
2004-08-14When reading the ld.so hints file, map the entire file in a single mmapDale Rahn
instead of assuming the region after the first mmap is available. Same change was made to ELF ld.so previously. ok deraadt miod pvalchev
2003-11-21oops, it wasn't that diff that tedu@ ok'd - revert for nowDamien Miller
2003-11-21add output file and path stripping options useful for pre-generatingDamien Miller
ld.so.hints for dynamic ramdisks. idea from markus@ manpage nits jmc@ ok tedu@
2003-11-20remove -Werror from userland builds, to give us a chance toAnil Madhavapeddy
use more verbose warning options if desired. ok millert@, henning@, david@
2003-10-20document shlib_dirs; from Han Boetes (different diff used, though);Jason McIntyre
ok drahn@
2003-07-06various proto, ansi, and knf repair. tested on all architectures thatTheo de Raadt
use it. (build may require make cleandir because of .depend balony)
2003-04-22sync up ELF and a.out versions of ldconfig(8)David Krause
ok drahn@ mdoc ok jmc@
2002-08-28o) start new sentence on a new line;Mike Pechkin
o) don't use .Nm w/o argument in .SYNOPSIS; I waste time, when fixing already cleaned pages. :( one man ok@
2002-07-30knf & ansiTheo de Raadt
2002-05-24Replace strcpy() with strlcpy().Dale Rahn
2002-05-24more KNFTheo de Raadt
2002-05-24various KNFTheo de Raadt
2002-05-24replace some wrapper functions w/ no license w/ some public domain ones.Eric Jackson
deraadt@ ok
2002-05-22a bunch more strcpy -> strlcpy and sprintf -> snprintfTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-07kill more registers;Mike Pechkin
millert@ ok
2001-11-13o) fix bogus .Xr usage;Mike Pechkin
o) start new sentence on a new line; o) don't use .Xr instead of .Pa tag; o) minimal -mdoc design fixes; millert@ ok;
2001-10-24getopt(3) returns -1 when out of args, not EOF.Mike Pechkin
millert@ ok
2001-08-20Powered by @mantoya.Mike Pechkin
o) fix bogus .Xr usage; millert@ ok.
2001-08-17o) close .Bl;Mike Pechkin
o) NetBSD -> .Bx; o) we should sort options in .DESCRIPTION; some spotted from form@openbsd.ru; millert@ ok.
2001-05-14Commit initial alpha bits, to facilitate in-tree dev.Niklas Hallqvist
This code is not yet working.
2001-05-11mmap returns MAP_FAILED when it fails, not -1Artur Grabowski