summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
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-11-07use -lrpcsvcTheo de Raadt
2001-11-06new vm includes.Artur Grabowski
2001-11-06Since the header of the file map is Start End,Dale Rahn
print the end address, not the size.
2001-11-05more signal marks, and some syslog_r in handlersTheo de Raadt
2001-11-02_exit() in signal handlerTheo de Raadt
2001-10-30rstat_timeval is not the same as timevalTheo de Raadt
2001-10-24getopt(3) returns -1 when out of args, not EOF.Mike Pechkin
millert@ ok
2001-10-10 fix multi-line contunuations - ok deraadt@Bob Beck
2001-10-10ftp-chroot variable is documented in this man page, not login.conf(5)Todd C. Miller
2001-10-02as is aleady closed and freed by auth_userresponse, ok millert@Peter Stromberg
2001-10-02o Remove #if{,n}def BSD stuffTodd C. Miller
o Replace nlist and kvm_* with sysctl() and getifaddrs(3) Fixes an issue on alpha where we would run off the end of the interface list.
2001-09-29Change method of determining object type, does better bounds checking,Dale Rahn
and fixes a bug on sparc64 "ELF" for type. ok art@.
2001-09-27Local symbols don't need to have a name. Don't barf on them.Artur Grabowski
They are often generated by gcc c++ exceptions.
2001-09-26'loff' shouldn't be const (at least not on sparc64)Jason Wright
2001-09-26Build ld.so on sparc64.Artur Grabowski
2001-09-26Some juggling to simplify the code and some missing code.Artur Grabowski
2001-09-26Lazy binding. Parts from NetBSD.Artur Grabowski
2001-09-26Implement COPY relocations.Artur Grabowski
2001-09-26Code for PLT relocations. From NetBSD.Artur Grabowski
2001-09-26Adapt to Elf_Word change.Artur Grabowski
XXX - Dyn.u should just go away.
2001-09-25Slight cleanup on ld.so tests, link with rpath built in, so that runningDale Rahn
test does not require LD_LIBRARY_PATH. remove an unnecessary header file from dltest.c
2001-09-25Duh! if we go through the hassle of looking up a symbol it mightArtur Grabowski
be a good idea to actually use the value of the symbol.
2001-09-25Borrow a big chunk of code from the NetBSD ld.elf_so to do all theArtur Grabowski
basic relocations with a table.
2001-09-25Cleaner hash bucket init and some KNF.Artur Grabowski
2001-09-25Zero out dl_data before populating it.Artur Grabowski
Cleaner populating of dl_data.
2001-09-25Do mmap the right way.Artur Grabowski
2001-09-25Another attempt at getting this right. This time, play safe.Artur Grabowski
2001-09-24Some cleanup.Artur Grabowski
2001-09-24Some voodoo for bootstrapping sparc64.Artur Grabowski
2001-09-24Get the bootstrapping right.Artur Grabowski
2001-09-24Proper RELOC_RELA for bootstrap.Artur Grabowski
2001-09-24sparc64 needs slightly different flags.Artur Grabowski
2001-09-24Adapt to _dl_boot_bind change.Artur Grabowski
2001-09-24API change between asm code and _dl_boot_bind(). Simply andDale Rahn
reduce number of parameters. Alpha changes coming shortly.
2001-09-24dl_data is at the start of the stack, not after env. load loff.Artur Grabowski
Now _dl_boot starts correctly.
2001-09-23pass appropriate compilation flags for sparc64. needs to be compiled PIC.Dale Rahn
both C and asm files.
2001-09-23add munmap syscallDale Rahn
change _rtld references to _dl to match C code. change relocation types in archdep.h to be sparc64 relocs. rtld_machine.c copied from alpha, with some modes to compile for sparc64 This is in-tree development.
2001-09-22Upon futher contemplation, the notion of unmaphints is just wrong.Dale Rahn
First the maphints code is not cleaning up after itself, by leaving a file descriptor open and trying to clean up after the dynamic linker is done loading by removing data needed during dlopen() is nonsense. the _dl_unmaphints() function and it's references have been removed. _dl_maphints() now cleans up it's file descriptor before returning. static data used later during dlopen() is left intact.
2001-09-22Do not check for ':' twice, otherwise the rpath loses the first characterDale Rahn
after the : in the list of paths.
2001-09-22The unmaphints routine should not destroy the hint mapping.Dale Rahn
Otherwise shared modules which depend on libraries cannot find them because the list of trusted directories has been lost. However we need to be careful that the unmapping of the hints frees the file descriptor, but will not free it multiple times.
2001-09-21 Drop privs to named group, not group with same name as user.Bob Beck
noticed by itojun, thanks. fries, you need to catch this for what you're using with faithd
2001-09-21partially done... committing so other folks don't have to repeat some of the ↵Jason Wright
work
2001-09-21Stolen from alpha.Jason Wright
2001-09-21first whack at ldasm.S... this will not work yet (partially based on NetBSD,Jason Wright
partially based on alpha)
2001-09-19some signal race whackingTheo de Raadt
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-09-15Some cleanup in loader.c, initialize the symbol pointer with NULL,Dale Rahn
add a missing initialization of the sym pointer. Add some functionality which allows a program to open itself dlopen(NULL), so that it can then look up symbols in the executable itself. Note that the program can only access exported variables, either by exporting all variables with the ld option -E or externally referrenced. Fix bug in dlsym() where it would return failure when looking up symbols. It was testing the offset of the found symbol, not if the symbol was found.
2001-09-15IPv6 support from Ryan McBride (mcbride@countersiege.com)Mike Frantzen
2001-09-11krb5 before krb4 to please the linkerJason Wright