]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoFix man page structures/constants to match recent changes in acl.h
Robert Watson [Fri, 28 Jan 2000 15:22:51 +0000 (15:22 +0000)]
Fix man page structures/constants to match recent changes in acl.h
Fix a few more namespace messes and whitespace curiosities in acl.h
Fix comments in acl.h
Clean up some function prototypes from acl.h that won't be committed
    before the code freeze.

Some of this kindly pointed out by: the ever patient bde

24 years agoAllow for cdldr to be built in ${.OBJDIR}/../cdldr/cdldr instead of
John Baldwin [Fri, 28 Jan 2000 15:19:22 +0000 (15:19 +0000)]
Allow for cdldr to be built in ${.OBJDIR}/../cdldr/cdldr instead of
only looking for it in ${.CURDIR}/../cdldr/cdldr.  This fixes world.

24 years agoUpdate for ntp 4.0.99b.
Ollivier Robert [Fri, 28 Jan 2000 15:13:45 +0000 (15:13 +0000)]
Update for ntp 4.0.99b.

24 years agoUpdate to 4.0.99b. According to Harlan Stenn, the things holding the
Ollivier Robert [Fri, 28 Jan 2000 15:05:59 +0000 (15:05 +0000)]
Update to 4.0.99b. According to Harlan Stenn, the things holding the
release of 4.1.0 are not FreeBSD-related so importing this one is
not a problem.

24 years agoMerge conflicts with the import of 4.0.99b.
Ollivier Robert [Fri, 28 Jan 2000 15:02:35 +0000 (15:02 +0000)]
Merge conflicts with the import of 4.0.99b.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r56746,
Ollivier Robert [Fri, 28 Jan 2000 14:55:50 +0000 (14:55 +0000)]
This commit was generated by cvs2svn to compensate for changes in r56746,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of ntpd 4.0.99b
Ollivier Robert [Fri, 28 Jan 2000 14:55:50 +0000 (14:55 +0000)]
Virgin import of ntpd 4.0.99b

24 years agoFixed world breakage (wrong path to pim6stat).
Bruce Evans [Fri, 28 Jan 2000 13:53:11 +0000 (13:53 +0000)]
Fixed world breakage (wrong path to pim6stat).

Fixed other bugs in special install rule (2 cosmetic, 2 non-cosmetic).

24 years agoCleanup the ata_dmainit function a bit.
Søren Schmidt [Fri, 28 Jan 2000 13:35:43 +0000 (13:35 +0000)]
Cleanup the ata_dmainit function a bit.
Also allow BIOS setup DMA on unknown controllers.

24 years agoBackout diffs which should not be included.
Yoshinobu Inoue [Fri, 28 Jan 2000 13:16:34 +0000 (13:16 +0000)]
Backout diffs which should not be included.

24 years agoNull commit. This is only to record that the problems mentioned in
Joerg Wunsch [Fri, 28 Jan 2000 13:05:55 +0000 (13:05 +0000)]
Null commit.  This is only to record that the problems mentioned in
the message of rev 1.20 only seem to happen after the recent upgrade
to groff v 1.15.  Anyway, using comments instead of \c seems to be a
safe way (IMHO), so it should stay.

24 years agoCorrect the list of error messages. It was incomplete.
Nick Hibma [Fri, 28 Jan 2000 13:05:26 +0000 (13:05 +0000)]
Correct the list of error messages. It was incomplete.

24 years agoChanged setflags() to set_flags(). This fixes part of the world breakage
Bruce Evans [Fri, 28 Jan 2000 12:44:50 +0000 (12:44 +0000)]
Changed setflags() to set_flags().  This fixes part of the world breakage
due to recently incremented namespace pollution in <unistd.h>.

24 years agoRemove the i386 bit from the manpage which was left there due
Jeroen Ruigrok van der Werven [Fri, 28 Jan 2000 12:24:53 +0000 (12:24 +0000)]
Remove the i386 bit from the manpage which was left there due
to my misunderstanding.

24 years ago#This is a null commit to give correct description for the previous change.
Yoshinobu Inoue [Fri, 28 Jan 2000 12:17:49 +0000 (12:17 +0000)]
#This is a null commit to give correct description for the previous change.
#Please forget the strange log message of the previous commit .

IPv6 multicast routing.
  kernel IPv6 multicast routing support.
  pim6 dense mode daemon
  pim6 sparse mode daemon
  netstat support of IPv6 multicast routing statistics

  Merging to the current and testing with other existing multicast routers
  is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances
  the base code in KAME distribution.

  Make world check and kernel build check was also successful.

Obtained from: KAME project

24 years agoFixed a memory leak for slices with an (unsupported) bad sector table.
Bruce Evans [Fri, 28 Jan 2000 11:51:08 +0000 (11:51 +0000)]
Fixed a memory leak for slices with an (unsupported) bad sector table.
Broken in: rev.1.80.

24 years agoUpdate this with the additional nets recomended by reading
Rodney W. Grimes [Fri, 28 Jan 2000 11:30:28 +0000 (11:30 +0000)]
Update this with the additional nets recomended by reading
draft-manning-dsua-01.txt.

Stop using public addresses as samples and use the recommended
192.0.2.0/24 netblock that has specifically been set aside for
documentation purposes.

Reviewed by: readers of freebsd-security did not respond to a request
                for review

24 years agoAdd ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered module
Bruce Evans [Fri, 28 Jan 2000 11:26:46 +0000 (11:26 +0000)]
Add ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered module
makefiles.  Bad examples in fxp/Makefile keep getting copied to new
makefiles.

24 years agoRegen.
Nick Hibma [Fri, 28 Jan 2000 10:31:12 +0000 (10:31 +0000)]
Regen.

24 years agoCorrect the entry for the Kodak DC290.
Nick Hibma [Fri, 28 Jan 2000 10:26:29 +0000 (10:26 +0000)]
Correct the entry for the Kodak DC290.

Submitted By: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>

24 years agoDon't permit generation of non-physical disk addresses.
Bruce Evans [Fri, 28 Jan 2000 10:22:07 +0000 (10:22 +0000)]
Don't permit generation of non-physical disk addresses.

subr_diskmbr.c:
Don't "helpfully" enlarge our idea of the disk size to cover all the
primary slices.  Instead, truncate or discard slices that don't seem
to be on the disk.  The enlargement was a hack for disks that don't
report their size (e.g., MFM disks).  It is just wrong in general.

wd.c:
In CHS mode, limit the disk size so that cylinder numbers >= 65536
cannot occur.  This normally only affects disks larger than 33.8GB.
CHS mode accesses to addresses above the limit are now properly broken
(an error is returned instead of garbage for reads and disk corruption
for writes).

PR: 15611
Reviewed by: readers of freebsd-bugs did not respond to a request
             for review

24 years agoFix English, mdoc and layout of the previous commit, as requested by
Sheldon Hearn [Fri, 28 Jan 2000 10:21:19 +0000 (10:21 +0000)]
Fix English, mdoc and layout of the previous commit, as requested by
the committer (shin).  While I don't have permission for this change
from the inetd maintainer (des), I assume that shin has permission
and I'm just fixing his contribution up for him.

Okay, I couldn't resist, I made some extra changes:

* Replace ".Tn FreeBSD" with .Fx
* Make the illegal TCPMUX and IPSEC sections legal subsections
  of the IMPLEMENTATION NOTES section.

Requested by: shin

24 years agoTrack internal(!) libc symbol naming change.
Jason Evans [Fri, 28 Jan 2000 08:49:23 +0000 (08:49 +0000)]
Track internal(!) libc symbol naming change.

24 years agoFix misunderstanding that ata(4) is i386 only. Since this file has
Jeroen Ruigrok van der Werven [Fri, 28 Jan 2000 08:41:04 +0000 (08:41 +0000)]
Fix misunderstanding that ata(4) is i386 only.  Since this file has
no history, it does not warrant repo action.

24 years agoOops, fix compile error due to the new way of storing the transfer mode.
Søren Schmidt [Fri, 28 Jan 2000 08:03:21 +0000 (08:03 +0000)]
Oops, fix compile error due to the new way of storing the transfer mode.

24 years agoMerged with sys/i386/conf/GENERIC rev 1.238.
KATO Takenori [Fri, 28 Jan 2000 07:15:23 +0000 (07:15 +0000)]
Merged with sys/i386/conf/GENERIC rev 1.238.

24 years agoInstall setflags.3 and its link to getflags.3.
Bruce Evans [Fri, 28 Jan 2000 07:14:52 +0000 (07:14 +0000)]
Install setflags.3 and its link to getflags.3.

24 years agoChanged setflags() to set_flags(). This fixes world breakage due to
Bruce Evans [Fri, 28 Jan 2000 07:12:03 +0000 (07:12 +0000)]
Changed setflags() to set_flags().  This fixes world breakage due to
recently incremented namespace pollution in <unistd.h>.

24 years agoMitigate the stream.c attacks
Warner Losh [Fri, 28 Jan 2000 06:13:09 +0000 (06:13 +0000)]
Mitigate the stream.c attacks

o Drop all broadcast and multicast source addresses in tcp_input.
o Enable ICMP_BANDLIM in GENERIC.
o Change default to 200/s from 100/s.  This will still stop the attack, but
  is conservative enough to do this close to code freeze.

This is not the optimal patch for the problem, but is likely the least
intrusive patch that can be made for this.

Obtained from: Don Lewis and Matt Dillon.
Reviewed by: freebsd-security

24 years agoSorry I didn't commit these files at the commit just a few minutes before.
Yoshinobu Inoue [Fri, 28 Jan 2000 05:27:14 +0000 (05:27 +0000)]
Sorry I didn't commit these files at the commit just a few minutes before.
(IPv6 multicast routing)
I think I mistakenly touched TAB and the last arg sys/netinet6 to
the cvs commit changed to sys/netinet6/in6_proto.c.

24 years agoIPv6 multicast routing.
Yoshinobu Inoue [Fri, 28 Jan 2000 05:10:56 +0000 (05:10 +0000)]
IPv6 multicast routing.
  kernel IPv6 multicast routing support.
  pim6 dense mode daemon
  pim6 sparse mode daemon
  netstat support of IPv6 multicast routing statistics

  Merging to the current and testing with other existing multicast routers
  is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances
  the base code in KAME distribution.

  Make world check and kernel build check was also successful.

24 years agoAdd support for detection of the ESS 1688 found on my Dell Latitude LM
Andrew Gallatin [Fri, 28 Jan 2000 04:28:11 +0000 (04:28 +0000)]
Add support for detection of the ESS 1688 found on my Dell Latitude LM

24 years agoFixed sign and overflow bugs that caused the allocation size of the kernel
David Greenman [Fri, 28 Jan 2000 04:04:58 +0000 (04:04 +0000)]
Fixed sign and overflow bugs that caused the allocation size of the kernel
malloc region (kmem_map) to be wrong and semi-random on systems with more
than 1GB of RAM. This is not a complete fix, but is sufficient for
machines with 4GB or less of memory. A complete fix will require some
changes to the getenv stuff so that 64bit values can be passed around.

NOT FIXED: machines with more than 4GB of RAM (e.g. some large Alphas)
since we're still using ints to hold some of the values.

Reviewed by: bde

24 years agoImplement a machine-independent (word size-independent) FICL_TRUE.
Daniel C. Sobral [Fri, 28 Jan 2000 03:59:12 +0000 (03:59 +0000)]
Implement a machine-independent (word size-independent) FICL_TRUE.

24 years agoANS Forth for logical not is 0=, not invert. Replace wrong usage.
Daniel C. Sobral [Fri, 28 Jan 2000 03:41:39 +0000 (03:41 +0000)]
ANS Forth for logical not is 0=, not invert. Replace wrong usage.

24 years agoAdd testmain.o to CLEANFILES.
Daniel C. Sobral [Fri, 28 Jan 2000 03:07:25 +0000 (03:07 +0000)]
Add testmain.o to CLEANFILES.

24 years agoTry my hand again at removing ugly testmain target.
Daniel C. Sobral [Fri, 28 Jan 2000 02:40:23 +0000 (02:40 +0000)]
Try my hand again at removing ugly testmain target.

24 years agoWhen an attempt to install a line discipline fails, check for
Archie Cobbs [Fri, 28 Jan 2000 02:22:22 +0000 (02:22 +0000)]
When an attempt to install a line discipline fails, check for
known KLD's that might support it, and load the KLD if found.
Currently the list includes SLIPDISC, PPPDISC, and NETGRAPHDISC.

24 years agoFix a bug in the uhci driver that breaks large bulk IN transfers. The
Bill Paul [Fri, 28 Jan 2000 02:15:31 +0000 (02:15 +0000)]
Fix a bug in the uhci driver that breaks large bulk IN transfers. The
uhci_check_intr() routine needs to be more careful about deciding when
the end of a transfer has been detected.

This allows me to remove the nasty workaround code from if_aue and if_cue.
Receive performance is now much better for these adapters (500KB/sec
vs. 350KB/sec).

Also removed unused KUE_CUTOFF define from if_kuereg.h.

Submitted by: Lennart Augustsson
Reviewed by: n_hibma

24 years agoOK, I admit defeat - allow the user to override hostname and gateway
Jordan K. Hubbard [Fri, 28 Jan 2000 02:15:07 +0000 (02:15 +0000)]
OK, I admit defeat - allow the user to override hostname and gateway
values set by dhcp.

24 years agoMerge from sys/i386/conf/GENERIC revision 1.231, 1.232 and 1.235.
Yoshihiro Takahashi [Fri, 28 Jan 2000 01:07:48 +0000 (01:07 +0000)]
Merge from sys/i386/conf/GENERIC revision 1.231, 1.232 and 1.235.

24 years agoMerge from sys/conf/files.i386 revision 1.301.
Yoshihiro Takahashi [Fri, 28 Jan 2000 01:05:08 +0000 (01:05 +0000)]
Merge from sys/conf/files.i386 revision 1.301.

24 years agoNo need to try loading ng_socket.ko, as NgMkSockNode() does that
Archie Cobbs [Fri, 28 Jan 2000 00:50:28 +0000 (00:50 +0000)]
No need to try loading ng_socket.ko, as NgMkSockNode() does that
for us now if necessary.

24 years agoHave NgMkSockNode() load the socket node type KLD if it's not
Archie Cobbs [Fri, 28 Jan 2000 00:48:27 +0000 (00:48 +0000)]
Have NgMkSockNode() load the socket node type KLD if it's not
already loaded (indicated by EPROTONOSUPPORT from socket(2)).

24 years agoAdd another netgraph example. This one shows how to set up a simple
Archie Cobbs [Fri, 28 Jan 2000 00:44:30 +0000 (00:44 +0000)]
Add another netgraph example. This one shows how to set up a simple
UDP tunnel between two subnets.

24 years agoThe values for OHCI_HALTED and OHCI_TOGGLECARRY were reversed.
Nick Hibma [Fri, 28 Jan 2000 00:03:45 +0000 (00:03 +0000)]
The values for OHCI_HALTED and OHCI_TOGGLECARRY were reversed.

24 years agoAdd some practical filter examples.
Brian Somers [Thu, 27 Jan 2000 23:57:43 +0000 (23:57 +0000)]
Add some practical filter examples.

24 years agoRedo the intrq.c idea as
Brian Somers [Thu, 27 Jan 2000 23:37:39 +0000 (23:37 +0000)]
Redo the intrq.c idea as

  int family_enqueue(sa_family_t, struct mbuf *);

24 years agoMove the defines to the right location.
Nick Hibma [Thu, 27 Jan 2000 23:25:58 +0000 (23:25 +0000)]
Move the defines to the right location.

Add a DIAGNOSTIC when closing interrupt pipes.

Insert splx(s) which were left out with iso pipes (non-functional yet) and
in a DIAGNOSTIC.

24 years agoAdd umass.c
Nick Hibma [Thu, 27 Jan 2000 23:19:14 +0000 (23:19 +0000)]
Add umass.c

24 years agoBump __FreeBSD_version and __FreeBSD_cc_version due to the C++ ABI change
David E. O'Brien [Thu, 27 Jan 2000 23:12:38 +0000 (23:12 +0000)]
Bump __FreeBSD_version and __FreeBSD_cc_version due to the C++ ABI change
in GCC 2.95.2 from -fvtable-thunks to -fno-vtable-thunks by default.

24 years agoAdd 'config auto' confirmed entries.
Mitsuru IWASAKI [Thu, 27 Jan 2000 23:09:13 +0000 (23:09 +0000)]
Add 'config auto' confirmed entries.

Submitted by: Atsushi Onoe <onoe@sm.sony.co.jp>,
YAMAMOTO Shigeru <shigeru@iij.ad.jp>,
Masahide -mac- NODA <mac@clave.gr.jp>

24 years agoSimplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),
Jason Evans [Thu, 27 Jan 2000 23:07:25 +0000 (23:07 +0000)]
Simplify sytem call renaming.  Instead of _foo() <-- _libc_foo <-- foo(),
just use _foo() <-- foo().  In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate.  In the case of libc_r, we still need three names, which are
now _thread_sys_foo() <-- _foo() <-- foo().

Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().

Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().

Make thread cancellation fully POSIX-compliant.

Suggested by: deischen

24 years agoRevert to rev 1.3 since the sed'ing is wrong. Revisit this after 4.0-RELEASE.
David E. O'Brien [Thu, 27 Jan 2000 22:52:43 +0000 (22:52 +0000)]
Revert to rev 1.3 since the sed'ing is wrong.  Revisit this after 4.0-RELEASE.

24 years agoWelcome the ata(4) manpage. This will be highly used for 4.x.
Jeroen Ruigrok van der Werven [Thu, 27 Jan 2000 22:39:53 +0000 (22:39 +0000)]
Welcome the ata(4) manpage.  This will be highly used for 4.x.
(I hope)

Submitted by: sos
Reviewed by: sos, Dan Langille <reviews@freebsddiary.org>

24 years agoInclude ddb/db_sysctl.c when compiling with 'options DDB'.
Archie Cobbs [Thu, 27 Jan 2000 22:29:19 +0000 (22:29 +0000)]
Include ddb/db_sysctl.c when compiling with 'options DDB'.

24 years agoAdd a new sysctl "debug.enter_debugger" (when the kernel is compiled
Archie Cobbs [Thu, 27 Jan 2000 22:27:34 +0000 (22:27 +0000)]
Add a new sysctl "debug.enter_debugger" (when the kernel is compiled
with 'options DDB').  Setting this to `ddb' or `gdb' breaks into the
kernel debugger in the corresponding mode.  This mechanism has proven
very useful at Whistle for setting breakpoints, etc., while doing
remote serial line kernel debugging.

Obtained from: Whistle source tree

24 years agoAdd the new cdldr CD bootstrap loader. This patch includes the following:
John Baldwin [Thu, 27 Jan 2000 21:21:01 +0000 (21:21 +0000)]
Add the new cdldr CD bootstrap loader.  This patch includes the following:

- Fix btxldr to preserve a NULL bootinfo pointer when it copies the kernel
  arguments.
- Add the cdldr bootstrap program.  This program is tacked onto the
  beginning of the standard 3rd stage boot loader (/boot/loader) to form
  the CD boot loader (/boot/cdboot).  When a CD is booted, the cdboot file
  is copied into memory instead and executed.  The cdldr stub emulates the
  environment normally provided by boot2 and then starts the loader.  This
  booting method does not emulate a floppy drive, but boots directly off of
  the CD.  This should fix the problems some BIOS's have with emulating a
  2.88 MB floppy image.
- Add support to the loader to recognize that it has been booted by cdldr
  instead of boot2 and use a simpler method of extracting the BIOS boot
  device.

24 years agoHistorically file flags (schg, uschg, etc) have been converted from
Josef Karthauser [Thu, 27 Jan 2000 21:17:01 +0000 (21:17 +0000)]
Historically file flags (schg, uschg, etc) have been converted from
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'.  As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.

Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.

There are two already existing libc functions for manipulating file
modes:  setmode and getmode.  In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.

The manual page could probably be improved upon ;)

24 years agoFix brokenness introduced with the PAGING conditional variable. The value
John Baldwin [Thu, 27 Jan 2000 21:06:13 +0000 (21:06 +0000)]
Fix brokenness introduced with the PAGING conditional variable.  The value
of %cr0 wasn't reloaded into %eax before being modified to turn protected
mode off if PAGING was not defined.  The result was that the processor did
not exit protected mode, so when it tried to jump to segment 0x0 in the
next instruction to clear the prefetch cache like one should when leaving
protected mode, it actually tried to jump to a null selector, causing a
GPF.

24 years agocleanup using suggestions from bde
Michael Haro [Thu, 27 Jan 2000 20:55:09 +0000 (20:55 +0000)]
cleanup using suggestions from bde

24 years agoFix some typos. Mention DM9102A support. Mention support for built-in
Bill Paul [Thu, 27 Jan 2000 19:30:31 +0000 (19:30 +0000)]
Fix some typos. Mention DM9102A support. Mention support for built-in
ethernet on some Compaq Presario machines. Mention support for built-in
ethernet on LinkSys GigaDrive. :)

24 years agoCompletely remove ATA_16BIT_ONLY, since this is done automatically
Jeroen Ruigrok van der Werven [Thu, 27 Jan 2000 19:28:15 +0000 (19:28 +0000)]
Completely remove ATA_16BIT_ONLY, since this is done automatically
by the ata driver nowadays.

OK'd by: sos,peter

24 years agoRemove 'USE_INET6' define. Now we check IPv6 ability by 'OSVERSION'
Munechika SUMIKAWA [Thu, 27 Jan 2000 19:17:33 +0000 (19:17 +0000)]
Remove 'USE_INET6' define. Now we check IPv6 ability by 'OSVERSION'

Suggested by: asami

24 years agoAdd sysctl oid hw.atamodes to set the transfermodes online.
Søren Schmidt [Thu, 27 Jan 2000 19:00:51 +0000 (19:00 +0000)]
Add sysctl oid hw.atamodes to set the transfermodes online.

24 years agoremove the ATA_16BIT_ONLY options, its now automatic.
Søren Schmidt [Thu, 27 Jan 2000 18:53:41 +0000 (18:53 +0000)]
remove the ATA_16BIT_ONLY options, its now automatic.

24 years agoFix a problem that caused the generation of an (almost) empty first
Joerg Wunsch [Thu, 27 Jan 2000 17:56:41 +0000 (17:56 +0000)]
Fix a problem that caused the generation of an (almost) empty first
page of -mdoc manual pages in troff mode.  The problem has been
introduced in rev 1.12; apparently ending a line inside a macro
definition with \c doesn't behave as Bill expected, and troff was
fooled to believe previous output was already pending thus a new page
needed to be emitted.  Using a troff comment .\" instead of \c seems
to solve this, alas the brain^Wnice sed(1) magic needs to be taught to
_not_ strip those comments now.

I think -stable is not affected by this.

24 years agoRemoved ATA_STATIC_ID and ATA_16BIT_ONLY from the undocumented
Jeroen Ruigrok van der Werven [Thu, 27 Jan 2000 17:41:38 +0000 (17:41 +0000)]
Removed ATA_STATIC_ID and ATA_16BIT_ONLY from the undocumented
options section, since they are documented higher up in the
file.

Probably forgotten by: sos

24 years agoAvoid core dump when ai_canonname is NULL.
Yoshinobu Inoue [Thu, 27 Jan 2000 17:24:53 +0000 (17:24 +0000)]
Avoid core dump when ai_canonname is NULL.
(Now this happens for numeric addrs, as getaddrinfo() 1.3 -> 1.4 change)

Reviewed by: Mark Huizer <xaa@timewasters.nl>

24 years agoStyle change and comment difference per bde.
Matt Jacob [Thu, 27 Jan 2000 16:15:51 +0000 (16:15 +0000)]
Style change and comment difference per bde.

Obtained from:bde@freebsd.org
Marionette by:mjacob@freebsd.org

24 years agoo Back out rev 1.4 - reallocf() failure clobbers existing `environ'.
Ruslan Ermilov [Thu, 27 Jan 2000 16:12:03 +0000 (16:12 +0000)]
o Back out rev 1.4 - reallocf() failure clobbers existing `environ'.
o Do not override `environ' if realloc() fails, leave it intact.
o Set `alloced' only when memory is actually allocated.

PR: bin/5604 (2nd part)
Reviewed by: bde

24 years agoAvoid verbose error messages when ipsec initialization for sockets failed
Yoshinobu Inoue [Thu, 27 Jan 2000 14:46:15 +0000 (14:46 +0000)]
Avoid verbose error messages when ipsec initialization for sockets failed
usually, and print it only when debug is enabled.
(This always happens when kernel is configured without IPSEC option.)

24 years agoSupported non-512 bytes/sector format.
Yoshihiro Takahashi [Thu, 27 Jan 2000 14:43:07 +0000 (14:43 +0000)]
Supported non-512 bytes/sector format.

PR: misc/12992
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) and
Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
Reviewed by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>

24 years agoMove if_tun back to the common section now that it works on the Alpha.
Peter Wemm [Thu, 27 Jan 2000 13:42:42 +0000 (13:42 +0000)]
Move if_tun back to the common section now that it works on the Alpha.

Tested by: make world

24 years agoAllow reverse lookup for loopback addr.
Yoshinobu Inoue [Thu, 27 Jan 2000 13:00:14 +0000 (13:00 +0000)]
Allow reverse lookup for loopback addr.
This is merge from recent KAME fix to be more compliant with RFC2553.

Obtained from: KAME project

24 years agoAdd more PCI VGA graphics card descriptions.
Kazutaka YOKOTA [Thu, 27 Jan 2000 12:02:06 +0000 (12:02 +0000)]
Add more PCI VGA graphics card descriptions.

PR: 10095, 15299, 13850, 16356
Submitted by:  Alex Zepeda, Vladimir Kushnir, Alex Vasylenko, Alex.
Obtained from: XFree86 and NetBSD

24 years agoAdded ip6_forwarding check when prefix related ioctl is called.
Yoshinobu Inoue [Thu, 27 Jan 2000 10:04:28 +0000 (10:04 +0000)]
Added ip6_forwarding check when prefix related ioctl is called.
(prefix related ioctl should only be called on router,
because host use dynamic address and prefix configuration mechanism,
and those prefix are managed separately with ones whih are assined
manually.)

24 years agoanother tcp apps IPv6 updates.(should be make world safe)
Yoshinobu Inoue [Thu, 27 Jan 2000 09:28:38 +0000 (09:28 +0000)]
another tcp apps IPv6 updates.(should be make world safe)
  ftp, telnet, ftpd, faithd
  also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project

24 years agoFixes for my mandoc braindamage.
David E. O'Brien [Thu, 27 Jan 2000 09:00:51 +0000 (09:00 +0000)]
Fixes for my mandoc braindamage.

Submitted by: sheldonh

24 years agoA cleaner fix to previous.
Matt Jacob [Thu, 27 Jan 2000 07:58:27 +0000 (07:58 +0000)]
A cleaner fix to previous.
Obtained from:bde@freebsd.org

24 years agoForced commit; should be no changes except the $FreeBSD$ line. I'm
Peter Wemm [Thu, 27 Jan 2000 07:37:36 +0000 (07:37 +0000)]
Forced commit; should be no changes except the $FreeBSD$ line.  I'm
forcing this because of hints of 'cvs wierdness' that might have caused
the ppbus_if.m errors for a few folks.

24 years agoRe-worded the NetWare support following some notes from Boris.
Wes Peters [Thu, 27 Jan 2000 06:50:40 +0000 (06:50 +0000)]
Re-worded the NetWare support following some notes from Boris.

Submitted by: Boris Popov, mostly.

24 years agoFix ctags from core dumping on alpha. Let the diffs out to review,
Matt Jacob [Thu, 27 Jan 2000 05:46:58 +0000 (05:46 +0000)]
Fix ctags from core dumping on alpha. Let the diffs out to review,
but I timed out. Added FreeBSD CVS header.

24 years agoQuick fix for stack overflow when there are more than about 25 slices.
Bruce Evans [Thu, 27 Jan 2000 05:11:29 +0000 (05:11 +0000)]
Quick fix for stack overflow when there are more than about 25 slices.

Using recursion to traverse the recursive data structure for extended
partitions was never good, but when slice support was implemented in
1995, the recursion worked for the default maximum number of slices
(32), and standard fdisk utilities didn't support creating more than
the default number.  Even then, corrupt extended partitions could
cause endless recursion, because we attempt to check all slices, even
ones which we don't turn into devices.

The recursion has succumbed to creeping features.  The stack requirements
for each level had grown to 204 bytes on i386's.  Most of the growth was
caused by adding a 64-byte copy of the DOSpartition table to each frame.
The kernel stack size has shrunk to about 5K on i386's.  Most of the
shrinkage was caused by the growth of `struct sigacts' by 2388 bytes
to support 128 signals.

Linux fdisk (a 1997 version at least) can now create 60 slices (4 standard
ones, 56 for logical drives within extended partitions, and it seems to
be leaving room to map the 4 BSD partitions on my test drive), and Linux
(2.2.29 and 2.3.35 at least) now reports all these slices at boot time.

The fix limits the recursion to 16 levels (4 + 16 slices) and recovers
32 bytes per level caused by gcc pessimizing for space.  Switching to
a static buffer doesn't cause any problems due to recursion, since the
buffer is not passed down.  Using a static buffer is wrong in general
because it requires the giant lock to protect it.  However, this problem
is small compared with using a static buffer for dsname().  We sometimes
neglect to copy the result of dsname() before sleeping.

Also fixed slice names when we find more than MAX_SLICES (32) slices.
The number of the last slice found was not passed passed recursively.
The limit on the recursion now prevents finding more than 32 slices
with a standard extended partition data structure anyway.

24 years agoUse a long line instead splitting a line with backslash-newline in synopsis.
Bruce Evans [Thu, 27 Jan 2000 03:04:11 +0000 (03:04 +0000)]
Use a long line instead splitting a line with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.

24 years agoFixed wrong includes in synopsis.
Bruce Evans [Thu, 27 Jan 2000 02:55:01 +0000 (02:55 +0000)]
Fixed wrong includes in synopsis.

Updated date.  1987 was a while ago.

Removed trailing comma in NAME section.

Uncapitalised Bindresvport and Bindresvport_sa in DESCRIPTION section.
Don't use .Nm there either.

Added bindresvport_sa() to the RETURN VALUES and ERROR sections.

24 years agoAdd control message ASCII conversion for this node type.
Archie Cobbs [Thu, 27 Jan 2000 01:32:53 +0000 (01:32 +0000)]
Add control message ASCII conversion for this node type.

24 years agoAdd soft updates to the set of things being tagged. Syntax cleanup.
Kirk McKusick [Thu, 27 Jan 2000 01:22:06 +0000 (01:22 +0000)]
Add soft updates to the set of things being tagged. Syntax cleanup.

24 years agoIf we're in callback mode, don't forget this fact when we
Brian Somers [Thu, 27 Jan 2000 00:40:25 +0000 (00:40 +0000)]
If we're in callback mode, don't forget this fact when we
get into datalink_Down().

Submitted by: David Hedley <david@inty.co.uk>

24 years agoActually ignore comments at the end of lines - broken with the commit
Brian Somers [Thu, 27 Jan 2000 00:40:10 +0000 (00:40 +0000)]
Actually ignore comments at the end of lines - broken with the commit
that made ppp *not* treat #s in quoted arguments as comments.

24 years agoDocument the memory leak that is inherent in FreeBSD's semantics
Archie Cobbs [Wed, 26 Jan 2000 22:10:56 +0000 (22:10 +0000)]
Document the memory leak that is inherent in FreeBSD's semantics
for getenv()/putenv().

PR: 10341 5604

24 years ago Fix catastrophic bug in NQNFS related to UDP mounts. The 'nqhost'
Matthew Dillon [Wed, 26 Jan 2000 20:51:29 +0000 (20:51 +0000)]
Fix catastrophic bug in NQNFS related to UDP mounts.  The 'nqhost'
    struct contains a major union for which lph_slp was being initialized
    only for TCP connections, but accessed for all types of connections
    leading to a crash.  Also, a conditional controlling an nfs_slplock()
    call contained an improper paren grouping, causing a second crash in
    the UDP case.

    The nqhost structure has been reorganized and lph_slp has been made a
    normal structural field rather then a union field, and properly
    initialized for all connection types.

Approved by: jkh

24 years agohandle simplex devices right
Cameron Grant [Wed, 26 Jan 2000 20:27:45 +0000 (20:27 +0000)]
handle simplex devices right

24 years agoDocument the -X flag.
Archie Cobbs [Wed, 26 Jan 2000 18:55:58 +0000 (18:55 +0000)]
Document the -X flag.

24 years agoAdd the -X flag to dump the buffer in "emacs-hexl" style,
Archie Cobbs [Wed, 26 Jan 2000 18:10:21 +0000 (18:10 +0000)]
Add the -X flag to dump the buffer in "emacs-hexl" style,
that is, with ASCII character decoding.

Obtained from: OpenBSD

24 years agoMerge from PAO; Add new keywords for pccard.conf, auto and default.
Mitsuru IWASAKI [Wed, 26 Jan 2000 17:54:00 +0000 (17:54 +0000)]
Merge from PAO; Add new keywords for pccard.conf, auto and default.
This will help importing pccard entries (and users :) from PAO
into -CURRENT.

24 years agoSigh. Really fix it this time. It seems the first time through the
Peter Wemm [Wed, 26 Jan 2000 17:38:51 +0000 (17:38 +0000)]
Sigh. Really fix it this time.  It seems the first time through the
run it would modify the source tree, causing it to fail the second
time around. Sigh.

24 years agoFix world breakage (kdump, truss) causes by rev 1.107 (adding dev/usb).
Peter Wemm [Wed, 26 Jan 2000 17:12:09 +0000 (17:12 +0000)]
Fix world breakage (kdump, truss) causes by rev 1.107 (adding dev/usb).
It was creating ${.OBJDIR}/${MACHINE}/usr/include/dev -> .../sys/dev
and mkioctls would descend that and saw *all* of src/sys/dev/*/*.h,
not just dev/usb/*.h.  It then choked on the dpt includes.

24 years agoAdd notes about NWFS client and NCP library for Boris.
Wes Peters [Wed, 26 Jan 2000 17:07:13 +0000 (17:07 +0000)]
Add notes about NWFS client and NCP library for Boris.

Submitted by: Boris Popov
Reviewed by: Brian Fundakowski Feldman

24 years agoRevision 1.3 is now taken care of in the base ncurses source.
Peter Wemm [Wed, 26 Jan 2000 16:55:09 +0000 (16:55 +0000)]
Revision 1.3 is now taken care of in the base ncurses source.