aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* When opieverify() is fail, fallback to try unix password.Hajimu UMEMOTO2002-04-161-4/+9
| | | | | | | Tested by: kuriyama Notes: svn path=/head/; revision=94830
* Add an IPv6 support.Hajimu UMEMOTO2002-04-161-10/+23
| | | | | | | | | | I dunno if there is an IPv6 supported rexec client. So, it was tested that this change doesn't break an IPv4. Tested by: kuriyama (IPv4 only) Notes: svn path=/head/; revision=94828
* Make this compilable without -DOPIE.Jun Kuriyama2002-04-161-1/+1
| | | | | | | Hint by: ume Notes: svn path=/head/; revision=94824
* IPv6 support for tftp/tftpd.Hajimu UMEMOTO2002-04-111-15/+60
| | | | | | | | Obtained from: KAME MFC after: 2 weeks Notes: svn path=/head/; revision=94443
* Better handle the case with a network that drops packets by retryingDoug Ambrisko2002-04-091-3/+13
| | | | | | | | | | | | | with a back off. This was discovered when Luigi sent me code to handle this for Etherboot. The Etherboot patch worked okay but FreeBSD's tftpd had trouble handling it and would fail to transfer the file since it would abort on send and not retry. Submitted by: luigi MFC after: 1 week Notes: svn path=/head/; revision=94299
* Allow to compile with both GCC 2.95 and 3.1.David E. O'Brien2002-04-081-2/+3
| | | | Notes: svn path=/head/; revision=94242
* Fix a relocation bug in the ia64 ld.so. Weak function pointers in sharedPeter Wemm2002-04-071-3/+16
| | | | | | | | | | | | | | objects were not being correctly set to zero. Instead, the function descriptor pointer was set to the load address of the .so object. This caused gcc generated binaries to segfault on exit when crtbegin.asm's _fini code tested the __cxa_finalize() function pointer for zero. This is a bit of a hack because of a problem nearby workaround for find_symdef and its quirks (failures) for local symbols. This still needs to be fixed. Notes: svn path=/head/; revision=94021
* Fix warnings.Dag-Erling Smørgrav2002-04-063-13/+13
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=93979
* Minor changes to make this work on sparc64.Jake Burkholder2002-04-021-33/+46
| | | | | | | | Approved by: jdp Tested on: alpha, i386, sparc64 Notes: svn path=/head/; revision=93610
* Include <string.h> for some prototypes, rather than depending onMike Barcroft2002-04-011-0/+1
| | | | | | | pollution from <strings.h>. Notes: svn path=/head/; revision=93590
* Add missing commas. At least I didn't miss a period.Warner Losh2002-03-182-3/+3
| | | | Notes: svn path=/head/; revision=92594
* o MAXPATHLEN is the correct constant to use for path names, it includesWarner Losh2002-03-182-19/+13
| | | | | | | | | the NULL. o use snprintf in preference to unchecked strcat in a couple of places that likely can't overflow. Makes it easier to grep for strcpy :-) Notes: svn path=/head/; revision=92543
* Teach REST how to restart a file transfer after 2^31 bytes: now yylex()Maxim Konovalov2002-03-141-25/+33
| | | | | | | | | | | | | | | returns off_t in yylval.u.o. REST is the only user of yylval.u.o at the moment. NB: seems lukemftpd has the same bug. PR: misc/28629 Reviewed by: ru Approved by: ru MFC after: 1 month Notes: svn path=/head/; revision=92272
* rtld support for sparc64.Jake Burkholder2002-03-135-0/+1073
| | | | | | | | Largely obtained from: netbsd Submitted by: jake, tmm Notes: svn path=/head/; revision=92195
* Remove duplicated yacc nonterminals declarations, sort includes.Maxim Konovalov2002-03-111-4/+3
| | | | | | | | | | | No functional changes from rev. 1.31. Reviewed by: ru Approved by: ru MFC after: 1 week Notes: svn path=/head/; revision=92090
* YA patch I forgot to commit last night.Dag-Erling Smørgrav2002-03-061-1/+1
| | | | Notes: svn path=/head/; revision=91749
* *sigh* while the last commit made GCC 3.1 happy, it upset GCC 2.95.David E. O'Brien2002-03-011-1/+1
| | | | | | | back out last commit to un-break world. Notes: svn path=/head/; revision=91534
* CPP v3.1 has different rules for processing #lines directives. ThisDavid E. O'Brien2002-02-281-1/+1
| | | | | | | | | | sometimes causes fewer directories to be searched for includes. Thus we have to be more explicit in our search list. Pointy at to: GCC 3.1 Notes: svn path=/head/; revision=91510
* When searching an object that was opened with RTLD_GLOBAL, search its DAG too.Dag-Erling Smørgrav2002-02-271-3/+6
| | | | | | | | | PR: bin/25059 Approved by: jdp MFC after: 3 weeks Notes: svn path=/head/; revision=91444
* Add lukemftpd to the mix.David E. O'Brien2002-02-271-0/+1
| | | | Notes: svn path=/head/; revision=91409
* Build LukeM's ftpd.David E. O'Brien2002-02-272-0/+327
| | | | Notes: svn path=/head/; revision=91407
* Put the last added source file in proper order.David E. O'Brien2002-02-271-1/+1
| | | | | | | (and dcc the committer a dictionary) Notes: svn path=/head/; revision=91404
* Rewrite the part of the conversation function that allocates the reply array;Dag-Erling Smørgrav2002-02-251-2/+5
| | | | | | | | | it was inelegant and neglected to check the return value from malloc(3). Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=91244
* #include <sys/time.h> instead of depending on namespace pollution inBruce Evans2002-02-251-3/+3
| | | | | | | | | <sys/stat.h> for its prerequisite <sys/time.h>. Removed a duplicated include. Sorted includes. Notes: svn path=/head/; revision=91216
* Removed unused include of <sys/resource.h> instead of depending onBruce Evans2002-02-251-12/+2
| | | | | | | | | | namespace pollution only 1 layer deep in <sys/stat.h> for its prerequisite <sys/time.h> Removed other unused includes. Notes: svn path=/head/; revision=91214
* Revert revision 1.11. FreeBSD/alpha has suppport for T/TCP.Mike Barcroft2002-02-241-2/+0
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=91201
* Handle NGM_PPPOE_ACNAME messages.Brian Somers2002-02-202-3/+11
| | | | | | | | Submitted by: Andre Albsmeier <andre@albsmeier.net> Approved by: julian Notes: svn path=/head/; revision=90975
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-02-182-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm Notes: svn path=/head/; revision=90868
* ld-elf.so.1 assumed a few too many things about the ordering of sectionsPeter Wemm2002-02-185-72/+265
| | | | | | | | | | | | | | | | | produced by ld(8) (ie: that _DYNAMIC immediately follows the _GOT). The new binutils import changed that, and the intial GOT relocation broke. Use a custom linker script to provide a real end-of-GOT symbol. Update ld.so to deal with the new (faster) PLT format that gcc-3.1 and binutils can produce. This is probably incomplete, but appears to be working again. Obtained from: NetBSD (And a fix to a silly mistake that I made by: gallatin) Notes: svn path=/head/; revision=90826
* Update build infrastructure for sendmail 8.12.Gregory Neil Shapiro2002-02-172-14/+26
| | | | Notes: svn path=/head/; revision=90798
* o __P removalWarner Losh2002-02-175-45/+26
| | | | | | | o use Ansi-style function definitions Notes: svn path=/head/; revision=90779
* Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to aDavid E. O'Brien2002-02-172-2/+11
| | | | | | | | | | | non-empty string in the environment; we indicate which objects caused each object to be loaded. PR: 30908 Submitted-by: Mike Meyer <mwm@mired.org> Notes: svn path=/head/; revision=90755
* Fix infinite loop around sendfile(2) after sending >4GB file.Maxim Konovalov2002-02-131-5/+3
| | | | | | | | | | | PR: bin/33770 Submitted by: Vladislav Shabanov <vs@rambler-co.ru> Reviewed by: ru Approved by: ru MFC after: 1 month Notes: svn path=/head/; revision=90604
* o __P removalWarner Losh2002-02-0712-218/+145
| | | | | | | | o register removal o use new style prototypes and function definitions Notes: svn path=/head/; revision=90377
* o __P removalWarner Losh2002-02-077-109/+61
| | | | | | | | o use new style prototypes and function definitions o signal handlers need an argument. Mark it unused. Notes: svn path=/head/; revision=90336
* o const poison a few prototypes to avoid gcc3 warningsWarner Losh2002-02-071-9/+9
| | | | | | | o s/err/error/ in a couple places to avoid shadowing warnings Notes: svn path=/head/; revision=90335
* o __P removalWarner Losh2002-02-071-26/+19
| | | | | | | | o new style definitions/declarations o declare null_conv static and its arguments __unused Notes: svn path=/head/; revision=90334
* o __P removalWarner Losh2002-02-071-41/+31
| | | | | | | | | | o Use new-style prototypes and function definitions. o Fix timeout and justquit to have proper signatures for signal handlers. Mark the args as __unused. o remove register Notes: svn path=/head/; revision=90333
* o __P removal.Warner Losh2002-02-075-39/+39
| | | | | | | o Use new prototypes and function definitions only. Notes: svn path=/head/; revision=90332
* o Remove __PWarner Losh2002-02-061-6/+4
| | | | | | | | o Use proper prototypes o remove register Notes: svn path=/head/; revision=90303
* Remove some unused variables, mark unused parameters as unused and changeWarner Losh2002-02-061-13/+12
| | | | | | | | names of variables that shadow globally declared variables. This should help people doing later WARNS= fixes. Notes: svn path=/head/; revision=90302
* o __P removalWarner Losh2002-02-065-160/+116
| | | | | | | | o remove register o use strict prototypes Notes: svn path=/head/; revision=90301
* ANSIfy and remove some dead code.Dag-Erling Smørgrav2002-02-066-53/+29
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90298
* Apply the following mechanical transformations in preparation forDag-Erling Smørgrav2002-02-066-23/+23
| | | | | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week Notes: svn path=/head/; revision=90297
* Set WFORMAT=0, overlooked in previous commits to libexec/.Kris Kennaway2002-02-061-0/+1
| | | | | | | Reported by: jhay Notes: svn path=/head/; revision=90296
* Fix minor disorder in functions declared in extern.hWarner Losh2002-02-051-1/+1
| | | | Notes: svn path=/head/; revision=90262
* o Move externs to extern.hWarner Losh2002-02-056-65/+72
| | | | | | | | | | | o Use new-style prototypes exclusively rather than the old foo() style. o Use new-style function definitions. o remove register o make functions passed to signal have the right signature. o do minor const poisoning. Notes: svn path=/head/; revision=90261
* Don't use non-signal-safe functions (exit(3) in this case) inSheldon Hearn2002-02-051-1/+1
| | | | | | | | | | | | | | signal handlers. In this case, use _exit(2) instead, following the call to shutdown(2). This fixes rare telnetd hangs. PR: misc/33672 Submitted by: Umesh Krishnaswamy <umesh@juniper.net> MFC after: 1 month Notes: svn path=/head/; revision=90242
* Allow ldd(1) be used on shared libraries in addition to executables.Maxim Sobolev2002-02-041-9/+35
| | | | Notes: svn path=/head/; revision=90172