summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* When we set our UID to `nobody', set an appropriate group also.obrien2001-10-221-0/+1
| | | | Submitted by: peter
* The interface index space may be sparsely populated (e.g. when anfenner2001-10-171-0/+4
| | | | | | | interface in the middle is if_detach()'d). Return (and handle) ENOENT when the ifmib(4) is accessed for a nonexistent interface. MFC after: 14 days
* Add ia64 support. Various adjustments were made to existing targets todfr2001-10-1514-33/+1069
| | | | | cope with a few interface changes required by the ia64. In particular, function pointers on ia64 need special treatment in rtld.
* Don't let a user name in ftpd's proctitleyar2001-10-121-1/+1
| | | | | | | be mistaken for a status message. PR: misc/25217 MFC after: 7 days
* Be consistent about indent at least within one block of code.yar2001-10-121-5/+5
|
* The support for accelerating find_symdef() with a cache was broken. Thisdfr2001-10-101-8/+9
| | | | | | | | fixes the problem and improves startup times for large applications such as KDE2 considerably. Reviewed by: jdp MFC after: 1 week
* Terminate the array of execv(3) pointers by a NULL pointer in the edge case.ru2001-10-041-1/+3
| | | | | PR: bin/30913 Submitted by: Dimitri Lommers <dimitri@hinttech.com>
* mdoc(7) police: markup nits.ru2001-10-011-1/+3
|
* Migrate uucpd to ports as well.kris2001-10-015-387/+0
| | | | Noticed by: ru
* 1) Use OPIE response only when OPIE keys really usedache2001-09-291-2/+5
| | | | 2) Use commonly used OPIE response form instead of self-made one
* Avoid a few compiler warnings (printf codes, missing includes etc).iedowse2001-09-293-4/+8
| | | | | | PR: bin/30864 Obtained from: Dan Lukes <dan@obluda.cz> MFC after: 1 week
* Missing `break' statements caused two error messages to becomeiedowse2001-09-291-1/+3
| | | | | | | | | "unkown error" [sic]. Add the missing breaks, and correct the spelling typo. PR: bin/30865 Submitted by: Dan Lukes <dan@obluda.cz> MFC after: 1 week
* RFC2349 (http://www.hypermail.org/rfcs/rfc2349.html) adds supportobrien2001-09-271-9/+120
| | | | | | | | | | | for negotiation of timeout and file size to the tftp protocol. This is required by some firmware like EFI boot managers (at least on HP i2000 Itanium servers) in order to boot an image using tftp. The attached patch implements the RFC, and in doing so also implements RFC2347; a generic tftp option extension. PR: 30710 Submitted by: Espen Skoglund <esk@ira.uka.de>
* RFC2132 is not clear about whether the "Maximum DHCP Message Size"iedowse2001-09-252-2/+4
| | | | | | | | | | | | | | | refers to the size of the whole ethernet packet, just the DHCP message within the UDP payload, or something else. bootpd interpreted it as a maximum UDP payload size, so it could end up sending fragmented packets to clients (such as some versions of Etherboot) that used different interpretations of the maximum message size. Switch to the most conservative interpretation: ensure that the ethernet packet containing the response is no larger than the specified maximum message size. This matches the behaviour of the ISC dhcpd. MFC after: 1 week
* Improve the description on how to construct ~ftp/pub. Specifically,mikeh2001-09-251-5/+7
| | | | | | | | don't instruct users to set the directory mode 777. PR: 30690 Obtained from: NetBSD (with modification) MFC after: 2 weeks
* Fixed some of style bugs.ru2001-09-121-1/+1
|
* Remove a field width specifier that's not doing anything more thanmikeh2001-09-101-6/+3
| | | | what using snprintf() achieves. It was also being used incorrectly.
OpenPOWER on IntegriCloud