aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* MFC Revision 1.123:David Xu2007-05-151-0/+1
| | | | | | | > Fix a TLS memory leak. Notes: svn path=/stable/5/; revision=169572
* 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/5/; revision=156477
* MF6: 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/5/; revision=152901
* MFC rev. 1.37: missed colon in getopt(3) argument makes tftpd(8) crash.Maxim Konovalov2005-06-131-1/+1
| | | | Notes: svn path=/stable/5/; revision=147335
* MFC rev. 1.20: Fix the load64 and store64 macros.Marcel Moolenaar2005-06-041-6/+6
| | | | Notes: svn path=/stable/5/; revision=146952
* MFC: NI_WITHSCOPEID cleanupHajimu UMEMOTO2005-05-282-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | contrib/tcp_wrappers/hosts_access.c: 1.5 contrib/tcp_wrappers/socket.c: 1.8 contrib/telnet/telnetd/telnetd.c: 1.28 lib/libc/net/rcmd.c: 1.41 lib/libc/net/res_send.c: 1.50 lib/libpam/modules/pam_unix/pam_unix.c: 1.50 lib/libutil/logwtmp.c: 1.20 lib/libutil/realhostname.c: 1.18 libexec/rlogind/rlogind.c: 1.44 libexec/tftpd/tftpd.c: 1.36 release/picobsd/tinyware/login/pico-login.c: 1.6 sbin/ifconfig/af_inet6.c: 1.2 sbin/route/route.c: 1.78 usr.bin/netstat/route.c: 1.76 usr.sbin/inetd/inetd.c: 1.129 usr.sbin/lpr/common_source/net.c: 1.9 usr.sbin/lpr/lpd/lpd.c: 1.41 usr.sbin/mountd/mountd.c: 1.81 usr.sbin/ppp/ncpaddr.c: 1.16 usr.sbin/rip6query/rip6query.c: 1.7 usr.sbin/syslogd/syslogd.c: 1.143 Notes: svn path=/stable/5/; revision=146707
* MFC: r1.4 - align stack for SSE.Doug Rabson2005-05-261-3/+6
| | | | Notes: svn path=/stable/5/; revision=146637
* MFC bug fix from 1.3 re entropy_save_sz.Doug Barton2005-04-141-2/+2
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/5/; revision=145090
* MFC 1.39: Correct type mismatch.Jacques Vidrine2005-04-051-1/+1
| | | | Notes: svn path=/stable/5/; revision=144681
* MFC rev 1.37, 1.38: Correct a typo that resulted in rexecd behaving asJacques Vidrine2005-04-051-4/+36
| | | | | | | | | | | | if the `-i' option was always specified. Correct some mostly theoretical bugs related to misuse of the static buffer returned by getpwnam. Security: rexecd's document default policy of disallowing root logins was not enforced. Notes: svn path=/stable/5/; revision=144671
* MFC: 1.106 Initialise unused DTV slots.Doug Rabson2005-04-011-8/+4
| | | | | | | Approved by: re Notes: svn path=/stable/5/; revision=144499
* MFC revision 1.105: If "dangerous" environment variables are used, thenColin Percival2005-03-291-1/+24
| | | | | | | | | make sure the libraries loaded aren't on a noexec-mounted filesystem. Approved by: re (kensmith) Notes: svn path=/stable/5/; revision=144266
* MFC:Doug Rabson2005-03-023-0/+24
| | | | | | | | | Attempt to free any static TLS space used by a shared library when it is unloaded. This allows applications which load and unload libraries like libGL.so.1 several times to work properly. Notes: svn path=/stable/5/; revision=143001
* Reduce the gratuitous diff to CURRENT by merging assorted style fixes.Yaroslav Tykhiy2005-02-283-20/+23
| | | | | | | Reviewed by: md5(1) Notes: svn path=/stable/5/; revision=142789
* MFC 1.204: Fix most cases where the address of an int is passedYaroslav Tykhiy2005-02-281-5/+8
| | | | | | | | | to a function expecting a socklen_t * argument. Approved by: stefanf Notes: svn path=/stable/5/; revision=142786
* MFC:Matthew N. Dodd2005-02-274-17/+96
| | | | | | | | | | | | | | | | | | | | | | | | 1.14 libmap.c 1.4 libmap.h 1.39 rtld.1 1.102 rtld.c Description from Dan: Another handy libmap patch. Lets you do stuff like this: LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp If you already have a program-specific override in libmap.conf, note that you must use a program-specific override in LD_LIBMAP: LD_LIBMAP="[mythreadedapp],libpthread.so.1=libthr.so.1" mythreadedapp PR: bin/74471 Submitted by: Dan Nelson <dnelson AT allantgroup.com> Notes: svn path=/stable/5/; revision=142689
* MFC 1.202, 1.204, 1.205: Fxies related to signal handling.Yaroslav Tykhiy2005-02-191-134/+277
| | | | Notes: svn path=/stable/5/; revision=142085
* MFC: When looking for a virtual host to handle the connection,Yaroslav Tykhiy2005-02-191-2/+3
| | | | | | | stop the search on the first match for efficiency. Notes: svn path=/stable/5/; revision=142084
* MFC 1.196: Calling pam_chauthtok() isn't really needed sinceYaroslav Tykhiy2005-02-191-7/+3
| | | | | | | an FTP user has no chance to change password anyway. Notes: svn path=/stable/5/; revision=142083
* MFC 1.194: Always log remote IP.Yaroslav Tykhiy2005-02-191-13/+9
| | | | Notes: svn path=/stable/5/; revision=142082
* MFC 1.193: Treat host name buffers consistently.Yaroslav Tykhiy2005-02-191-12/+23
| | | | Notes: svn path=/stable/5/; revision=142081
* MFC quite a number of style changes which startedYaroslav Tykhiy2005-02-192-66/+64
| | | | | | | to get in the way of merging actual code. Notes: svn path=/stable/5/; revision=142080
* MFC: For variables that are only checked with defined(), don't provideDavid E. O'Brien2005-02-133-3/+3
| | | | | | | any fake value. Notes: svn path=/stable/5/; revision=141786
* MFC 1.203: Respect the logging level.Yaroslav Tykhiy2005-01-221-1/+1
| | | | Notes: svn path=/stable/5/; revision=140612
* MFC 1.201: Use syslog(3) instead of err(3) when a daemon.Yaroslav Tykhiy2005-01-181-4/+8
| | | | | | | A daemon has no stderr to send its complains to. Notes: svn path=/stable/5/; revision=140459
* MFC:Tom Rhodes2005-01-189-3951/+0
| | | | | | | | | | | Remove a.out runtime linker. It doesn't build and was removed from the build over two years ago by peter. The binary a.out version of ld.so can be obtained from misc/compat22 or src/lib/compat/compat22. Notes: svn path=/stable/5/; revision=140403
* MFC 1.198:Yaroslav Tykhiy2004-12-211-9/+15
| | | | | | | | | | | Never emit a message to stderr: use syslog instead. When in inetd mode, this prevents bogus messages from appearing on the control channel. When running as a daemon, we shouldn't write to the terminal we used to have at all. Notes: svn path=/stable/5/; revision=139124
* MFC: Fixes and improvements to verbose logging of user activity.Yaroslav Tykhiy2004-12-021-42/+58
| | | | | | | ftpd.c: rev. 1.184, 1.192, 1.195 Notes: svn path=/stable/5/; revision=138316
* MFC knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.Bjoern A. Zeeb2004-11-281-2/+7
| | | | | | | | | If turned on no NIS support and related programs will be built. Approved by: rwatson (mentor) Notes: svn path=/stable/5/; revision=138154
* MFC: i386-on-amd64 compat gluePeter Wemm2004-11-261-0/+6
| | | | Notes: svn path=/stable/5/; revision=138122
* MFC:Yaroslav Tykhiy2004-11-252-6/+6
| | | | | | | | | | ftpd.c 1.185 '\n' needs not to appear in reply() strings. ftpd.c 1.186 Fix perror_reply() vs. reply() usage. ftpcmd.y 1.62 ---"--- Notes: svn path=/stable/5/; revision=138085
* MFC 1.178: Follow RFC 959 regarding 21x status codes.Yaroslav Tykhiy2004-11-251-3/+5
| | | | Notes: svn path=/stable/5/; revision=138078
* MFC: test file existence before attempting chflagsJens Schweikhardt2004-11-211-0/+2
| | | | | | | | PR: kern/73016 Submitted by: John E. Hein <jhein@timing.com> Notes: svn path=/stable/5/; revision=137969
* MFC rev. 1.171, 1.172: PAM-related fixes.Yaroslav Tykhiy2004-11-131-9/+18
| | | | Notes: svn path=/stable/5/; revision=137653
* MFC rev. 1.169, 1.174, 1.175: Fixes related to logxfer().Yaroslav Tykhiy2004-11-131-6/+10
| | | | Notes: svn path=/stable/5/; revision=137651
* MFC rev. 1.166-1.168: Assorted fixes around the call to sendfile(2).Yaroslav Tykhiy2004-11-131-4/+15
| | | | Notes: svn path=/stable/5/; revision=137650
* MFC rev. 1.164, 1.165: do not unconditionally fork() after accept().Maxim Konovalov2004-11-091-7/+9
| | | | Notes: svn path=/stable/5/; revision=137472
* MFC: 1.46 Better handling of non-existent devices.Warner Losh2004-10-011-21/+14
| | | | | | | Approved by: re@ (scottl) Notes: svn path=/stable/5/; revision=136011
* MFC: BIND 9 and related bits.Dag-Erling Smørgrav2004-09-262-35/+0
| | | | | | | Approved by: re Notes: svn path=/stable/5/; revision=135802
* MFC: rev 1.15: turn on the FreeBSD login user capabilities database support.David E. O'Brien2004-08-211-1/+1
| | | | | | | Approved by: re(kensmith) Notes: svn path=/stable/5/; revision=134096
* MFC: Import of LukeM's ftpd taken from the NetBSD CVS repo on 9-Aug-2004.David E. O'Brien2004-08-211-1/+17
| | | | | | | Approved by: re(kensmith) Notes: svn path=/stable/5/; revision=134095
* This commit was manufactured by cvs2svn to create branch 'RELENG_5'.cvs2svn2004-08-1810-1643/+0
| | | | Notes: svn path=/stable/5/; revision=133968
* Instead of "OpenFirmware", "openfirmware", etc. use the official spellingMarius Strobl2004-08-161-1/+1
| | | | | | | | | "Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended). Ok'ed by: tmm Notes: svn path=/head/; revision=133862
* Join the 21st century: Cryptography is no longer an optional componentColin Percival2004-08-061-1/+0
| | | | | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004 Notes: svn path=/head/; revision=133196
* Add stubs for powerpc TLS.Doug Rabson2004-08-043-5/+43
| | | | | | | Submitted by: ssouhlal Notes: svn path=/head/; revision=133133
* Add support for Thread Local Storage.Doug Rabson2004-08-0314-2/+883
| | | | Notes: svn path=/head/; revision=133063
* ftpd(8) seems to be WARNS=2 clean now.Yaroslav Tykhiy2004-07-311-0/+1
| | | | | | | Tested on: i386, ia64, amd64, sparc64, alpha Notes: svn path=/head/; revision=132932
* Change ``(foo *)0'' to ``NULL'' where it's possibleYaroslav Tykhiy2004-07-312-11/+11
| | | | | | | | | | (and it appears possible throughout ftpd(8) source.) It is not a mere issue of style: Null pointers in C seem to have been mistaken one way or another quite often. Notes: svn path=/head/; revision=132931
* Kill a small herd of casts to off_t where they were not needed.Yaroslav Tykhiy2004-07-312-10/+9
| | | | | | | | | Thank Fortune, the C compiler can figure out by itself the proper conversion for assignments, comparisons, and prototyped function arguments. Notes: svn path=/head/; revision=132930
* Printf(3) off_t values through conversion to intmax_t sinceYaroslav Tykhiy2004-07-312-10/+15
| | | | | | | we've got <stdint.h> et al now. (This makes ftpd(8) WARNS=2 clean.) Notes: svn path=/head/; revision=132929