aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* *thwack*! all the world's not i386.Dag-Erling Smørgrav2006-03-291-0/+2
| | | | | | | Pointy hat to: des Notes: svn path=/head/; revision=157261
* Don't use dbg if it isn't defined (such as when this file is used byDag-Erling Smørgrav2006-03-281-0/+2
| | | | | | | code outside of rtld-elf) Notes: svn path=/head/; revision=157220
* Use C99's varadic macro syntax instead of gcc's.Dag-Erling Smørgrav2006-03-281-2/+2
| | | | Notes: svn path=/head/; revision=157219
* Er, forgot to clear tls space to zero for Variant II.David Xu2006-03-281-1/+1
| | | | Notes: svn path=/head/; revision=157199
* Allocate space for thread pointer, this allows thread library to accessDavid Xu2006-03-284-4/+4
| | | | | | | its pointer from begin, and simplifies _get_curthread() in libthr. Notes: svn path=/head/; revision=157198
* - Document LD_32_* environment variablesPav Lucistnik2006-03-271-2/+9
| | | | | | | | | - Mention 32-bit files in FILES section MFC after: 1 week Notes: svn path=/head/; revision=157169
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-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) Notes: svn path=/head/; revision=156813
* - Reduce needless DNS query by lookup only appropriate addressHajimu UMEMOTO2006-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 Notes: svn path=/head/; revision=156156
* Fix a malloc overrun in 32-bit compat libmap lookup code.Peter Wemm2006-01-311-6/+4
| | | | Notes: svn path=/head/; revision=155084
* Touch .Dd because the last commit was content-related.Yaroslav Tykhiy2006-01-291-1/+1
| | | | Notes: svn path=/head/; revision=154997
* s/DT_IA64_PLT_RESERVE/DT_IA_64_PLT_RESERVE/Marcel Moolenaar2006-01-281-3/+3
| | | | Notes: svn path=/head/; revision=154958
* s/R_IA64_/R_IA_64_/Marcel Moolenaar2006-01-281-6/+6
| | | | Notes: svn path=/head/; revision=154957
* In the daemon code, check for and report possible errorsYaroslav Tykhiy2006-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 Notes: svn path=/head/; revision=154634
* The daemon's child shouldn't go on with the for loopYaroslav Tykhiy2006-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 Notes: svn path=/head/; revision=154631
* Use pidfile(3) provided by libutil to manage the deamon's pid file.Yaroslav Tykhiy2006-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 Notes: svn path=/head/; revision=154630
* s/R_IA64_/R_IA_64_/g as per the ia64 psABI.Marcel Moolenaar2006-01-171-11/+11
| | | | Notes: svn path=/head/; revision=154491
* In preparation for a new malloc implementation:Jason Evans2006-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) Notes: svn path=/head/; revision=154248
* Don't be sexist - fix a typo.Ceri Davies2005-12-301-1/+1
| | | | Notes: svn path=/head/; revision=153893
* Make tv_sec a time_t on all platforms but alpha. Brings us more in line withTom Rhodes2005-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 Notes: svn path=/head/; revision=153706
* Make lookups for relocations from old unversioned binaries returnAlexander Kabaev2005-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. Notes: svn path=/head/; revision=153703
* Remove debugging statement that slipped into lone of the previous commitsAlexander Kabaev2005-12-231-1/+0
| | | | | | | unintentionally. Notes: svn path=/head/; revision=153686
* Initialize object dagmembers list before checking version dependencies.Alexander Kabaev2005-12-221-4/+2
| | | | Notes: svn path=/head/; revision=153648
* Implement ELF symbol versioning using GNU semantics. This code aimsAlexander Kabaev2005-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. Notes: svn path=/head/; revision=153515
* Make our ELF64 type definitions match standards. In particular thisMarcel Moolenaar2005-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 Notes: svn path=/head/; revision=153504
* Explicitly cast ELF_R_TYPE() to the right type.Marcel Moolenaar2005-12-183-6/+6
| | | | Notes: svn path=/head/; revision=153503
* Fix a bug in dlinfo(RTLD_DI_SERINFOSIZE) requests. For each search pathJohn Baldwin2005-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 Notes: svn path=/head/; revision=152320
* Style: move .PATH to where it belongs.Ruslan Ermilov2005-10-141-2/+2
| | | | Notes: svn path=/head/; revision=151326
* Clean out the leftovers from the i386_set_gsbase() TLS conversion.Peter Wemm2005-06-291-17/+1
| | | | | | | | | | | Like on libthr, there is an i386_set_gsbase() stub implementation here to avoid libc.so.5 issues. This should likely be a weak symbol and I expect this will be fixed soon. Approved by: re Notes: svn path=/head/; revision=147673
* Removed trailing whitespace.Ruslan Ermilov2005-06-141-2/+2
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147365
* Bump document date on behalf of a recent change.Ruslan Ermilov2005-06-141-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147364
* Remove rexecd(8), a server that implements a particularly insecureJacques Vidrine2005-06-104-509/+0
| | | | | | | | | | method of executing commands remotely. There are no rexec clients in the FreeBSD tree, and the client function rexec(3) is present only in libcompat. It has been documented as "obsolete" since 4.3BSD, and its use has been discouraged in the man page for over 10 years. Notes: svn path=/head/; revision=147270
* Remove kludges intended to support src trees with partial obj trees.Dag-Erling Smørgrav2005-06-103-16/+4
| | | | | | | Discussed with: ru Notes: svn path=/head/; revision=147225
* MFNetBSD: src/libexec/ld.elf_so/arch/sparc64/mdreloc.c 1.26 (partial)Marius Strobl2005-06-041-1/+1
| | | | | | | | | | Fix an obvious bug in the 64-bit PLT fixup: the SLLX was by 12 bits, when it should be 32. MFC after: 1 month Notes: svn path=/head/; revision=146968
* Fix the load64 and store64 macros, created to handle 8-byte unalignedMarcel Moolenaar2005-06-021-6/+6
| | | | | | | | | | | | | loads and stores (resp.) The ldq_u and stq_u instruction mask off the lower 3 bits of the final address before loading from or storing to the address, so as to avoid unaligned loads and stores. They do not themselves allow loads from or stores to unaligned addresses. Replace the macro definitions by a packed struct dereference. Submitted by: Richard Henderson (rth at twiddle dot net) Notes: svn path=/head/; revision=146886
* o Missed colon in getopt(3) argument makes tftpd(8) crash. Fix that.Maxim Konovalov2005-05-311-1/+1
| | | | | | | | | PR: misc/81732 Submitted by: Denis Grudkin MFC after: 2 weeks Notes: svn path=/head/; revision=146827
* Fixup of last commit: Use the name X instead of XFree86 for the server binary,Eivind Eklund2005-05-271-1/+1
| | | | | | | | | thus being compatible with both XFree86 and X.org. Noticed by: danfe Notes: svn path=/head/; revision=146672
* Make the example for using xterm as a login manager to match the X of theEivind Eklund2005-05-271-1/+1
| | | | | | | noughties, not eighties. Notes: svn path=/head/; revision=146666
* Align the stack to a 16 byte boundary before calling _rtld so that we canDoug Rabson2005-05-191-3/+6
| | | | | | | | | safely initialise shared libraries that use SSE in their init sections. MFC After: 1 week Notes: svn path=/head/; revision=146370
* Switch to WARNS=2 instead of tinkering directly with CFLAGS (level 2 wasGiorgos Keramidas2005-05-181-1/+1
| | | | | | | | | picked because higher warn levels are broken for ftp-proxy at the moment). Approved by: mlaier Notes: svn path=/head/; revision=146341
* Enable lukemftpd for 6.0-RELEASE.David E. O'Brien2005-05-161-5/+1
| | | | Notes: svn path=/head/; revision=146286
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesHajimu UMEMOTO2005-05-132-9/+3
| | | | | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now. Notes: svn path=/head/; revision=146187
* Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).Juli Mallett2005-05-111-1/+1
| | | | Notes: svn path=/head/; revision=146075
* Spell SHUT_RDWR as SHUT_RDWR not 1+1 as the how argument to shutdown(2).Juli Mallett2005-05-111-2/+2
| | | | Notes: svn path=/head/; revision=146074
* Prevent usage of nested externs.Xin LI2005-05-061-1/+2
| | | | Notes: svn path=/head/; revision=145967
* Fix compilation problem.David Xu2005-04-271-1/+1
| | | | Notes: svn path=/head/; revision=145593
* Stop calling _amd64_set_gsbase() for COMPAT_32BIT. The amd64 kernelPeter Wemm2005-04-261-9/+2
| | | | | | | implements i386_set_gsbase(), so there is no need for the variation. Notes: svn path=/head/; revision=145568
* s/int/size_t/ as appropriate.David Schultz2005-04-171-4/+4
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=145177
* Attempt to use i386_set_gsbase(), and gracefully fall back to LDT methodsPeter Wemm2005-04-141-13/+16
| | | | | | | if the direct access methods are not implemented. Notes: svn path=/head/; revision=145038
* The script mistakenly ignores the entropy_save_sz variable fromDoug Barton2005-04-111-2/+2
| | | | | | | | | | | | | | | | | | rc.conf[.local]. Fix this, and leave the default as 2048. Update the copyright year to include the present. Update the assignment of the copyright to be me personally, instead of "The FreeBSD Project" which is not a legal entity, and therefore not a proper assignee. My intention remains the same however, that this code continue to be BSD licensed, and freely available to anyone that wants it under those terms. PR: conf/75722 Submitted by: Nicolas Rachinsky <list@rachinsky.de> Notes: svn path=/head/; revision=144889
* Revert parts of previous commits and use a temporary variable to avoidDag-Erling Smørgrav2005-04-081-37/+8
| | | | | | | an invalid type pun. Notes: svn path=/head/; revision=144795