aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Update rtld for the "new" ia64 ABI. In the old toolchain, thePeter Wemm2001-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 Notes: svn path=/head/; revision=85677
* Fix a dependency violation (branch after alloc)Peter Wemm2001-10-291-1/+1
| | | | Notes: svn path=/head/; revision=85676
* When we set our UID to `nobody', set an appropriate group also.David E. O'Brien2001-10-221-0/+1
| | | | | | | Submitted by: peter Notes: svn path=/head/; revision=85299
* The interface index space may be sparsely populated (e.g. when anBill Fenner2001-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 Notes: svn path=/head/; revision=85040
* Add ia64 support. Various adjustments were made to existing targets toDoug Rabson2001-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. Notes: svn path=/head/; revision=85004
* Don't let a user name in ftpd's proctitleYaroslav Tykhiy2001-10-121-1/+1
| | | | | | | | | | be mistaken for a status message. PR: misc/25217 MFC after: 7 days Notes: svn path=/head/; revision=84842
* Be consistent about indent at least within one block of code.Yaroslav Tykhiy2001-10-121-5/+5
| | | | Notes: svn path=/head/; revision=84841
* The support for accelerating find_symdef() with a cache was broken. ThisDoug Rabson2001-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 Notes: svn path=/head/; revision=84746
* Terminate the array of execv(3) pointers by a NULL pointer in the edge case.Ruslan Ermilov2001-10-041-1/+3
| | | | | | | | PR: bin/30913 Submitted by: Dimitri Lommers <dimitri@hinttech.com> Notes: svn path=/head/; revision=84454
* mdoc(7) police: markup nits.Ruslan Ermilov2001-10-011-1/+3
| | | | Notes: svn path=/head/; revision=84285
* Migrate uucpd to ports as well.Kris Kennaway2001-10-015-387/+0
| | | | | | | Noticed by: ru Notes: svn path=/head/; revision=84255
* 1) Use OPIE response only when OPIE keys really usedAndrey A. Chernov2001-09-291-2/+5
| | | | | | | 2) Use commonly used OPIE response form instead of self-made one Notes: svn path=/head/; revision=84146
* Avoid a few compiler warnings (printf codes, missing includes etc).Ian Dowse2001-09-293-4/+8
| | | | | | | | | PR: bin/30864 Obtained from: Dan Lukes <dan@obluda.cz> MFC after: 1 week Notes: svn path=/head/; revision=84125
* Missing `break' statements caused two error messages to becomeIan Dowse2001-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 Notes: svn path=/head/; revision=84119
* RFC2349 (http://www.hypermail.org/rfcs/rfc2349.html) adds supportDavid E. O'Brien2001-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> Notes: svn path=/head/; revision=84047
* RFC2132 is not clear about whether the "Maximum DHCP Message Size"Ian Dowse2001-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 Notes: svn path=/head/; revision=83941
* Improve the description on how to construct ~ftp/pub. Specifically,Mike Heffner2001-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 Notes: svn path=/head/; revision=83919
* Fixed some of style bugs.Ruslan Ermilov2001-09-121-1/+1
| | | | Notes: svn path=/head/; revision=83367
* Remove a field width specifier that's not doing anything more thanMike Heffner2001-09-101-6/+3
| | | | | | | what using snprintf() achieves. It was also being used incorrectly. Notes: svn path=/head/; revision=83308
* Include ttymsg.h from ../../usr.bin/wall instead of rolling our ownDima Dorfman2001-09-092-1/+3
| | | | | | | prototype. Notes: svn path=/head/; revision=83244
* Do the best we can with respect to fixing command-line option disorderSheldon Hearn2001-09-041-62/+62
| | | | | | | | | | | | | in the SYNOPSIS and DESCRIPTION. Note that -l remains an ugly exception, to which no known rules apply, since the specification of a single option multiple times isn't normal standards-compliant CLI behaviour. While here, mark AF_INET* and LOG_* defined values up with Dv. Notes: svn path=/head/; revision=82944
* File positions are off_t nowdays, not long, so:Andrey A. Chernov2001-09-031-4/+4
| | | | | | | | | | | | | | | atoi -> strtoll fseek -> fseeko NOTE: that fseek not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. Fix minor cast too. Notes: svn path=/head/; revision=82851
* Extend the functionality offered by the -o option into a new optionSheldon Hearn2001-09-023-2/+15
| | | | | | | | | | | | | | | | | | -O, which limits the impact of the write-only restriction to guest users. *) The existing manual page's SYNOPSIS and option listing in the DESCRIPTION are already horribly disordered. No attempt has been made to fix this. *) The existing source's getopt() optstring and option handling switch are already horribly disordered. No attempt has been made to fix this. Discussed with: nik, -audit Notes: svn path=/head/; revision=82796
* long -> off_tAndrey A. Chernov2001-09-021-6/+7
| | | | | | | | | | | | | | long -> time_t %ld -> %qd fseek -> fseeko NOTE: that fseek not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. Notes: svn path=/head/; revision=82792
* Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.Mark Murray2001-08-297-885/+5
| | | | Notes: svn path=/head/; revision=82497
* Add a new option, '-o', for "Write-only". Disables the RETR command,Nik Clayton2001-08-283-2/+16
| | | | | | | | | | | | preventing anyone from downloading files. In conjunction with -A, and some appropriate file permissions, this lets you create an anonymous FTP drop box for people to upload files to. The more obvious "-w" flag is already taken by NetBSD's ftpd. "-o" was available as an option letter in all three BSDs. Notes: svn path=/head/; revision=82460
* Put a parenthesis in the right place (DUH!).Brian Somers2001-08-251-1/+1
| | | | | | | This fixes the apparent immediate client timeout problem. Notes: svn path=/head/; revision=82333
* Remove description of an option that only applies to UNICOS < 7.0.Dima Dorfman2001-08-251-13/+0
| | | | | | | | | | That define may still be present in the source, but I don't think anyone has plans to try to use it. Obtained from: NetBSD Notes: svn path=/head/; revision=82326
* Understand that a return value of 0 from NgRecvMsg() means that theBrian Somers2001-08-241-2/+8
| | | | | | | | | | socket was closed. This prevents erroneous ``Unexpected netgraph version'' from turning up in the log. Notes: svn path=/head/; revision=82276
* Added netid(5) manpage.Ruslan Ermilov2001-08-212-1/+92
| | | | | | | | PR: docs/25657 Obtained from: OpenBSD Notes: svn path=/head/; revision=82065
* Handle snprintf() returning < -1.Brian Somers2001-08-201-1/+1
| | | | Notes: svn path=/head/; revision=81991
* Handle snprintf() returning -1.Brian Somers2001-08-201-0/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81972
* Feature merging and diff reduction between this code and crypto telnet.Mark Murray2001-08-2010-447/+279
| | | | | | | | Also remove conditional (AUTHENTICATION) code as we have never compiled it here, and it is doubtful that it even works in this scenario. Notes: svn path=/head/; revision=81963
* mdoc(7) police: s/BSD/.Bx/ where appropriate.Ruslan Ermilov2001-08-141-3/+6
| | | | Notes: svn path=/head/; revision=81622
* mdoc(7) police: protect trailing full stops of abbreviationsRuslan Ermilov2001-08-102-2/+2
| | | | | | | with a trailing zero-width space: `e.g.\&'. Notes: svn path=/head/; revision=81449
* mdoc(7) police:Ruslan Ermilov2001-08-073-8/+8
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* Don't clobber the default for CFLAGS.Bruce Evans2001-08-031-1/+1
| | | | Notes: svn path=/head/; revision=81118
* Fixes file descriptor leak in standalone mode.Jonathan Chen2001-08-031-0/+2
| | | | | | | | | | | Prevents simultaneous calls to updatestat() as function is not reentrant. PR: bin/24857 Submitted by: Martin Butkus <mb@bagheera.thgwf.de> MFC after: 1 month Notes: svn path=/head/; revision=81080
* Don't use SA_RESETHAND here. We gain nothing.Brian Somers2001-07-311-1/+1
| | | | | | | Suggested by: bde Notes: svn path=/head/; revision=80733
* Add a -l flag used to specify a label when no -p flag is given.Brian Somers2001-07-312-27/+54
| | | | | | | | | Start new sentences on new lines in pppoed.8. MFC after: 1 week Notes: svn path=/head/; revision=80728
* Use sigaction() without SA_RESTART rather than signal() so that weBrian Somers2001-07-311-5/+9
| | | | | | | | | don't block in NgRecvData() after receiving a signal. MFC after: 1 week Notes: svn path=/head/; revision=80724
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatibleMike Heffner2001-07-292-2/+2
| | | | | | | | | | | | | with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc' patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to maintain backwards compatibility. Reviewed by: sheldonh, assar Obtained from: NetBSD/OpenBSD Notes: svn path=/head/; revision=80525
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-07-266-8/+8
| | | | | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms> Notes: svn path=/head/; revision=80381
* Xref to openssl(1) (i.e. "openssl passwd")Kris Kennaway2001-07-261-0/+1
| | | | | | | | | PR: 28885 Submitted by: Gregory Bond <gnb@itga.com.au> MFC After: 1 week Notes: svn path=/head/; revision=80370
* yp_errno is an `enum ypstat`.Dima Dorfman2001-07-241-1/+1
| | | | | | | | | PR: 29190 Submitted by: Cristan Szmajda <cristan@unsw.edu.au> Reviewed by: md5(1) Notes: svn path=/head/; revision=80281
* Save errno in signal handlerKris Kennaway2001-07-241-0/+2
| | | | | | | | Obtained from: OpenBSD MFC After: 1 week Notes: svn path=/head/; revision=80248
* MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()Kris Kennaway2001-07-236-43/+47
| | | | | | | to ensure deterministic operation Notes: svn path=/head/; revision=80225
* by by -> byKris Kennaway2001-07-231-1/+1
| | | | | | | | Obtained from: OpenBSD MFC After: 1 week Notes: svn path=/head/; revision=80201
* MFCrypto: fixed the remote buffer overflow.Ruslan Ermilov2001-07-206-310/+204
| | | | Notes: svn path=/head/; revision=80047
* Portability configuration data for LukeM ftpd.David E. O'Brien2001-07-191-0/+281
| | | | Notes: svn path=/head/; revision=79979