aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove whitespace at EOL.Dima Dorfman2001-07-1518-68/+68
| | | | Notes: svn path=/head/; revision=79754
* Print the month number properlyBrian Somers2001-07-131-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=79674
* Remove an extraneous spaceBrian Somers2001-07-111-1/+1
| | | | Notes: svn path=/head/; revision=79597
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-1023-24/+24
| | | | Notes: svn path=/head/; revision=79529
* Remove S/Key. PAM can do its job. Well, not quite - there is an issueMark Murray2001-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. Notes: svn path=/head/; revision=79469
* Goodbye S/Key, Hello OPIE.Mark Murray2001-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. Notes: svn path=/head/; revision=79466
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-095-6/+0
| | | | Notes: svn path=/head/; revision=79454
* Fix the type of the NULL arg to execl()Brian Somers2001-07-095-5/+5
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-063-3/+3
| | | | Notes: svn path=/head/; revision=79366
* mdoc(7) police: sort xrefs.Ruslan Ermilov2001-07-041-1/+1
| | | | Notes: svn path=/head/; revision=79211
* mdoc(7) police: removed hard sentence breaks.Ruslan Ermilov2001-07-041-10/+20
| | | | Notes: svn path=/head/; revision=79209
* stat(2) filesystem quotas act on, not filesystem quotas file resides on.Mike Heffner2001-06-191-1/+1
| | | | | | | | PR: bin/4949 MFC after: 2 weeks Notes: svn path=/head/; revision=78457
* Fix some typos.Jimmy Olgeni2001-06-151-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=78272
* Move the definition of epsvall out of #ifdef VIRTUAL_HOSTING so thatDima Dorfman2001-06-131-2/+2
| | | | | | | the latter is not required for ftpd to compile. Notes: svn path=/head/; revision=78153
* Fix the number of bytes allocated by realloc when more space is neededGuy Helmer2001-06-071-1/+1
| | | | | | | | | for the vector of arguments. MFC after: 1 week Notes: svn path=/head/; revision=77881
* Add 'df' string to gettytab - the strftime(3) format for %dYaroslav Tykhiy2001-06-074-5/+9
| | | | | | | | | in the banner messages (of course, defaults to "%+"). Submitted by: Gleb Smirnoff <glebius@tak.estra.ru> Notes: svn path=/head/; revision=77874
* In the "Message from Talk_Daemon" announcement, print the date as wellDima Dorfman2001-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?). Notes: svn path=/head/; revision=77862
* Correct cross-references:Maxim Sobolev2001-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 Notes: svn path=/head/; revision=77760
* Use new backup feature of install(1).Ruslan Ermilov2001-05-281-14/+1
| | | | Notes: svn path=/head/; revision=77348
* Performance improvements for the ELF dynamic linker. TheseJohn Polstra2001-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 Notes: svn path=/head/; revision=76296
* * include/elf.h has been repo copied to include/elf-hints.h, and it noDavid E. O'Brien2001-05-021-1/+2
| | | | | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers. Notes: svn path=/head/; revision=76224
* Avoid a warning by making a variable a const char *.David Malone2001-05-011-1/+2
| | | | Notes: svn path=/head/; revision=76183
* Replacement of the old error() routine with errx(3) was premature.Mark Murray2001-04-291-17/+39
| | | | | | | | | | | | There are protocol issues to deal with. Bring back this routine (renamed to avoid a library conflict in libssh) and overhaul it for more 21st Century style coding. Pointed out by: bde Notes: svn path=/head/; revision=76134
* Grrr. Fix a line that was fatfingered out during the cleanup.Mark Murray2001-04-291-0/+1
| | | | | | | | Submitted by: bde Pointy hat: markm Notes: svn path=/head/; revision=76125
* Cleaner method of making PAMable apps static (in the optional case ofMark Murray2001-04-282-10/+0
| | | | | | | wanting static apps). Notes: svn path=/head/; revision=76106
* Damn. That should be _enable_ static linking, not _force_ static linking.Mark Murray2001-04-281-1/+0
| | | | Notes: svn path=/head/; revision=76098
* Enable (optional) static linking.Mark Murray2001-04-281-0/+6
| | | | | | | Asked for by: BDE Notes: svn path=/head/; revision=76097
* Change names of functions and variables with global scope that areMark Murray2001-04-283-19/+19
| | | | | | | | in conflict with library values of the same name. This allows static linking. Notes: svn path=/head/; revision=76096
* Allow static linking.Mark Murray2001-04-281-0/+5
| | | | | | | Asked for by: BDE Notes: svn path=/head/; revision=76095
* Clean up the error handling code a bit. There is no need to "roll ourMark Murray2001-04-281-89/+26
| | | | | | | | own" error() routine when errx() is available. This resolves a conflict when linking statically. Notes: svn path=/head/; revision=76094
* Replace a strcat() with a strlcat(). Partial sync with OpenBSD; moreKris Kennaway2001-04-241-1/+1
| | | | | | | | | | work is needed. Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD Notes: svn path=/head/; revision=75905
* mdoc(7) police: normalize .Nd.Ruslan Ermilov2001-04-182-4/+2
| | | | Notes: svn path=/head/; revision=75670
* mdoc(7) police: uppercase document title.Ruslan Ermilov2001-04-181-1/+1
| | | | Notes: svn path=/head/; revision=75650
* Previous clobbered a work-in-progress. Here is the merged result:Peter Wemm2001-04-171-3/+6
| | | | | | | | | | | | | | | | | | | Limit the "pathname" glob to one item, as that is what all users of it are expecting, except for LIST. Always glob, instead of when the first character is a ~. For example, if you had directories ~/x1, and ~/x2, then "cwd x[1]" would fail, but "cwd ~/x[1]" would work since it was globbed due to the ~ character. Also, "cwd ~/x[12]" used to arbitarily work as it used the first expansion (ie: x1) without an error. Make it return '550 ambiguous' instead of '550 not found' so that the user can see the difference. For LIST, just use the user supplied string as the popen does the glob. Problem noticed by: Ajay Mittal <amittal@iprg.nokia.com> Notes: svn path=/head/; revision=75567