summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Handle NGM_PPPOE_ACNAME messages.brian2002-02-202-3/+11
| | | | | Submitted by: Andre Albsmeier <andre@albsmeier.net> Approved by: julian
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-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
* ld-elf.so.1 assumed a few too many things about the ordering of sectionspeter2002-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)
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-172-14/+26
|
* o __P removalimp2002-02-175-45/+26
| | | | o use Ansi-style function definitions
* Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to aobrien2002-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>
* Fix infinite loop around sendfile(2) after sending >4GB file.maxim2002-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
* o __P removalimp2002-02-0712-218/+145
| | | | | o register removal o use new style prototypes and function definitions
* o __P removalimp2002-02-077-109/+61
| | | | | o use new style prototypes and function definitions o signal handlers need an argument. Mark it unused.
* o const poison a few prototypes to avoid gcc3 warningsimp2002-02-071-9/+9
| | | | o s/err/error/ in a couple places to avoid shadowing warnings
* o __P removalimp2002-02-071-26/+19
| | | | | o new style definitions/declarations o declare null_conv static and its arguments __unused
* o __P removalimp2002-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
* o __P removal.imp2002-02-075-39/+39
| | | | o Use new prototypes and function definitions only.
* o Remove __Pimp2002-02-061-6/+4
| | | | | o Use proper prototypes o remove register
* Remove some unused variables, mark unused parameters as unused and changeimp2002-02-061-13/+12
| | | | | names of variables that shadow globally declared variables. This should help people doing later WARNS= fixes.
* o __P removalimp2002-02-065-160/+116
| | | | | o remove register o use strict prototypes
* ANSIfy and remove some dead code.des2002-02-066-53/+29
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-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
* Set WFORMAT=0, overlooked in previous commits to libexec/.kris2002-02-061-0/+1
| | | | Reported by: jhay
* Fix minor disorder in functions declared in extern.himp2002-02-051-1/+1
|
* o Move externs to extern.himp2002-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.
* Don't use non-signal-safe functions (exit(3) in this case) insheldonh2002-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
* Allow ldd(1) be used on shared libraries in addition to executables.sobomax2002-02-041-9/+35
|
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichkris2002-02-0413-4/+18
| | | | are not yet warning-clean. Tested on i386 and alpha.
* Mark a function as __printflike()kris2002-02-041-1/+1
| | | | MFC after: 1 week
* Mark a function as __printf0like(). This exposes a warning which requireskris2002-02-041-1/+1
| | | | | | some code changes to fix but should be possible. MFC after: 1 week
* Prototype a function as __printflike() to avoid a FORMAT_AUDIT warning.kris2002-02-041-0/+2
| | | | MFC after: 1 week
* Mark report() as printflike and fix resulting warnings, including one bugkris2002-02-044-4/+4
| | | | (get_errmsg -> get_errmsg())
* Silence some FORMAT_AUDIT warnings (one left)kris2002-02-041-2/+2
|
* o Eliminate __Pimp2002-02-037-272/+149
| | | | | | o Use new-style function definitions o remove some !__STDC__ code o eliminate register
* Remove the setjmp/longjmp stuff completely. Use signalyar2002-01-282-44/+94
| | | | | | | | | | | | handlers to set flags only (with exception for sigquit(), which still seems to call some non-reentrant functions on its way to _exit(2).) That must eliminate the possibility of catching SIGSEGV from following non-reentrant paths from signal handlers. PR: bin/32740 bin/33846 Submitted by: Maxim Konovalov <maxim@macomnet.ru> Obtained from: OpenBSD
* Log wtmp according to an address family properly.ume2002-01-283-25/+16
| | | | | | Reported by: matusita Reviewed by: matusita MFC after: 1 week
* Change the library search order so that LD_LIBRARY_PATH overridesjdp2002-01-251-2/+2
| | | | | | | all others. PR: bin/28191 MFC after: 2 weeks
* Change brk's prototype from char *brk(const char *) to int brk(const void *)dwmalone2002-01-242-2/+1
| | | | | | | | | | | | | | | and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t). This makes us more consistant with NetBSD and standards which include these functions. Bruce pointed out that ptrdiff_t would probably have been better than intptr_t, but this doesn't match other implimentations. Also remove local declarations of sbrk and unnecessary casting. PR: 32296 Tested by: Harti Brandt <brandt@fokus.gmd.de> MFC after: 1 month
* Remove my workaround fallback since PAM now do it properly.ache2002-01-211-10/+9
|
* Really back out ache's commits. These files are now precisely as they weredes2002-01-191-9/+10
| | | | twentyfour hours ago, except for RCS ids.
* Back out PAM_CRED_ERR additionache2002-01-191-1/+0
|
* Add PAM_CRED_ERR as valid failure caseache2002-01-191-0/+1
|
* Call opieunlock() only if we skip opieverify() partache2002-01-191-2/+3
|
* Remove conditional 'pwok' fallback for PAM which nowache2002-01-191-9/+7
| | | | | | | is implemented in pam_opie module For non-PAM variant rewrite empty password checking code to do the right thing and not disallow empty passwords in all cases.
* yp(4) -> yp(8).ru2002-01-144-5/+5
| | | | PR: docs/30797
* Build the TCP-wrapper helper "daemon" tcpd. This is not much use inmarkm2002-01-121-0/+20
| | | | | | a bog-standard FreeBSD installation, as inetd(8) does that job, but for inetd(8) replacemenrts such as xinetd, having this around makes sense.
* mdoc(7) police: tidy up.ru2002-01-101-17/+25
|
* Be more careful about freeing memory after parsing commands.dwmalone2002-01-051-7/+19
| | | | | | | | Hiroyuki YAMAMORI gave a patch for the EPRT command in the PR below. Problems with the rest of the patch are my fault. PR: 33268 Reviewed by: iedowse, sheldonh
* Fix OPIE authache2002-01-011-15/+30
|
* Fixed missing DPADD in previous commit. Fixed most style bugs related tobde2001-12-291-2/+3
| | | | DPADD and LDADD.
* Link with libm to take advantage of the -h flag to ls.joe2001-12-291-0/+1
| | | | Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
* MFCrypto: Remove -r, -s, sort -p.ru2001-12-141-25/+5
|
* Merge from master (crypto) telnet. WARNS fixes for alpha.markm2001-12-031-4/+4
|
* Merge the (in)complete ANSIfication work from src/crypto/telnet.markm2001-11-303-101/+93
|
OpenPOWER on IntegriCloud