aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Prevent cross-site forgery attacks on ftpd(8) due to splittingColin Percival2008-12-233-8/+29
| | | | | | | | | | | | | | | | long commands into multiple requests. [08:12] Avoid calling uninitialized function pointers in protocol switch code. [08:13] Merry Christmas everybody... Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:12.ftpd, FreeBSD-SA-08:13.protosw Notes: svn path=/releng/6.4/; revision=186405
* MFC: Use sysctl to fetch stats from the kernel instead of reading variablesJohn Baldwin2008-06-272-48/+19
| | | | | | | directly via libkvm. Notes: svn path=/stable/6/; revision=180049
* MFC: libexec/rtld-elf/sparc64/reloc.c 1.16,Marius Strobl2007-12-041-9/+14
| | | | | | | | | | | | | | | | sys/sparc64/sparc64/elf_machdep.c 1.24 - Fix the handling of R_SPARC_OLO10, which is a bit of a special case in the way we implement handling of relocations. While at it replace some more ELF_R_TYPE which should have been ELF64_R_TYPE_ID but didn't cause problems so far. - Sync a sanity check between kernel and rtld(1) and change it to be maintenance free regarding the type used for the lookup table. - Sprinkle const on lookup tables. - Use __FBSDID. Notes: svn path=/stable/6/; revision=174264
* MFC rtld.c revision 1.124Christian S.J. Peron2007-07-141-10/+20
| | | | | | | | | | Unset potentially harmful environment variables. Discussed on: seacteam PR: kern/109836 Notes: svn path=/stable/6/; revision=171446
* MFC revs. 1.19-1.22: Assorted small fixes.Yaroslav Tykhiy2007-07-121-4/+4
| | | | Notes: svn path=/stable/6/; revision=171398
* MFC 1.42:Pav Lucistnik2007-05-191-4/+10
| | | | | | | | | | | Markup fixes. MFC 1.44: Expand documentation for LD_TRACE_LOADED_OBJECTS_FMT? variables MFC 1.45: Remove %m formatter, it's ifdef 0'ed in the code from the very beginning Notes: svn path=/stable/6/; revision=169749
* MFC Revision 1.123:David Xu2007-05-151-0/+1
| | | | | | | > Fix a TLS memory leak. Notes: svn path=/stable/6/; revision=169572
* MFC rev. 1.74: Remove references to S/Key and list OPIE.Yaroslav Tykhiy2007-05-011-8/+7
| | | | Notes: svn path=/stable/6/; revision=169165
* MFC:Yaroslav Tykhiy2007-05-013-4/+45
| | | | | | | | | | | | | ftpd.c 1.212 ftpcmd.y 1.66 ftpd.8 1.72-1.73 Add support for RFC 2389 (FEAT) and RFC 2640 (UTF8) to ftpd(8). PR: bin/111714 Notes: svn path=/stable/6/; revision=169164
* MFC: Document LD_UTRACE.John Baldwin2007-01-261-2/+7
| | | | Notes: svn path=/stable/6/; revision=166260
* MFC: Add various utrace's to the ELF runtime linker/loader.John Baldwin2007-01-231-0/+67
| | | | Notes: svn path=/stable/6/; revision=166204
* MFC rev. 1.117, 1.118 and 1.119.Konstantin Belousov2007-01-161-23/+74
| | | | | | | | | | | | - When looking up the symbol by dlsym, look it not only in the object given as dso handle, but also in the implicit dependencies of that dso. - Const-ify the read-only parameter objlist of symlook_list. - Clean up white spaces and fix style(9). Patch backported by: jkim Notes: svn path=/stable/6/; revision=166038
* Fix ARM build:David E. O'Brien2006-11-171-2/+3
| | | | | | | | | | | 1. NO_FORTH needs to be defined 2. bootpd.c rev 1.24: make tv_sec a time_t 3. authpf.c rev 1.7: handle timeval.tv_sec change from long to time_t Approved by: re(BMAH) Notes: svn path=/stable/6/; revision=164350
* MFC: build bits matching LukeM's ftpd 31-Aug-2006 update.David E. O'Brien2006-09-073-153/+16
| | | | Notes: svn path=/stable/6/; revision=162125
* Define TLS_TCB_SIZE, needed by allocate_tls() and free_tls().Marcel Moolenaar2006-09-031-1/+3
| | | | Notes: svn path=/stable/6/; revision=161935
* MFC TLS variant I fixes.Marcel Moolenaar2006-09-021-50/+36
| | | | Notes: svn path=/stable/6/; revision=161919
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-09-021-0/+30
| | | | Notes: svn path=/stable/6/; revision=161867
* MFC TLS fixes.Marcel Moolenaar2006-09-023-5/+8
| | | | Notes: svn path=/stable/6/; revision=161852
* MFC revision 1.4 which silently ignores errors while sourcing rc.conf*Doug Barton2006-09-011-10/+10
| | | | | | | | files, simplifies the file rotation logic, and makes it slightly more secure. Notes: svn path=/stable/6/; revision=161851
* MFC r1.19:Yaroslav Tykhiy2006-08-121-20/+32
| | | | | | | | | | | | - Improve and extend mark-up. - 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. Notes: svn path=/stable/6/; revision=161250
* MFC: Make it actually possible to disable INET6 support in ftpd(8).Yaroslav Tykhiy2006-06-142-1/+8
| | | | Notes: svn path=/stable/6/; revision=159600
* MFC 1.41:Pav Lucistnik2006-05-141-2/+9
| | | | | | | | - Document LD_32_* environment variables - Mention 32-bit files in FILES section Notes: svn path=/stable/6/; revision=158571
* MFC 1.210:Hajimu UMEMOTO2006-03-091-10/+20
| | | | | | | | | | | | - Reduce needless DNS query by lookup only appropriate address family. - Specify appropriate hints to getaddrinfo(3). - Obtain address family from peername in inetd mode. Approved by: re (mux) Notes: svn path=/stable/6/; revision=156477
* MFC recent ftpd fixes related to handling the pidfile and unneededYaroslav Tykhiy2006-01-292-39/+43
| | | | | | | | | | open sockets when in stand-alone daemon mode: ftpd.c 1.207-1.209 ftpd.8 1.70-1.71 Notes: svn path=/stable/6/; revision=154999
* MFC ia64 psABI conformance changes:Marcel Moolenaar2006-01-282-20/+20
| | | | | | | | | | | | | | | | | s/R_IA64_/R_IA_64_/ s/DT_IA64_/DT_IA_64_/ libexec/rtld-elf/ia64/reloc.c:1.17,1.18 libexec/rtld-elf/ia64/rtld_start.S:1.4 sys/boot/ia64/efi/start.S:1.9,1.10 sys/ia64/ia64/elf_machdep.c:1.23 sys/ia64/ia64/genassym.c:1.42 sys/ia64/ia64/locore.S:1.39 sys/ia64/include/elf.h:1.12,1.13,1.14 usr.bin/elfdump/elfdump.c:1.14 Notes: svn path=/stable/6/; revision=154959
* MFC standardization of the ELF types and update of the ELF constants:Marcel Moolenaar2005-12-306-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/libc/gen/nlist.c:1.19 libexec/rtld-elf/rtld.c:1.108 libexec/rtld-elf/rtld.h:1.36 libexec/rtld-elf/alpha/reloc.c:1.21 libexec/rtld-elf/amd64/reloc.c:1.16 libexec/rtld-elf/ia64/reloc.c:1.16 libexec/rtld-elf/sparc64/reloc.c:1.11 share/man/man5/elf.5:1.32-1.33 sys/alpha/alpha/elf_machdep.c:1.20 sys/amd64/amd64/elf_machdep.c:1.24 sys/boot/common/bootstrap.h:1.42 sys/boot/common/load_elf.c:1.33 sys/boot/common/load_elf_obj.c:1.2 sys/boot/common/reloc_elf.c:1.2 sys/ia64/ia64/elf_machdep.c:1.21 sys/kern/link_elf.c:1.87 sys/kern/link_elf_obj.c:1.90 sys/sparc64/sparc64/elf_machdep.c:1.20 sys/sys/elf32.h:1.9-1.10 sys/sys/elf64.h:1.11-1.13 sys/sys/elf_common.h:1.16 sys/sys/elf_generic.h:1.7 sys/sys/imgact_elf.h:1.28 sys/sys/linker.h:1.40 usr.bin/elf2aout/elf2aout.c:1.10 usr.bin/elfdump/elfdump.c:1.13 usr.sbin/crunch/crunchide/exec_elf32.c:1.15 usr.sbin/kldxref/ef.c:1.9 usr.sbin/kldxref/ef.h:1.6 usr.sbin/kldxref/ef_amd64.c:1.3 usr.sbin/kldxref/ef_i386.c:1.3 usr.sbin/kldxref/ef_obj.c:1.4 usr.sbin/kldxref/ef_powerpc.c:1.3 usr.sbin/kldxref/ef_sparc64.c:1.4-1.5 Notes: svn path=/stable/6/; revision=153911
* MFC: Include the size of the DL_serpath structures in the total size usedJohn Baldwin2005-11-281-1/+1
| | | | | | | in the RTLD_DI_SERINFOSIZE and RTLD_DI_SERINFO requests. Notes: svn path=/stable/6/; revision=152900
* MFC: 1.5: Style.Ruslan Ermilov2005-11-161-2/+2
| | | | Notes: svn path=/stable/6/; revision=152482
* 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