summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2001-06-19Make gcc shut up about unused rcsids.Todd C. Miller
2001-06-13more va_start/end fixes, ok deraadt@Markus Friedl
2001-06-13print the nameTheo de Raadt
2001-06-13Build ld.so on alpha.Artur Grabowski
2001-06-13Add support for lazy binding.Artur Grabowski
For now we only do it for the main executable, some code cleanup is necessary to support it for libraries. This fixes the problem I had in cc1plus and I'm able to finish a make build with shared libraries enabled.
2001-06-13Lazy binding entry point. From NetBSD with some help from FreeBSD.Artur Grabowski
2001-06-13Don't do plt relocations here, move that to md code that might chooseArtur Grabowski
to do lazy binding.
2001-06-11strncpy vs strlcpy, some strlen missuse.Michael Shalayeff
some other related minor cleanups, and spaces. millert@ ok
2001-06-08Cleanup.Artur Grabowski
exit when the bootstrap relocation fails.
2001-06-08No more need to pull in strlen from libc.Artur Grabowski
2001-06-08Be consistent. If we have inveted our of strlen, use it everywhere.Artur Grabowski
2001-06-08styleArtur Grabowski
2001-06-08KNFTheo de Raadt
2001-06-07It started with trying to write code to avoid running static binaries,Artur Grabowski
it ended with a complete rewrite. XXX - Doesn't handle '-x' yet, but the old didn't do that either (and didn't even match the man page).
2001-06-06more cleaningArtur Grabowski
2001-06-06cleaningArtur Grabowski
2001-06-06Replace all 'if (_dl_debug) _dl_printf(...)' with a macro.Artur Grabowski
2001-06-06No need to extern _dl_debug here.Artur Grabowski
2001-06-06more cleanupArtur Grabowski
2001-06-06Cleanup.Artur Grabowski
- remove printfs that are only useful for the person who put them there. - Style. - dead code. Needs much more work.
2001-06-05gcc generates a lot of unaligned RELATIVE relocations for c++ exception ↵Artur Grabowski
handlers. Workaround that.
2001-06-01whoohoo! New license for tcpwrappers, worked out over the phone with Wietse.x=Theo de Raadt
We agree that source code that is free for anyone to use for any purpose is (1) cooler and (2) just a heck of a lot less of a pain to deal with. See it for yourself at ftp://ftp.porcupine.org/pub/security/tcp_wrappers_license if you want.
2001-06-01 - Allocate space for the finishing NUL in the name of ld.so.Artur Grabowski
- some comments.
2001-05-31Apparently GLOB_DAT needs r_addend.Artur Grabowski
"Hello, world!\n" now works with libc.so
2001-05-31Some cleanups.Artur Grabowski
2001-05-31unsigned long, not u_int32_tArtur Grabowski
2001-05-31If we can't find atexit (because we linked against libc.a),Artur Grabowski
print a message instead of dereferencing a NULL pointer.
2001-05-31alpha needs JMPREL relocations.Artur Grabowski
various cleanups.
2001-05-31Remove write protection from some memory segments whenArtur Grabowski
doing rel and rela relocations. XXX - we have to find out when and why we actually need it.
2001-05-31random indentation fixes (needs much more work).Artur Grabowski
2001-05-31Correctly implement most linking for alpha.Artur Grabowski
Remove a lot of code copied from powerpc.
2001-05-31When opening the hints file, check for error return < 0, not -1.Artur Grabowski
_dl_open is not necessarily like the regular open(2). XXX - maybe we should check with _dl_check_error?
2001-05-30do not access the database after tokendb_close() is called; ok millert@Markus Friedl
2001-05-29Call auth_checknologin() and auth_approval() as appropriate for BSDTodd C. Miller
authentication.
2001-05-29use BSD authenticationTodd C. Miller
2001-05-29build login scripts for BSD authenticationTodd C. Miller
2001-05-29Check for error on open.Artur Grabowski
ENOENT happens to be the same as stderr. :)
2001-05-28Commonize csu code for elf systems, powerpc now no longer has it's ownDale Rahn
versions of these files. Fixed a bug in ld.so in this, instead of scheduling the fini of each of the shared libraries with atexit. schedule a function of ld.so itself and it will walk all of the open libraries when the program exits. otherwise a shared library could be dl_open()ed and then dl_close()d and then it would not be mapped for the atexit processing. TODO: What if atexit is not found (process did not link against libc?) Do shared libraries that are dl_closed have their global destructors run?
2001-05-25KerberosV support from Heimdal.Hans Insulander
2001-05-23Do not enable debugging, such as PRINTF_DEBUG for ld.so, it becomesDale Rahn
too verbose for normal usage.
2001-05-16proper typing of two variablesTheo de Raadt
2001-05-15Niklas, there is no excuse for breaking this codeTheo de Raadt
2001-05-14Commit initial alpha bits, to facilitate in-tree dev.Niklas Hallqvist
This code is not yet working.
2001-05-12MAP_COPY -> MAP_PRIVATEArtur Grabowski
2001-05-12strlcpyTheo de Raadt
2001-05-11-1 -> MAP_FAILED.Artur Grabowski
2001-05-11MAP_COPY -> MAP_PRIVATEArtur Grabowski
2001-05-11-1 -> MAP_FAILEDArtur Grabowski
2001-05-11mmap returns MAP_FAILED on error, not 0.Artur Grabowski
2001-05-11mmap returns MAP_FAILED when it fails, not -1Artur Grabowski