summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Include ttymsg.h from ../../usr.bin/wall instead of rolling our owndd2001-09-092-1/+3
| | | | prototype.
* Do the best we can with respect to fixing command-line option disordersheldonh2001-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.
* File positions are off_t nowdays, not long, so:ache2001-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.
* Extend the functionality offered by the -o option into a new optionsheldonh2001-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
* long -> off_tache2001-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.
* Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.markm2001-08-297-885/+5
|
* Add a new option, '-o', for "Write-only". Disables the RETR command,nik2001-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.
* Put a parenthesis in the right place (DUH!).brian2001-08-251-1/+1
| | | | This fixes the apparent immediate client timeout problem.
* Remove description of an option that only applies to UNICOS < 7.0.dd2001-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
* Understand that a return value of 0 from NgRecvMsg() means that thebrian2001-08-241-2/+8
| | | | | | | socket was closed. This prevents erroneous ``Unexpected netgraph version'' from turning up in the log.
* Added netid(5) manpage.ru2001-08-212-1/+92
| | | | | PR: docs/25657 Obtained from: OpenBSD
* Handle snprintf() returning < -1.brian2001-08-201-1/+1
|
* Handle snprintf() returning -1.brian2001-08-201-0/+2
| | | | MFC after: 2 weeks
* Feature merging and diff reduction between this code and crypto telnet.markm2001-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.
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-3/+6
|
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-102-2/+2
| | | | with a trailing zero-width space: `e.g.\&'.
* mdoc(7) police:ru2001-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.
* Don't clobber the default for CFLAGS.bde2001-08-031-1/+1
|
* Fixes file descriptor leak in standalone mode.jon2001-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
* Don't use SA_RESETHAND here. We gain nothing.brian2001-07-311-1/+1
| | | | Suggested by: bde
* Add a -l flag used to specify a label when no -p flag is given.brian2001-07-312-27/+54
| | | | | | Start new sentences on new lines in pppoed.8. MFC after: 1 week
* Use sigaction() without SA_RESTART rather than signal() so that webrian2001-07-311-5/+9
| | | | | | don't block in NgRecvData() after receiving a signal. MFC after: 1 week
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatiblemikeh2001-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
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-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>
* Xref to openssl(1) (i.e. "openssl passwd")kris2001-07-261-0/+1
| | | | | | PR: 28885 Submitted by: Gregory Bond <gnb@itga.com.au> MFC After: 1 week
* yp_errno is an `enum ypstat`.dd2001-07-241-1/+1
| | | | | | PR: 29190 Submitted by: Cristan Szmajda <cristan@unsw.edu.au> Reviewed by: md5(1)
* Save errno in signal handlerkris2001-07-241-0/+2
| | | | | Obtained from: OpenBSD MFC After: 1 week
* MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()kris2001-07-236-43/+47
| | | | to ensure deterministic operation
* by by -> bykris2001-07-231-1/+1
| | | | | Obtained from: OpenBSD MFC After: 1 week
* MFCrypto: fixed the remote buffer overflow.ru2001-07-206-310/+204
|
* Portability configuration data for LukeM ftpd.obrien2001-07-191-0/+281
|
OpenPOWER on IntegriCloud