aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix buffer overflow bug in NgSendAsciiMsg().Archie Cobbs2000-06-021-1/+1
| | | | Notes: svn path=/head/; revision=61188
* document sbsize limit.Alfred Perlstein2000-06-021-0/+1
| | | | Notes: svn path=/head/; revision=61184
* Replace a `manual(section)' reference with a proper .Xr statement.Chris Costello2000-05-311-1/+2
| | | | Notes: svn path=/head/; revision=61134
* Fix an mdoc-o, and english.Tim Vanderhoek2000-05-311-6/+6
| | | | Notes: svn path=/head/; revision=61109
* /dev/rXXX -> /dev/XXXMike Smith2000-05-313-5/+5
| | | | | | | | This should fix sysinstall and other tools that don't expect the 'r' devices to exist anymore (and thus don't create them). Notes: svn path=/head/; revision=61101
* De-support 'wd'; with it making a dual appearance with 'ad', thingsMike Smith2000-05-302-4/+2
| | | | | | | | depending on libdisk to detect a list of actually-there disk devices were providing duplicate entries (eg. sysinstall). Notes: svn path=/head/; revision=61093
* Update to the version of pam_ssh corresponding to OpenSSH 2.1 (takenKris Kennaway2000-05-301-19/+23
| | | | | | | | | from the openssh port) Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> Notes: svn path=/head/; revision=61087
* Fix a misspelling: undefied -> undefinedChris Costello2000-05-272-2/+2
| | | | Notes: svn path=/head/; revision=60985
* Hackish support for 302 redirect.Dag-Erling Smørgrav2000-05-261-24/+59
| | | | Notes: svn path=/head/; revision=60954
* Honor FTP_PASSIVE_MODE so caller doesn't need to.Dag-Erling Smørgrav2000-05-261-0/+4
| | | | Notes: svn path=/head/; revision=60951
* Back out the previous change to the queue(3) interface.Jake Burkholder2000-05-268-72/+72
| | | | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others Notes: svn path=/head/; revision=60938
* Output newline after debugging messageDag-Erling Smørgrav2000-05-251-0/+1
| | | | Notes: svn path=/head/; revision=60928
* Add (and document) fetchMakeURL()Dag-Erling Smørgrav2000-05-253-3/+51
| | | | Notes: svn path=/head/; revision=60927
* Dump com_err, it's a stinking crock of shit.Dag-Erling Smørgrav2000-05-257-127/+49
| | | | Notes: svn path=/head/; revision=60924
* fix stray 'i' from editor.Alfred Perlstein2000-05-251-1/+1
| | | | Notes: svn path=/head/; revision=60918
* Teach libdisk about 'twe' disks.Mike Smith2000-05-252-1/+3
| | | | Notes: svn path=/head/; revision=60908
* catch up to the modern ATAPI disk naming conventions and add floppyJordan K. Hubbard2000-05-241-1/+1
| | | | | | | | | disks. Submitted by: bde Notes: svn path=/head/; revision=60886
* We should see the ai_canonname menber of the first addrinfoHajimu UMEMOTO2000-05-241-6/+6
| | | | | | | | | structure in the linked list. RFC2553 mentions only first. Reviewed by: shin Notes: svn path=/head/; revision=60870
* Add missing source files. Sort SRCS.Thomas Gellekum2000-05-246-16/+28
| | | | | | | PR: 18631 Notes: svn path=/head/; revision=60861
* fix up the kqueue documentation... comment some things that were leftJohn-Mark Gurney2000-05-241-0/+21
| | | | | | | | | out that really needed to be here... Reviewed-by: jlemon Notes: svn path=/head/; revision=60856
* Use the new machine-independent versions of crtbegin and crtendDavid E. O'Brien2000-05-242-7/+5
| | | | | | | from the "common" directory. Notes: svn path=/head/; revision=60844
* Change the way that the queue(3) structures are declared; don't assume thatJake Burkholder2000-05-238-72/+74
| | | | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd Notes: svn path=/head/; revision=60833
* Describe errx/warnx in comparison to errc/warnc/err/warn.Guy Helmer2000-05-231-12/+33
| | | | | | | | | Use .Fa instead of .Va for function arguments. Reviewed by: sheldonh Notes: svn path=/head/; revision=60832
* Use the new machine-independent versions of crtbegin and crtendJohn Polstra2000-05-233-108/+2
| | | | | | | | | | | from the "common" directory. As a side-effect, this also fixes a bug in the ordering of global constructors and destructors on the Alpha. See revision 1.3 of "../common/crtbegin.c" for details. Notes: svn path=/head/; revision=60811
* Use $FTP_PASSWORD for FTP password. If $FTP_PASSWORD is notHajimu UMEMOTO2000-05-221-1/+11
| | | | | | | found, `yourname@yourhost' is used. Notes: svn path=/head/; revision=60791
* <blush> I tested the real code changes, but neglected to test theWarner Losh2000-05-222-5/+5
| | | | | | | | insertion of $FreeBSD$. I miffed it (pointy hat please). Hopefully no one will notice this short window where -current didn't compile. Notes: svn path=/head/; revision=60773
* Do not read editrc file from '.'. This can be as unsafe as havingWarner Losh2000-05-222-12/+11
| | | | | | | | | | | | | . first in root's path. While I'm here: o Add $FreeBSD$ o Get errno from <errno.h>, but extern int errno. Submitted by: Tim Vanderhoek Notes: svn path=/head/; revision=60772
* Make comment match code forgotten in last commitWarner Losh2000-05-221-1/+1
| | | | Notes: svn path=/head/; revision=60771
* Add $FreeBSD$ so I can commit:Warner Losh2000-05-221-4/+6
| | | | | | | | Remove extern int errno;. Instead include the ANSI <errno.h>. No functional changes, just a higher level of pedantry. Notes: svn path=/head/; revision=60770
* Implement a new camcontrol function, 'camcontrol format'.Kenneth D. Merry2000-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcam/Makefile: Add scsi_da.c to libcam for the new scsi_format_unit() function. camcontrol.8: Update the man page for the new format functionality, and take out the examples section describing how to do it with 'camcontrol cmd'. camcontrol.c: New format functionality. Note that unlike the rest of the camcontrol subcommands, this one is interactive by default. Because of the potential destructiveness of the format command, I thought it necessary to get confirmation from the user before spamming a disk. You can disable the interactive behavior, and the status meter with command line arguments. scsi_da.c: Add the new scsi_format_unit() cdb building function and use #ifdef _KERNEL to make this file compile in both the kernel and userland. The format unit function is currently only defined in the non-kernel case, because nothing in the kernel is using it. If that changes, it should be un-ifdefed and compiled in both cases. scsi_da.h: New function declaration, CDB structure and format data structures. Thanks to Nick Hibma for providing some valuable input on these changes. Notes: svn path=/head/; revision=60767
* Back out NOTE_EXIT status reporting pending discussion.Brian Feldman2000-05-211-4/+0
| | | | Notes: svn path=/head/; revision=60759
* Fix a memory leak in getent() that occurred when the requested entryTim Vanderhoek2000-05-211-1/+3
| | | | | | | | | could not be found. PR: bin/17084 Notes: svn path=/head/; revision=60747
* Fix a memory leak with lc->lc_cap in login_close().Tim Vanderhoek2000-05-211-0/+1
| | | | | | | PR: bin/17084 Notes: svn path=/head/; revision=60746
* IPv6 support.Hajimu UMEMOTO2000-05-207-68/+278
| | | | Notes: svn path=/head/; revision=60737
* Take crtbegin.c and crtend.c from the new machine-independentJohn Polstra2000-05-204-135/+4
| | | | | | | "common" sister directory. Notes: svn path=/head/; revision=60734
* Better handling of some boundary conditions.Dag-Erling Smørgrav2000-05-192-4/+9
| | | | | | | Submitted by: ume Notes: svn path=/head/; revision=60707
* This is step 1 in an effort to unify the start-up files for theJohn Polstra2000-05-196-78/+120
| | | | | | | | | | | | | | | | | | | | various architectures. Now all the work is done in crtbegin.c. It doesn't contain any assembly language code, so it should work fine on all architectures. (I have tested it on the i386 and the alpha.) The old assembly language files crt[in].S are now empty shells that generate no code or data. They should not be removed any time soon, because the various versions of gcc in src and ports expect them to exist. Next I will move crtbegin.c into a new common machine-independent directory, and adjust the i386-elf Makefile to use that version. After that I will adjust the alpha Makefile to use the common version too. Requested by: obrien Notes: svn path=/head/; revision=60698
* Remove a superfluous `.Pp' occuring directly afterChris Costello2000-05-191-1/+0
| | | | | | | `.Sh IMPLEMENTATION NOTES'. Notes: svn path=/head/; revision=60695
* Add a note under IMPLEMENTATION NOTES about the behavior of sendfile()Chris Costello2000-05-191-0/+27
| | | | | | | in the threaded library. Notes: svn path=/head/; revision=60694
* List ECONNRESET as a return value. EINVAL was not documented either.Peter Wemm2000-05-192-0/+4
| | | | Notes: svn path=/head/; revision=60692
* Put the wait(2) exit status in "data" for NOTE_EXIT kevents.Brian Feldman2000-05-171-0/+4
| | | | Notes: svn path=/head/; revision=60659
* Fix a memory leak. pthread_set_name_np() allocates space for a name, butJason Evans2000-05-163-6/+18
| | | | | | | | | was not deallocating space for the previous name, if any. PR: misc/18504 Notes: svn path=/head/; revision=60658
* Fix a memory leak. pthread_set_name_np() allocates space for a name, butJason Evans2000-05-162-0/+8
| | | | | | | | | _thread_gc() was not deallocating it. PR: misc/18504 Notes: svn path=/head/; revision=60656
* Make HTTP_PROXY work for FTP.Hajimu UMEMOTO2000-05-152-13/+45
| | | | | | | | Reported by: Ben Smithurst <ben@scientia.demon.co.uk> Reviewed by: des Notes: svn path=/head/; revision=60587
* Document struct url.Dag-Erling Smørgrav2000-05-151-0/+32
| | | | | | | Document the default values for fetchStat*(). Notes: svn path=/head/; revision=60585
* Initialize the struct url_stat at the beginning of _fetch_stat_file().Dag-Erling Smørgrav2000-05-151-0/+2
| | | | Notes: svn path=/head/; revision=60584
* Initialize the struct url_stat at the beginning of fetchStatFTP().Dag-Erling Smørgrav2000-05-151-0/+3
| | | | Notes: svn path=/head/; revision=60582
* Remove unused 'verbose'.Dag-Erling Smørgrav2000-05-151-6/+6
| | | | | | | Initialize the struct url_stat at the beginning of fetchStatHTTP(). Notes: svn path=/head/; revision=60581
* Add some extra functions adapted from OpenBSD, in preparation forKris Kennaway2000-05-152-0/+97
| | | | | | | OpenSSH OPIE support. Notes: svn path=/head/; revision=60572
* Fix the real problem that broke the Alpha loader this last week. ItPeter Wemm2000-05-121-2/+3
| | | | | | | | | | | | | | | | | | was not the fault of the module code, nor FICL. The malloc code requires sbrk() to return addresses that were at least 16 byte aligned. If the Alpha loader happened to be 8 byte but not 16 byte aligned in length, then you would get a zfree() panic at startup. Incidently, this affected the i386 loader as well, and explains why the static heap changed things and why jlemon had trouble when the bss was not ending at a multiple of 8 bytes. My fix is to 16 byte align it on all arches, even though the x86 version only required 8 byte alignment (struct MemNode is smaller there). We could page align it if we wanted to be paranoid, but it isn't presently necessary. Notes: svn path=/head/; revision=60481