summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove whitespace at EOL.dd2001-07-1518-68/+68
|
* Print the month number properlybrian2001-07-131-1/+1
| | | | MFC after: 1 week
* Remove an extraneous spacebrian2001-07-111-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-1023-24/+24
|
* Remove S/Key. PAM can do its job. Well, not quite - there is an issuemarkm2001-07-094-63/+19
| | | | | | | with the conversation function and challenges which needs to be revisited, so in the interim a hack is introduced to provide an OPIE challenge (which is random if OPIE does not apply) at all non-anonymnous logins.
* Goodbye S/Key, Hello OPIE.markm2001-07-092-13/+17
| | | | | I believe I have done due dilligence on this, but I'd appreciate decent test scenarios and sucess (or failure) reports.
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-095-6/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-095-5/+5
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-063-3/+3
|
* mdoc(7) police: sort xrefs.ru2001-07-041-1/+1
|
* mdoc(7) police: removed hard sentence breaks.ru2001-07-041-10/+20
|
* stat(2) filesystem quotas act on, not filesystem quotas file resides on.mikeh2001-06-191-1/+1
| | | | | PR: bin/4949 MFC after: 2 weeks
* Fix some typos.olgeni2001-06-151-2/+2
| | | | MFC after: 1 week
* Move the definition of epsvall out of #ifdef VIRTUAL_HOSTING so thatdd2001-06-131-2/+2
| | | | the latter is not required for ftpd to compile.
* Fix the number of bytes allocated by realloc when more space is neededghelmer2001-06-071-1/+1
| | | | | | for the vector of arguments. MFC after: 1 week
* Add 'df' string to gettytab - the strftime(3) format for %dyar2001-06-074-5/+9
| | | | | | in the banner messages (of course, defaults to "%+"). Submitted by: Gleb Smirnoff <glebius@tak.estra.ru>
* In the "Message from Talk_Daemon" announcement, print the date as welldd2001-06-071-2/+4
| | | | | | as the current time. It's nice to know whether the talk request you see was sent just a few minutes ago (assuming you didn't hear the bell), or if it's been decaying for days (weeks?).
* Correct cross-references:sobomax2001-06-051-5/+5
| | | | | | | | | | | | ng_bpf.8 --> ng_bpf.4 ng_ether.8 --> ng_ether.4 ng_iface.8 --> ng_iface.4 ng_pppoe.8 --> ng_pppoe.4 ng_socket.8 --> ng_socket.4 ng_tty.8 --> ng_tty.4 ng_{type}.4 --> /dev/null MFC after: 1 week
* Use new backup feature of install(1).ru2001-05-281-14/+1
|
* Performance improvements for the ELF dynamic linker. Thesejdp2001-05-055-18/+60
| | | | | | | | | | | | | | | | | | | | particularly help programs which load many shared libraries with a lot of relocations. Large C++ programs such as are found in KDE are a prime example. While relocating a shared object, maintain a vector of symbols which have already been looked up, directly indexed by symbol number. Typically, symbols which are referenced by a relocation entry are referenced by many of them. This is the same optimization I made to the a.out dynamic linker in 1995 (rtld.c revision 1.30). Also, compare the first character of a sought-after symbol with its symbol table entry before calling strcmp(). On a PII/400 these changes reduce the start-up time of a typical KDE program from 833 msec (elapsed) to 370 msec. MFC after: 5 days
OpenPOWER on IntegriCloud