summaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/5.2.1_cvscvs2svn2004-02-23228-228/+228
| | | | | | | 'RELENG_5_2_1_RELEASE'. This commit was manufactured to restore the state of the 5.2.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: bandaid for R_X86_64_PC32 relocation type. Do not try to fit a 64Peter Wemm2003-12-141-3/+3
| | | | | | | | | bit peg in a 32 bit hole. Approved by: re (scottl) Notes: svn path=/releng/5.2/; revision=123527
* Fix a bug which causes wrong filename being written into the syslogMaxim Sobolev2003-11-201-1/+10
| | | | | | | | | | in the case when client sends request with RFC2347 options. Approved by: re MFC After: 2 weeks Notes: svn path=/head/; revision=122916
* Replace all uses of the old netgraph constants NG_*LEN by the newHartmut Brandt2003-11-151-1/+1
| | | | | | | | | constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy. Notes: svn path=/head/; revision=122758
* If a file to send in ASCII mode already has CRLF as end-of-line,Yaroslav Tykhiy2003-11-151-2/+4
| | | | | | | | | | | don't add excessive CR on the wire. PR: bin/59285 Submitted by: Andrey Beresovsky <and at rsu.ru> MFC after: 1 week Notes: svn path=/head/; revision=122751
* Sync comment with code's reality.Anton Berezin2003-11-141-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=122665
* Tidy up some xdrproc_t related warnings.Peter Wemm2003-10-262-5/+7
| | | | Notes: svn path=/head/; revision=121538
* Pacify gcc warning with a Douglas Adams reference.Peter Wemm2003-10-261-0/+2
| | | | Notes: svn path=/head/; revision=121537
* Make the warning message stand out more.Tim J. Robbins2003-10-111-0/+2
| | | | Notes: svn path=/head/; revision=120996
* Warn users that makekey may disappear in a future release now that theTim J. Robbins2003-10-091-1/+6
| | | | | | | last in-tree consumer has gone. Notes: svn path=/head/; revision=120936
* Use the new style struct sockaddr instead of osockaddr in system callsTim J. Robbins2003-09-281-4/+6
| | | | | | | | | so that talkd works without COMPAT_43. Obtained from: NetBSD (christos), Rumi Szabolcs Notes: svn path=/head/; revision=120548
* Don't depend on IPv4-mapped IPv6 address to bind to both IPv4Hajimu UMEMOTO2003-09-142-75/+115
| | | | | | | | | | | and IPv6. Wrote at: Hakone. Powered by: Warner Losh's scotch whisky. Requested by: nork Notes: svn path=/head/; revision=120059
* Retire the WITH_LIBMAP compile knob; libmap is now a standard feature.Matthew N. Dodd2003-09-132-18/+1
| | | | Notes: svn path=/head/; revision=120039
* Change libmap.c:lm_init() to return a status value; 0 for successMatthew N. Dodd2003-09-133-5/+5
| | | | | | | | | | | (libmap available) and 1 for failure. Assign this return to the global 'libmap_disable' variable in rtld.c. This totally prevents any libmap functions from being called after lm_init() if no config file is present. Notes: svn path=/head/; revision=120038
* Deal with the LOGIN_NAME_MAX issue in the NetBSD->FreeBSDDavid E. O'Brien2003-09-111-0/+7
| | | | | | | translation^H^H^Hhack layer. Notes: svn path=/head/; revision=119975
* Add a dependancy on 'nbsd2fbsd.h'David E. O'Brien2003-09-101-0/+2
| | | | Notes: svn path=/head/; revision=119961
* mdoc(7): Use the new feature of the .In macro.Ruslan Ermilov2003-09-081-1/+1
| | | | Notes: svn path=/head/; revision=119893
* Eliminate last three uses of varargs.h in the tree. These three filesAlexander Kabaev2003-09-012-2/+0
| | | | | | | | were including varargs.h file but did not use any of its macros, so they escaped the clean-up before. Notes: svn path=/head/; revision=119632
* Add a note that the -u option can be overridden by settings in login.conf(5).Ceri Davies2003-08-311-0/+2
| | | | | | | | PR: docs/56017 Submitted by: Josef El-Rayes <j.el-rayes@daemon.li> Notes: svn path=/head/; revision=119602
* Remove a useless '/'.David E. O'Brien2003-08-241-1/+1
| | | | Notes: svn path=/head/; revision=119416
* Very minor style nit: sort include files alphabetically.Warner Losh2003-08-221-1/+1
| | | | Notes: svn path=/head/; revision=119255
* Forgot one instance of ld-elf.so.1. Convert to ${PROG}Gordon Tetlow2003-08-171-1/+1
| | | | | | | Pointed out by: obrien Notes: svn path=/head/; revision=119053
* Don't forget to honor DESTDIR. Also switch over to using PROG instead ofGordon Tetlow2003-08-171-2/+2
| | | | | | | the binary name directly. Notes: svn path=/head/; revision=119046
* Don't forget to chflags noschg the existing binary so we can symlinkGordon Tetlow2003-08-171-0/+5
| | | | | | | | | over it safely. Pointed out by: yosimoto@waishi.jp Notes: svn path=/head/; revision=119044
* As long threatened, stage 2 of making a dynamically-linked root a reality.Gordon Tetlow2003-08-172-1/+3
| | | | | | | Install rtld into /libexec. Notes: svn path=/head/; revision=119014
* Prepend /lib to the builtin library search path in rtld.Gordon Tetlow2003-08-172-2/+2
| | | | Notes: svn path=/head/; revision=119013
* Make sure that a "make release" (more accurately the bit that makesMark Murray2003-07-241-0/+2
| | | | | | | | the crunched binary) get a non-cryptographic telnet. This is overkill in that it covers stuff that is not normally used in a crunched binary. Notes: svn path=/head/; revision=117973
* Ensure that for the cryptographic instances of *telnet*, the "crypto"Mark Murray2003-07-241-0/+1
| | | | | | | distribution is used. This only affects release-building. Notes: svn path=/head/; revision=117953
* Test correct macro for "without crypto" option(s).Mark Murray2003-07-201-1/+1
| | | | Notes: svn path=/head/; revision=117813
* Prototype defttymode() instead of just declaring it.Yaroslav Tykhiy2003-07-181-1/+1
| | | | Notes: svn path=/head/; revision=117738
* Very big makeover in the way telnet, telnetd and libtelnet are built.Mark Murray2003-07-1614-7046/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, there were two copies of telnet; a non-crypto version that lived in the usual places, and a crypto version that lived in crypto/telnet/. The latter was built in a broken manner somewhat akin to other "contribified" sources. This meant that there were 4 telnets competing with each other at build time - KerberosIV, Kerberos5, plain-old-secure and base. KerberosIV is no longer in the running, but the other three took it in turns to jump all over each other during a "make buildworld". As the crypto issue has been clarified, and crypto _calls_ are not a problem, crypto/telnet has been repo-copied to contrib/telnet, and with this commit, all telnets are now "contribified". The contrib path was chosen to not destroy history in the repository, and differs from other contrib/ entries in that it may be worked on as "normal" BSD code. There is no dangerous crypto in these sources, only a very weak system less strong than enigma(1). Kerberos5 telnet and Secure telnet are now selected by using the usual macros in /etc/make.conf, and the build process is unsurprising and less treacherous. Notes: svn path=/head/; revision=117675
* Block SIGURG while reading from the control channel.Yaroslav Tykhiy2003-07-091-0/+6
| | | | | | | | | | | | | | | | | | Rationale: SIGURG is configured by ftpd to interrupt system calls, which is useful during data transfers. However, SIGURG could interrupt I/O on the control channel as well, which was mistaken for the end of the session. A practical example could be aborting the download of a tiny file, when the abort sequence reached ftpd after ftpd had passed the file data to the system and returned to its command loop. Reported by: ceri MFC after: 1 week Notes: svn path=/head/; revision=117352
* Improve error handling in getline():Yaroslav Tykhiy2003-07-091-4/+7
| | | | | | | | | | | | - always check the return value from getc(3) for EOF; - if the attempt to read the TELNET command byte has returned EOF, exit from the loop instead of using the EOF value as a normal character. MFC after: 1 week Notes: svn path=/head/; revision=117351
* Make a malloced copy of "chrootdir" even if it points to an absoluteYaroslav Tykhiy2003-07-091-3/+5
| | | | | | | | | | | pathname inside "residue" so "chrootdir" can be simply freed later. PR: bin/53435 Submitted by: Yutaka Ishihara <yutaka at fandc.co.jp> MFC after: 1 week Notes: svn path=/head/; revision=117349
* Remove MAINTAINER= lines from individual Makefiles in favor of theGregory Neil Shapiro2003-07-072-4/+0
| | | | | | | MAINTAINER file (which already had entries for sendmail). Notes: svn path=/head/; revision=117299
* Avoid using the global offset table to get the address of _DYNAMIC inJake Burkholder2003-07-042-1/+18
| | | | | | | | | | | | rtld. When _DYNAMIC is referenced normally from C the global offset table is used implicitly, but newer versions of binutils don't initialize it statically in the binary, so this doesn't work until rtld is relocated, which _DYNAMIC is needed for... So, as on other systems with the same problem, we disassemble a call instruction to _DYNAMIC in order to get its address. Notes: svn path=/head/; revision=117211
* Don't declare unneeded extern variables,Yaroslav Tykhiy2003-06-211-2/+0
| | | | | | | leave alone specifying a wrong type for one of them. Notes: svn path=/head/; revision=116655
* Fix warnings on 64 bit platforms.Matthew N. Dodd2003-06-191-9/+9
| | | | | | | Noticed by: jake Notes: svn path=/head/; revision=116582
* Add function prototypes.Matthew N. Dodd2003-06-191-0/+2
| | | | Notes: svn path=/head/; revision=116568
* LD_DUMP_REL_PRE and LD_DUMP_REL_POST don't output to stderr; don'tMatthew N. Dodd2003-06-191-2/+2
| | | | | | | claim that they do. Notes: svn path=/head/; revision=116566
* Provide a mechanism for dumping relocation information.Matthew N. Dodd2003-06-194-0/+116
| | | | | | | | | | Setting the LD_DUMP_REL_PRE or LD_DUMP_REL_POST environment variables cause rtld-elf to output a table of all relocations. This is useful for debugging. Notes: svn path=/head/; revision=116563
* Move MD function prototypes together.Matthew N. Dodd2003-06-191-4/+8
| | | | Notes: svn path=/head/; revision=116558
* Fix warnings; no parameters in function prototypes.Matthew N. Dodd2003-06-192-3/+3
| | | | Notes: svn path=/head/; revision=116557
* Avoid a NULL pointer dereference.Matthew N. Dodd2003-06-181-1/+2
| | | | Notes: svn path=/head/; revision=116539
* - Use the initial terminal mode instead of the current modeYaroslav Tykhiy2003-06-182-73/+64
| | | | | | | | | | | | | as the source of defaults for terminal device parameters. - Do duplucate code reduction and simplification enabled by the above. Reviewed by: green MFC after: 1 month Notes: svn path=/head/; revision=116533
* Include libmap.h for prototypes.Matthew N. Dodd2003-06-181-0/+1
| | | | Notes: svn path=/head/; revision=116513
* - Add support for DT_FLAGS.Matthew N. Dodd2003-06-183-1/+21
| | | | | | | - Define various things from the most recent ELF spec. Notes: svn path=/head/; revision=116511
* More correctly spell "-static" as "NOSHARED?=YES"Doug Barton2003-06-171-1/+3
| | | | Notes: svn path=/head/; revision=116506
* Improve the manpage language a bit.Yaroslav Tykhiy2003-06-171-1/+1
| | | | | | | | | | | A PPP login program is started _automatically_ (i.e., without human intervention) even with the "pl" capability unset, as soon as a PPP frame is detected. But with "pl" set, a PPP login program is started independently of the result of PPP detection (which is rendered unnecessary then,) i.e. _unconditionally_. Notes: svn path=/head/; revision=116482
* Link named-xfer -static. This is the only binary that needs to beDoug Barton2003-06-171-1/+1
| | | | | | | | | statically compiled for named to work chroot'ed, and we'd like to be able to do that from /etc/rc.d without additional user intervention. Notes: svn path=/head/; revision=116470