aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* solve name conflictAndreas Klemm1999-06-071-2/+2
| | | | | | | | | | the old STREAM protocol has been obsoleted by "ST2" (RFC 1819) Detected by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Suggested by: Matt Crawford <crawdad@fnal.gov> Notes: svn path=/head/; revision=47826
* Localize NEQN part tooAndrey A. Chernov1999-06-072-2/+13
| | | | Notes: svn path=/head/; revision=47825
* Add ability to read/write localized manpagesAndrey A. Chernov1999-06-073-2/+163
| | | | Notes: svn path=/head/; revision=47823
* ksprintn() may be called with base=2, so redefine MAXNBUF accordingly.Archie Cobbs1999-06-071-18/+19
| | | | | | | | | Other brucification tweaks. Obtained from: bde@freebsd.org Notes: svn path=/head/; revision=47822
* Fixed previous fix (dad -> rda via rad).Bruce Evans1999-06-071-3/+3
| | | | Notes: svn path=/head/; revision=47821
* Separate the pftp and FTP_PASSIVE_MODE tests so gate mode works again.Dag-Erling Smørgrav1999-06-071-4/+7
| | | | | | | | | | | | | PR: bin/12070 Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk> Specifically check that FTP_PASSIVE_MODE is set to YES, rather than just checking if it is defined. Discussed on: freebsd-current Notes: svn path=/head/; revision=47820
* Ensure that host_addr (which is returned in struct hostent::h_addr_list[0])Dmitrij Tejblum1999-06-071-2/+2
| | | | | | | is aligned so that pointer to it can be safely casted to struct in_addr *. Notes: svn path=/head/; revision=47819
* Changes from OpenBSD:Kris Kennaway1999-06-073-16/+27
| | | | | | | | | | | | | * Better usage() - correct syntax, display available commands instead of examples * Accept command abbreviations * sprintf -> snprintf (for paranoia) * manpage capitalisation tweak Obtained from: OpenBSD Notes: svn path=/head/; revision=47816
* Correct typos.Joseph Koshy1999-06-071-3/+3
| | | | | | | | PR: docs/12068 Submitted by: Steve Coltrin <spcoltri@io.com> Notes: svn path=/head/; revision=47814
* Spell the .St macro correctly.Steve Price1999-06-071-1/+1
| | | | | | | PR: 11704 Notes: svn path=/head/; revision=47812
* Spell isinf(3) correctly.Steve Price1999-06-071-1/+1
| | | | | | | PR: 11974 Notes: svn path=/head/; revision=47810
* Add a clarification in the man page suggesting that some tapesMatt Jacob1999-06-061-3/+9
| | | | | | | | | | | (QIC) written under 2.X may not be easily read under the current driver without explicitly setting to variable mode or to the blocksize these tapes were written under 2.X with. PR: 6681 Notes: svn path=/head/; revision=47794
* The FD options are now in /sys/conf/options so need to duplicate themSteve Price1999-06-062-8/+2
| | | | | | | here and keep people from building new kernels. :) Notes: svn path=/head/; revision=47793
* fix (non destructive) braino to do with quoting in makefiles.Julian Elischer1999-06-061-2/+2
| | | | Notes: svn path=/head/; revision=47791
* Small optimization: use wi_seek() in wi_read_record() and wi_write_record()Bill Paul1999-06-062-54/+18
| | | | | | | | instead of frobbing the buffer access path registers directly. Saves a few lines of duplicated code. Notes: svn path=/head/; revision=47789
* Call do_ctors() and do_dtors() using indirect calls through functionJohn Polstra1999-06-061-3/+12
| | | | | | | | | | pointers. The calls are in different sections from the functions being called, and they can potentially be far away. On a very large program, the 21-bit displacement field of the BSR instruction overflowed at link time. Notes: svn path=/head/; revision=47788
* Correct description of -c and -w optionsKris Kennaway1999-06-061-8/+10
| | | | | | | | Inspired by: PR docs/11774 Submitted by: Chad R. Larson <chad@freeway.dcfinc.com> Notes: svn path=/head/; revision=47786
* Update of intro(2)/errno(2) in the ongoing effort of the Programmer'sJustin M. Seger1999-06-061-0/+25
| | | | | | | | | | Documentation Project <http://home.wxs.nl/~asmodai/pdp.html> Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl> PR: docs/12030 Notes: svn path=/head/; revision=47785
* Since FreeBSD can be used as sniffer, update the /etc/protocols fileAndreas Klemm1999-06-061-9/+102
| | | | | | | | | | | after demand of two people and no objections: - included all registered protocols, so it's now a useful reference as well - renamed title to reflect new content (deleted word "IP", since all registered internet protocols are included now) - corrected URL (file isn't hosted by iana.org anymore) Notes: svn path=/head/; revision=47783
* Sync with sys/i386/conf/majors.i386 revision 1.76.KATO Takenori1999-06-061-1/+2
| | | | Notes: svn path=/head/; revision=47781
* Sync with sys/boot/i386/libi386/bootinfo.c revision 1.19.KATO Takenori1999-06-061-1/+5
| | | | Notes: svn path=/head/; revision=47780
* Reserve cdev major 126 for sync support.Poul-Henning Kamp1999-06-062-2/+4
| | | | Notes: svn path=/head/; revision=47779
* typo in previous commitPoul-Henning Kamp1999-06-061-2/+2
| | | | Notes: svn path=/head/; revision=47778
* Introduce IFF_SMART bit.Poul-Henning Kamp1999-06-063-8/+12
| | | | | | | | | | | This means that the driver will add/delete routes when it knows it is up/down, rather than have the generic code belive it is up if configured. This is probably most useful for serial lines, although many PHY chips could probably tell us if we're connected to the cable/hub as well. Notes: svn path=/head/; revision=47777
* The -perm option takes argument [-]mode, not [-mode]Kris Kennaway1999-06-061-3/+6
| | | | | | | Obtained from: NetBSD, by way of OpenBSD Notes: svn path=/head/; revision=47776
* sprintf -> snprintfKris Kennaway1999-06-061-2/+3
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=47775
* The function ksprintn(), which is used to convert numbers to ASCII, is notArchie Cobbs1999-06-061-8/+14
| | | | | | | | reentrant because it returns a static buffer. This results in a race condition when/if an interrupt handler calls log(), printf() etc. Fix this. Notes: svn path=/head/; revision=47773
* Correct the way ppp transfers links on the server side in MPBrian Somers1999-06-0511-35/+137
| | | | | | | | | | | | mode by padding out the ``struct device'' to the maximum device size. Bump the ppp version number to indicate the transfer format change. This should make MP over tty and udp devices functional again. Notes: svn path=/head/; revision=47769
* Store the start time for later so it can be reprinted at the end.Julian Elischer1999-06-051-2/+4
| | | | | | | Reviewed by: terry Notes: svn path=/head/; revision=47767
* - When trying to decide if $EDITOR == "vi", match against only the firstTim Vanderhoek1999-06-051-5/+28
| | | | | | | | | | two characters of $EDITOR. This allows things like "vim" and "vi -G" (although nvi would fail...oh well). - Avoid certain cases where the editor is passed an invalid line number. Notes: svn path=/head/; revision=47766
* vm_mmap:Alan Cox1999-06-051-3/+4
| | | | | | | | | | Insure that device mappings get MAP_PREFAULT(_PARTIAL) set, so that 4M page mappings are used when possible. Reviewed by: Luoqi Chen <luoqi@watermarkgroup.com> Notes: svn path=/head/; revision=47765
* Fix an accounting problem when prefaulting 4M pages.Luoqi Chen1999-06-052-4/+4
| | | | | | | PR: kern/11948 Notes: svn path=/head/; revision=47763
* remove getopt & friend declarations, now unistd.h includedAndrey A. Chernov1999-06-051-3/+0
| | | | Notes: svn path=/head/; revision=47762
* fix typo preventing to include unistd.hAndrey A. Chernov1999-06-051-1/+1
| | | | Notes: svn path=/head/; revision=47761
* Fix a width.Ruslan Ermilov1999-06-051-1/+1
| | | | Notes: svn path=/head/; revision=47758
* Floppy driver options moved to conf/options.Doug Rabson1999-06-053-9/+6
| | | | Notes: svn path=/head/; revision=47757
* * Implement ISA dma (only for CIA now but more chipsets to follow).Doug Rabson1999-06-0513-20/+1115
| | | | | | | * Port the fd driver to alpha. Notes: svn path=/head/; revision=47756
* Don't discard error output from sysctl(8).Bruce Evans1999-06-057-98/+112
| | | | | | | | | | | | | Do discard standard output from the sysctl for approxy_all, and echo what this sysctl is doing in the usual way. This fix is probably backwards. We should probably just use the standard sysctl output in all cases (it needs to have a newline filtered out). Echo what the sysctls for nfs_reserved_port_only and nfs_access_cache are doing. Notes: svn path=/head/; revision=47755
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofArchie Cobbs1999-06-053-9/+15
| | | | | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism. Notes: svn path=/head/; revision=47754
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofArchie Cobbs1999-06-051-5/+5
| | | | | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism. Notes: svn path=/head/; revision=47753
* Add handle to control global TCP keepalives and turn them on asPoul-Henning Kamp1999-06-058-8/+44
| | | | | | | | | | | | | | | | | | | | default. Despite their name it doesn't keep TCP sessions alive, it kills them if the other end has gone AWOL. This happens a lot with clients which use NAT, dynamic IP assignment or which has a 2^32 * 10^-3 seconds upper bound on their uptime. There is no detectable increase in network trafic because of this: two minimal TCP packets every two hours for a live TCP connection. Many servers already enable keepalives themselves. The host requirements RFC is 10 years old, and doesn't know about the loosing clients of todays InterNet. Notes: svn path=/head/; revision=47752
* Various changes lifted from the OpenBSD cvs tree:Peter Wemm1999-06-0519-165/+228
| | | | | | | | | | | | | | | | | | txdr_hyper and fxdr_hyper tweaks to avoid excessive CPU order knowledge. nfs_serv.c: don't call nfsm_adj() with negative values, windows clients could crash servers when doing a readdir of a large directory. nfs_socket.c: Use IP_PORTRANGE to get a priviliged port without a spin loop trying to bind(). Don't clobber a mbuf pointer or we get panics on a NFS3ERR_JUKEBOX error from a server when reusing a freed mbuf. nfs_subs.c: Don't loose st_blocks on NFSv2 mounts when > 2GB. Obtained from: OpenBSD Notes: svn path=/head/; revision=47751
* Fix a malloc racePeter Wemm1999-06-052-6/+24
| | | | | | | Obtained from: OpenBSD (csapuntz) Notes: svn path=/head/; revision=47750
* Don't mistake a non-async block that needs to be committed for anPeter Wemm1999-06-052-4/+4
| | | | | | | | | interrupted write. Obtained from: fvdl@NetBSD.org via OpenBSD. Notes: svn path=/head/; revision=47749
* Restructure pipe_read in order to eliminate several race conditions.Alan Cox1999-06-051-68/+46
| | | | | | | Submitted by: Matthew Dillon <dillon@apollo.backplane.com> and myself Notes: svn path=/head/; revision=47748
* Support the IANA definition of Shift Jis nameley ja_JP.Shift_JISJulian Elischer1999-06-057-9/+24
| | | | | | | as well as the X11 version ja_JP.SJIS Notes: svn path=/head/; revision=47746
* Change an internal variable from "class" to "ns_class" for C++'s benefit.Peter Wemm1999-06-042-5/+5
| | | | | | | | | Apparently BIND-8.2.1 uses ns_class. Submitted by: John Plevyak <jplevyak@inktomi.com> Notes: svn path=/head/; revision=47742
* No, the space required for a string is strlen() _plus_ one... Oops.Tim Vanderhoek1999-06-041-3/+2
| | | | Notes: svn path=/head/; revision=47741
* Fixed null setting of `rc_started'. This was fixed for theBruce Evans1999-06-042-14/+4
| | | | | | | | | | | | | corresponding variable `rc_wakeup_started' in rev.1.36 but broken again in rev.1.37. This bug only caused excessive polling (it gave NRC activations for each of the SWI handler and the timeout handler instead of 1 of each). Moved cdevsw attachment from the driver probe routine to the driver attach routine. Notes: svn path=/head/; revision=47739
* Really fix cy-driver-related panics when SMP is configured. Rev.1.88 onlyBruce Evans1999-06-043-9/+15
| | | | | | | | | fixed half the problem. Tested by: Michael Scott Boers <mboers@datacompusa.com> Notes: svn path=/head/; revision=47737