summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* After running a "make unifdef", commit the resultant diffs.markm2001-11-308-1063/+324
| | | | This code is now a complete sunset of the crypto (master) code.
* Diff-reduce WRT src/secure/*telnet*/Makefile.markm2001-11-301-2/+13
| | | | | Also, add an "unifdef:" target, so that the telnet sources can be remade from the crypto sources in src/crypto/telnet.
* - Change parameters of signal handlers in order to be correct (they arearr2001-11-281-12/+9
| | | | | | | | | | handed a integer, not void). - No need to set flags to zero when they already will be. - It was also noted the manner in which the signal handling has changed might possibly generate some problems (hangs possibly) -- these, while remaining in the code, will be fixed shortly (within a day). Submitted by: bde
* Add lomac.c.green2001-11-271-1/+1
| | | | Found by: ken
* - Fix some poor signal handler usage.arr2001-11-261-12/+49
| | | | Reviewed by: -audit (and their silence), jhb, maintainer's silence
* mdoc(7) police: minor spelling, markup and style fixes.ru2001-11-221-18/+21
|
* Change the failure mode in option parsing to silently bailing out of optionbenno2001-11-221-2/+9
| | | | | | | | | | negotiation rather than rejecting the request. Apple OpenFirmware 3.0f3 (the version in my iMac) adds trailing garbage to the end of an otherwise valid request. Without this change, the requests were rejected which prevented me from booting. Reviewed by: obrien
* Don't leave dodgy looking spaces in HISMACADDRbrian2001-11-221-3/+3
|
* Mention that HISMACADDR is set in the environment of child processesbrian2001-11-221-0/+5
|
* Set HISMACADDR in the environment before envoking ppp.brian2001-11-211-5/+17
| | | | MFC after: 1 week
* Eliminate another instance of the old and well-knownyar2001-11-191-7/+25
| | | | | | | | | DoS bug that the select(2)/accept(2) pair is called on a socket that is in the blocking I/O mode. The bug is triggered if a selected connection dies before the accept(2) leading to the accept(2) blocking virtually forever. MFC after: 1 week
* Update rtld for the "new" ia64 ABI. In the old toolchain, thepeter2001-10-297-9/+34
| | | | | | | | | | | | | | | DT_INIT and DT_FINI tags pointed to fptr records. In 2.11.2, it points to the actuall address of the function. On IA64 you cannot just take an address of a function, store it in a function pointer variable and call it.. the function pointers point to a fptr data block that has the target gp and address in it. This is absolutely necessary for using the in-tree binutils toolchain, but (unfortunately) will not work with old shared libraries. Save your old ld-elf.so.1 if you want to use old ones still. Do not mix-and-match. This is a no-op change for i386 and alpha. Reviewed by: dfr
* Fix a dependency violation (branch after alloc)peter2001-10-291-1/+1
|
OpenPOWER on IntegriCloud