summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Fix TLS on sparc64 for statically and dynamically linked binarieskmacy2006-10-081-2/+3
| | | | | Approved by: rwatson (mentor) Reviewed by: jmg and marcel
* Clean up white spaces and fix style(9).jkim2006-09-191-34/+32
|
* Fix the buggy rev. 1.117. dagmembers are only initialized for dlopen'edkib2006-09-191-5/+63
| | | | | | | | | | | | | dso that are actually loading. If dso a.so depends on b.so, then dlsym with handle from dlopen("b.so") will fail unconditionally. Correct implementation shall use the Obj_Entry.needed list to walk dependencies DAG. Test provided by: jkim Tested (prev. version) by: jkim, Nicolas Blais <nb_root at videotron ca>, h.blanke at chello nl Pointy hat to: kib Approved by: kan (mentor)
* Markup fixes.ru2006-09-172-3/+5
|
* When looking up the symbol by dlsym, look it not only in the objectkib2006-09-081-13/+10
| | | | | | | | | | given as dso handle, but also in the implicit dependencies of that dso. Also, const-ify the read-only parameter objlist of symlook_list. Reported by: "Simon 'corecode' Schubert" <corecode at fs ei tum de> Approved by: kan (mentor) X-MFC-After: 6.2
* Fix the variant I allocation for KSE: Allow a larger TCB and assumemarcel2006-09-011-51/+37
| | | | | that the documented TCB is at the tail of the extended TCB. In other words, the base of the TCB has a negative offset from the TLS.
* o Fix the static TLS relocation. We were subtracting the size ofmarcel2006-09-011-2/+2
| | | | | | the TCB. o Use NULL for null pointer argument. o Replace magic 8 with TLS_TCB_SIZE.
* Use NULL for null-pointer argument.marcel2006-09-011-1/+1
|
* Replace magic 16 with TLS_TCB_SIZE.marcel2006-08-312-2/+4
|
* Not needed any more, vendor sources have PAM support.obrien2006-08-311-153/+0
|
* Catch up with the import of ftpd.c rev 1.1.1.6.obrien2006-08-311-0/+11
|
* FreeBSD doesn't have the simple pidfile(3), so craft it using FreeBSD'sobrien2006-08-311-0/+30
| | | | primitives.
* Prevent dead code elimination for the TP assignmient by using inlinemarcel2006-08-301-2/+3
| | | | assembly.
* 1. Attempt to take one bullet out of the foot-shooting gun by silentlydougb2006-08-281-10/+10
| | | | | | | | | | | | | | ignoring errors when sourcing rc.conf* files. The most common error occurs when users put a command of some sort into those files. (ifconfig is a popular choice) 2. Make the file rotation logic simpler by starting one down from the "top" of the list, rather than at the top. 3. Try to make file rotation more secure by calling unlink(1) on all new file names before rotating an old file to the new name, rather than merely calling 'rm -f' on any files that exceed the number of files to save.
* Remove alpha left-overs.ru2006-08-225-959/+0
|
* - Improve and extend mark-up.yar2006-08-071-20/+32
| | | | | | | | | | - Don't use full path in .Nm (we just don't do that). - Correct some frivolous and poorly rendering language, such as using possessive case for .Nm or .Fl . - Use the same capitalization for "user ID" as in setuid(2) and getuid(2). - Bring SEE ALSO in accord with the text. MFC after: 5 days
* In symlook_obj(): fix _rtld_error output.delphij2006-08-041-2/+2
| | | | MFC After: 2 weeks
* inetd and telnetd are not included in the standard releaseyar2006-07-311-0/+3
| | | | | | | crunched floppies, but they can be included as options in src/release/picobsd (omitted by default though.) Therefore preserve the RELEASE_CRUNCH knob in their Makefiles, but tell its real purpose in a comment.
* Stop enforcing dependencies between MK_* options at Makefile level.yar2006-07-311-1/+2
| | | | All the dependencies are satisfied now in <bsd.own.mk>.
* telnetd(8) doesn't really go to the crunched floppies,yar2006-07-311-2/+0
| | | | | | so its Makefile needn't test for RELEASE_CRUNCH. Suggested by: ru
* The lukemftpd code depends on INET6. Therefore MK_INET6_SUPPORTyar2006-07-281-0/+5
| | | | should be respected.
* Respect MK_INET6_SUPPORT.yar2006-07-271-4/+8
| | | | Apply style.Makefile(5).
* Cook CFLAGS by the modern recipe:yar2006-07-271-1/+7
| | | | | - use WARNS; - respect MK_INET6_SUPPORT.
* Fix compilation of ftpcmd.y without -DINET6.yar2006-06-052-1/+8
| | | | | | | Respect MK_INET6_SUPPORT in Makefile. Requested by: Attila Nagy <bra at fsn dot hu> MFC after: 1 week
* *thwack*! all the world's not i386.des2006-03-291-0/+2
| | | | Pointy hat to: des
* Don't use dbg if it isn't defined (such as when this file is used bydes2006-03-281-0/+2
| | | | code outside of rtld-elf)
* Use C99's varadic macro syntax instead of gcc's.des2006-03-281-2/+2
|
* Er, forgot to clear tls space to zero for Variant II.davidxu2006-03-281-1/+1
|
* Allocate space for thread pointer, this allows thread library to accessdavidxu2006-03-284-4/+4
| | | | its pointer from begin, and simplifies _get_curthread() in libthr.
* - Document LD_32_* environment variablespav2006-03-271-2/+9
| | | | | | - Mention 32-bit files in FILES section MFC after: 1 week
* Reimplementation of world/kernel build options. For details, see:ru2006-03-175-9/+19
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* - Reduce needless DNS query by lookup only appropriate addressume2006-03-011-10/+20
| | | | | | | | | | family. [1] - Specify appropriate hints to getaddrinfo(3). [1] - Obtain address family from peername in inet mode. Submitted by: Rostislav Krasny <rosti.bsd__at__gmail.com> [1] Tested by: yar, Rostislav Krasny <rosti.bsd__at__gmail.com> MFC after: 1 week
* Fix a malloc overrun in 32-bit compat libmap lookup code.peter2006-01-311-6/+4
|
* Touch .Dd because the last commit was content-related.yar2006-01-291-1/+1
|
* s/DT_IA64_PLT_RESERVE/DT_IA_64_PLT_RESERVE/marcel2006-01-281-3/+3
|
* s/R_IA64_/R_IA_64_/marcel2006-01-281-6/+6
|
* In the daemon code, check for and report possible errorsyar2006-01-211-14/+22
| | | | | | | | | | from accept(2) and fork(2). Also close all unneeded fds in the child process, namely listening sockets for all address families and the fd initially obtained from accept(2). (The main ftpd code operates on stdin/stdout anyway as it has been designed for running from inetd.) MFC after: 5 days
* The daemon's child shouldn't go on with the for loopyar2006-01-211-6/+7
| | | | | | | over ctl_sock's -- it is solely the parent daemon's job. So just break out of the loop in the child. MFC after: 5 days
* Use pidfile(3) provided by libutil to manage the deamon's pid file.yar2006-01-212-30/+25
| | | | | | | By default, create a pid file at the standard location, /var/run/ftpd.pid, in accord with the expected behavior of a stock system daemon. MFC after: 5 days
* s/R_IA64_/R_IA_64_/g as per the ia64 psABI.marcel2006-01-171-11/+11
|
* In preparation for a new malloc implementation:jasone2006-01-121-0/+16
| | | | | | | | | | | | | * Add posix_memalign(). * Move calloc() from calloc.c to malloc.c. Add a calloc() implementation in rtld-elf in order to make the loader happy (even though calloc() isn't used in rtld-elf). * Add _malloc_prefork() and _malloc_postfork(), and use them instead of directly manipulating __malloc_lock. Approved by: phk, markm (mentor)
* Don't be sexist - fix a typo.ceri2005-12-301-1/+1
|
* Make tv_sec a time_t on all platforms but alpha. Brings us more in line withtrhodes2005-12-241-2/+3
| | | | | | | | | POSIX. This also makes the struct correct we ever implement an i386-time64 architecture. Not that we need too. Reviewed by: imp, brooks Approved by: njl (acpica), des (no objects, touches procfs) Tested with: make universe
* Make lookups for relocations from old unversioned binaries returnkan2005-12-241-17/+32
| | | | | | | | oldest versioned symbol available. Do not accept hidden symbols for all other versions. Use "<obj->path>: <error message>" for all error messages in new functions to make them more consistent.
* Remove debugging statement that slipped into lone of the previous commitskan2005-12-231-1/+0
| | | | unintentionally.
* Initialize object dagmembers list before checking version dependencies.kan2005-12-221-4/+2
|
* Implement ELF symbol versioning using GNU semantics. This code aimskan2005-12-189-133/+548
| | | | | | | | | to be compatible with symbol versioning support as implemented by GNU libc and documented by http://people.redhat.com/~drepper/symbol-versioning and LSB 3.0. Implement dlvsym() function to allow lookups for a specific version of a given symbol.
* Make our ELF64 type definitions match standards. In particular thismarcel2005-12-183-11/+11
| | | | | | | | | | | | | means: o Remove Elf64_Quarter, o Redefine Elf64_Half to be 16-bit, o Redefine Elf64_Word to be 32-bit, o Add Elf64_Xword and Elf64_Sxword for 64-bit entities, o Use Elf_Size in MI code to abstract the difference between Elf32_Word and Elf64_Word. o Add Elf_Ssize as the signed counterpart of Elf_Size. MFC after: 2 weeks
* Explicitly cast ELF_R_TYPE() to the right type.marcel2005-12-183-6/+6
|
* Fix a bug in dlinfo(RTLD_DI_SERINFOSIZE) requests. For each search pathjhb2005-11-111-1/+1
| | | | | | | | | | | | we included the length of the path in the returned size but not the length of the associated Dl_serpath structure. Without this fix, programs attempting to allocate a structure to hold the search path information would allocate too small of a buffer and rtld would overrun the buffer while filling it via a subsequent RTLD_DI_SERINFO request. Submitted by: "William K. Josephson" wkj at morphisms dot net Reviewed by: jdp MFC after: 2 weeks
OpenPOWER on IntegriCloud