summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Sweep through the tree fixing mmap() usage:alex1997-01-162-5/+5
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* If a library is found in the hints file, but the library doesn't exist,jdp1997-01-141-0/+4
| | | | | | | | | ignore the hint. This is a straightforward fix, and it should go into 2.2 after a burn-in period of a few days. Noticed by: bde
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-14174-185/+185
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-1312-37/+35
|
* Use the RTLD_NOW symbol, now that it is defined in <dlfcn.h>.jdp1997-01-121-4/+3
|
* Correct typos and spelling errors.jdp1997-01-123-15/+15
|
* Add support for the LD_BIND_NOW environment variable. If it is set to ajdp1997-01-124-37/+88
| | | | | | | | | | | | | | | | | | | | | nonempty string, then function calls are relocated at program start-up rather than lazily. This variable is standard on Sun and SVR4 systems. The dlopen() function now supports both lazy and immediate binding, as determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or 2 (RTLD_NOW). I will add defines of these symbols to <dlfcn.h> as soon as I've done a little more checking to make sure they won't cause collisions or bootstrapping problems that would break "make world". The "LD_*" environment variables which alter dynamic linker behavior are now treated as unset if they are set to the empty string. This agrees with the standard SVR4 conventions for the dynamic linker. Add a work-around for programs compiled with certain buggy versions of crt0.o. The buggy versions failed to set the "crt_ldso" member of the interface structure. This caused certain error messages from the dynamic linker to begin with "(null)" instead of the pathname of the dynamic linker.
* Add support for the LD_BIND_NOW environment variable. If it is set to ajdp1997-01-122-2/+21
| | | | | | | | | | | nonempty string, then function calls are relocated at program start-up rather than lazily. This variable is standard on Sun and SVR4 systems. The dlopen() function now supports both lazy and immediate binding, as determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or 2 (RTLD_NOW). I will add defines of these symbols to <dlfcn.h> as soon as I've done a little more checking to make sure they won't cause collisions or bootstrapping problems that would break "make world".
* Document the fact that the administrator may havempp1997-01-111-2/+7
| | | | | | | to change syslog's config file in order for all of ftpd's log messages to be displayed by syslogd. Closes PR# 1559.
* Build ebones/telnetd only if MAKE_EBONES definedache1997-01-081-2/+2
|
* Correct some misleading text.mpp1997-01-081-2/+5
| | | | | Submitted by: Klaus Klein <kleink@layla.inka.de> Obtained from: NetBSD-bugs PR#3089
* Some buffer overrun fixes and removed check for username starting with "-"pst1997-01-073-13/+16
| | | | | | (replacied it with a getopt stopper (--) instead, which is more correct). Obtained from: OpenBSD
* Update to match changes in <net/if.h>.wollman1997-01-033-5/+5
|
* Added group= facility to /etc/ttys for tty grouping for moredavidn1997-01-021-10/+26
| | | | | | | | more manageable and convenient referencing by login.conf (login class database) and (e.g.) login.access. This is the first of a group of commits which implements the login class capabilities database.
* Remove dmalloc.c reference from here too. :)jkh1997-01-011-2/+2
|
* Add a new 'de' capability, specifying a number of seconds to sleep beforemsmith1996-12-314-5/+15
| | | | | | | | | | | | | emitting the initial prompt. This is useful in a number of circumstances : - you have (a) stupid modem(s) that assert(s) DCD too soon. - you have dialin users with stupid diallers and poorly written chatscripts. (esp. some Winsock diallers) BSD/OS also has this capability. Submitted by: damian@cablenet.net (Damian Hamill)
* Fix spelling error in manpage.swallace1996-12-263-6/+6
|
* Change declaration of yp_errno from int to enum ypstat so that itwpaul1996-12-231-2/+3
| | | | | | | matches what's in ypserv/yp_extern.h (which I changed when I added the async DNS stuff). The conflict broke the build of rpc.yppasswdd. Pointed out by: bde
* Document the -k, -v and -x options.mpp1996-12-161-1/+15
| | | | Closes PR# 801.
* Correct some xrefs/mlinks.mpp1996-12-141-5/+5
|
* Close PR #2193: support backslash line continuations.wpaul1996-12-133-15/+23
| | | | (Also did some minor cleanups.)
* Convert this program to use sysctl rather than kvm for some of itswollman1996-12-111-111/+69
| | | | | statistics. Unfortunately, the coverage of sysctl isn't good enough to do all of them :-( .
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-106-12/+9
| | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
* Truncate the file when opening it with write intent. Otherwise,joerg1996-11-301-2/+2
| | | | | | | | there's a good chance that garbage will remain at the end. Closes PR # bin/2112: tftpd doesn't truncate ... Reviewed by: fenner
* add flag to allow only anonymous ftp loginstorstenb1996-11-302-3/+14
| | | | Reviewed by: pst
* Use LC_TIME=C instead of LC_TIME=ache1996-11-261-2/+2
|
* Back out recent security patch for rexecd. After more careful analysis,pst1996-11-222-28/+15
| | | | | | | | | | it is both uneeded and breaks certain lock-step timing in the rexec protocol. Yes, an attacker can "relay" connections using this trick, but a properly configured firewall that would make this sort of subterfuge necessary in the first place (instead of direct packet spoofing) would also thwart useful attacks based on this.
* Conditionalize setsockopt IP_PORTRANGE to make ftpd portable.pst1996-11-201-6/+11
|
* Truncate argument list to avoid buffer overflows.pst1996-11-201-5/+9
| | | | Cannidate for: 2.1 and 2.2
* Do not attempt to open reverse channel until authentication phase haspst1996-11-192-17/+30
| | | | | | | | | | | | succeeded. Never allow the reverse channel to be to a privileged port. Cannidate for: 2.1 and 2.2 branches Reviewed by: pst (with local cleanups) Submitted by: Cy Shubert <cy@cwsys.cwent.com> Obtained from: Jaeger <jaeger@dhp.com> via BUGTRAQ
* remove newly added reference to ppploginpst1996-11-131-2/+1
|
* Add the >optional< ability to sense PPP link bringups and call an ↵pst1996-11-134-7/+62
| | | | authentication program
* doc/1994: spelling error.phk1996-11-121-2/+2
| | | | Submitted by: David Leonard David Leonard <d@scry.dstc.edu.au>
* Correct the ancient paths here in case someone ever uncomments this again.jkh1996-11-051-3/+3
|
* Comment out the XIDLE extension stuff, it breaks make world on systemstorstenb1996-11-041-5/+5
| | | | with Xinside's CDE installed
* Compile telnetd from eBones instead of secure.markm1996-11-031-3/+3
| | | | 2.2 candidate.
* Give ypxfr the ability to detect the presence of the YP_INTERDOMAINwpaul1996-10-254-7/+91
| | | | | | | | | and YP_SECURE flags so that it can properly add them to newly created maps when needed. This applies only when using the 'standard' method for map transfers. When using rpc.ypxfrd, the whole map is copied verbatim, along with any special entries that may be encoded in it. Also made -Wall a little quieter for ypxfrd_getmap.c.
* If errors occur during the loading of the shared libraries required byjdp1996-10-241-10/+30
| | | | | | | | | | | | | the main program, report them directly from the dynamic linker and die there, rather than returning an error message to crt0.o. This enables the printing of error messages even for old executables, whose version of crt0.o is not able to print them. This fix closes PR bin/1869. The code in crt0.o for printing error messages from the dynamic linker is no longer used, because of this change. But it must remain, for backward compatibility with older dynamic linkers.
* Nuke a couple of useless lines of code from the /etc/netid parsingwpaul1996-10-241-4/+2
| | | | section. (Cut & paste-o.)
* Totally botched ths patch...revert back to Rev 1.7, and request ascrappy1996-10-231-31/+1
| | | | proper context diff from the submitter...
* Last time I trust 'sucess's on a non-context diff...scrappy1996-10-221-22/+23
| | | | Pointed out by: Bill Fenner <fenner@parc.xerox.com>
* Fixes:scrappy1996-10-221-2/+2
| | | | | | | | | | | | When an rsh is denied by rshd because the client is lacking appropriate .rhosts permission, an error message is formatted for syslog which contains the client's hostname. The hostname portion of the message relies on a pointer to a field within gethostbyname()'s internal struct hostent which changes state between when the pointer is initialized and when it is dereferenced to create th e message. Submitted by: skynyrd@opus.cts.cwu.edu
* Fixes:scrappy1996-10-221-1/+30
| | | | | | | | | | | | >Description: /usr/libexec/mail.local runs as root. As such is can fill up a mailbox on a quota'd filesystem, and keep going... Makes quota's almost useless in an ISP environment. Closes: PR#bin/1111 Submitted by: Charles Henrich <henrich@crh.cl.msu.edu>
* Add a couple of reserved port checks: don't talk to either ypservwpaul1996-10-201-5/+24
| | | | | | | | or rpc.ypxfrd processes on remote systems that aren't bound to reserved ports. The servers already do reserved port checks on the clients. Obtained from: scrutinizing the OpenBSD ypxfr sources. (Note that this applies to the ypserv check only; OpenBSD doesn't have an rpc.ypxfrd.)
* Implement alternative strategy if it is impossible to confirmache1996-10-183-22/+9
| | | | | | | password: ask for it, but don't tell that S/key password required. It looks like non-s/key system from outside. Additionally tell that s/key required when it is so for normal case
* Fix two minor typos in the manual page.jdp1996-10-183-9/+9
|
* Oops, fix my previous commit, now tell user his s/key parametersache1996-10-171-3/+4
|
* Don't ever ask for password if it is impossible to confirm itache1996-10-173-9/+22
| | | | | | | It happens if 1) regular passwords not allowed, 2) skey database not activated for given user. Under some rare circumstanes skey_challenge can return empty diagnostic or even previous buffer, fix it.
* Add the search directories from the hints file only the first time it isjdp1996-10-101-2/+5
| | | | | | opened. After that, the directories are already present, and there is no point in adding them again. This doesn't fix any bugs; it's just for efficiency.
* Fix a bug that caused a segmentation violation if dlsym() was calledjdp1996-10-101-2/+2
| | | | with its first argument equal to NULL.
OpenPOWER on IntegriCloud