]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoMake a tighter test for valid inode numbers in getnextinode().
Kirk McKusick [Sat, 15 Jul 2000 18:28:36 +0000 (18:28 +0000)]
Make a tighter test for valid inode numbers in getnextinode().

23 years agoApply patch to the dc driver to handle Macronix MX98715AEC-C/D/E chips,
Bill Paul [Sat, 15 Jul 2000 17:54:30 +0000 (17:54 +0000)]
Apply patch to the dc driver to handle Macronix MX98715AEC-C/D/E chips,
which differ slightly from the Macronix MX98715AEC chip on the sample
adapter that I have in that the multicast hash table is only 128 bits
wide instead of 512. New adapters are popping up with this chip, and
due to improper handling of the smaller hash table, broadcast packets
were not being received correctly.

23 years agoFix octal numbers parsing
Andrey A. Chernov [Sat, 15 Jul 2000 17:17:33 +0000 (17:17 +0000)]
Fix octal numbers parsing

PR: 19950
Submitted by: Alexey Klimov <klim@unique.kiev.ua>

23 years agoFix systat to use the kern.ipc.mbtypes sysctl instead of referencing a
Alfred Perlstein [Sat, 15 Jul 2000 16:24:21 +0000 (16:24 +0000)]
Fix systat to use the kern.ipc.mbtypes sysctl instead of referencing a
structure member that doesn't exist anymore.
Use getsysctlbyname for kern.ipc.mbstat instead of sysctl.
Use netstat's method of displaying values from mtnames.

Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Missed by PR: 19809

23 years agoTo make inherit file flags when mv(1) moves file between directories
SADA Kenji [Sat, 15 Jul 2000 14:59:02 +0000 (14:59 +0000)]
To make inherit file flags when mv(1) moves file between directories
on different file systems.

PR: bin/12375
Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp>
No response by: steve
No problem with: building 5-current world

23 years agoRe-worded the description of the -r option
Mark Ovens [Sat, 15 Jul 2000 14:55:54 +0000 (14:55 +0000)]
Re-worded the description of the -r option

PR: 18792
Submitted by: Bob Johnson <bobj@atlantic.net>
Approved by: Alexander Langer <alex@freebsd.org>

23 years agoFixd with alias missing.
SADA Kenji [Sat, 15 Jul 2000 14:34:37 +0000 (14:34 +0000)]
Fixd with alias missing.

PR: bin/19475
Approved by: Martin Cracauer <cracauer@cons.org> (with conditions)

23 years agoShorten 49m attr resetting expression
Andrey A. Chernov [Sat, 15 Jul 2000 14:13:42 +0000 (14:13 +0000)]
Shorten 49m attr resetting expression

23 years agoReset corresponding color attributes on 39m and 49m
Andrey A. Chernov [Sat, 15 Jul 2000 13:46:57 +0000 (13:46 +0000)]
Reset corresponding color attributes on 39m and 49m
Unify comments related to color

23 years agoFix memory leak/double free found by phkmalloc
Andrey A. Chernov [Sat, 15 Jul 2000 13:37:47 +0000 (13:37 +0000)]
Fix memory leak/double free found by phkmalloc
Uniform mboot.bootinst allocation code to be independent of functions order

23 years agohave pcvt's non-console probe and attach routines called again in case
Hellmuth Michaelis [Sat, 15 Jul 2000 13:16:28 +0000 (13:16 +0000)]
have pcvt's non-console probe and attach routines called again in case
it is configured in the kernel.

23 years agoMention Joe Karthauser's addition of the "cdid" command to cdcontrol(1).
Ben Smithurst [Sat, 15 Jul 2000 13:08:23 +0000 (13:08 +0000)]
Mention Joe Karthauser's addition of the "cdid" command to cdcontrol(1).

23 years agoMake the NAME section a bit less confusing.
Ben Smithurst [Sat, 15 Jul 2000 13:04:33 +0000 (13:04 +0000)]
Make the NAME section a bit less confusing.

PR: 19262
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Reviewed by: sheldonh

23 years agoForced commit to add log message:
Andrzej Bialecki [Sat, 15 Jul 2000 10:36:01 +0000 (10:36 +0000)]
Forced commit to add log message:
Add share/examples/kld/dyn_sysctl.

23 years agoThese patches implement dynamic sysctls. It's possible now to add
Andrzej Bialecki [Sat, 15 Jul 2000 10:26:04 +0000 (10:26 +0000)]
These patches implement dynamic sysctls. It's possible now to add
and remove sysctl oids at will during runtime - they don't rely on
linker sets. Also, the node oids can be referenced by more than
one kernel user, which means that it's possible to create partially
overlapping trees.

Add sysctl contexts to help programmers manage multiple dynamic
oids in convenient way.

Please see the manpages for detailed discussion, and example module
for typical use.

This work is based on ideas and code snippets coming from many
people, among them:  Arun Sharma, Jonathan Lemon, Doug Rabson,
Brian Feldman, Kelly Yancey, Poul-Henning Kamp and others. I'd like
to specially thank Brian Feldman for detailed review and style
fixes.

PR: kern/16928
Reviewed by: dfr, green, phk

23 years ago*** empty log message ***
Andrzej Bialecki [Sat, 15 Jul 2000 10:18:46 +0000 (10:18 +0000)]
*** empty log message ***

23 years agoAdd SOFTUPDATES to GENERIC (BOOTMFS has this filtered out)
David E. O'Brien [Sat, 15 Jul 2000 06:06:42 +0000 (06:06 +0000)]
Add SOFTUPDATES to GENERIC  (BOOTMFS has this filtered out)

23 years agoMake mbstat.m_mtypes seperate and viewable via sysctl, also
Alfred Perlstein [Sat, 15 Jul 2000 06:02:48 +0000 (06:02 +0000)]
Make mbstat.m_mtypes seperate and viewable via sysctl, also
expand the size from short to ulong

Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
PR: kern/19809

23 years agoo Display only a short fortune at the root login prompt, as large ones
Robert Watson [Sat, 15 Jul 2000 03:25:14 +0000 (03:25 +0000)]
o Display only a short fortune at the root login prompt, as large ones
  scroll of our pretty /etc/motd that helps the user know what to do.
o Change reflects similar setting in /share/skel

23 years agoo Apply asmodai's spelling commit from /etc/root to dot.cshrc in /share/skel
Robert Watson [Sat, 15 Jul 2000 03:24:18 +0000 (03:24 +0000)]
o Apply asmodai's spelling commit from /etc/root to dot.cshrc in /share/skel
  also.

23 years agoAdmin some amount of responsibility for the current state of lpr/lpd.
Garrett Wollman [Sat, 15 Jul 2000 02:43:02 +0000 (02:43 +0000)]
Admin some amount of responsibility for the current state of lpr/lpd.
Also add Garance Drosihn who has been doing a great deal of work on
print systems.

23 years agoSet NG_INVALID flag when destroying node.
Archie Cobbs [Fri, 14 Jul 2000 22:35:13 +0000 (22:35 +0000)]
Set NG_INVALID flag when destroying node.

23 years agoDon't, when doing cam_fill_ctio, add a SIMPLE Q tag unless
Matt Jacob [Fri, 14 Jul 2000 21:09:25 +0000 (21:09 +0000)]
Don't, when doing cam_fill_ctio, add a SIMPLE Q tag unless
TAG_ACTION_VALID is set.

23 years agoWhoops- more changes in last checkin than TARGIODEBUG-
Matt Jacob [Fri, 14 Jul 2000 20:30:28 +0000 (20:30 +0000)]
Whoops- more changes in last checkin than TARGIODEBUG-
some additional TARGIOCCLEAREXCEPTION ioctls added as
needed.

Obtained from: gibbs@freebsd.org

23 years agoMake use of the new TARGIODEBUG ioctl (i.e., add an option for it's use).
Matt Jacob [Fri, 14 Jul 2000 20:26:59 +0000 (20:26 +0000)]
Make use of the new TARGIODEBUG ioctl (i.e., add an option for it's use).

23 years agoAdd documentation on the new logstr command.
Warner Losh [Fri, 14 Jul 2000 19:54:47 +0000 (19:54 +0000)]
Add documentation on the new logstr command.

23 years agoAdd new keyword "logstr". By default, we now use syslog outselves to
Warner Losh [Fri, 14 Jul 2000 19:46:35 +0000 (19:46 +0000)]
Add new keyword "logstr".  By default, we now use syslog outselves to
log insert/remove events using the logstr, if specified for that card,
or the manufacturer + version strings from the cis if not.  This
eliminates the need to have logger in the pccard.conf file which makes
it easier to move pcardd to /sbin later if we need to.  This also
reduces the pccard.conf file size from 53k to 28k, which will help the
install disk a little.

Also, minor cleanup of free usage (if (x != NULL) free(x); is
identical to free(x); for all versions of C that we care about).

Reviewed by: iwasaki (who proposed the logstr keyword).

Documentation and fixes to pccard.conf to follow.

23 years agoPick up some changes from Justin (add tagged queing support, remember
Matt Jacob [Fri, 14 Jul 2000 19:45:43 +0000 (19:45 +0000)]
Pick up some changes from Justin (add tagged queing support, remember
to splx(s) if cam_extend_get fails and we return ENXIO, reset ccb flags
when we push ATIOs back to the SIM, do some data increment fixes, set
priority of command based on whether CAM_DIS_DISCONNECT is set and related
changes).

Add in some more CAM_DEBUG_PERIPH debug statements and also add in support
for TARGIODEBUG which then will enable or disable CAM_DEBUG_PERIPH tracing
for an instance.

23 years agoAdd a TARGIODEBUG ioctl to allow for CAM_DEBUG_PERIPH tracing on
Matt Jacob [Fri, 14 Jul 2000 19:42:47 +0000 (19:42 +0000)]
Add a TARGIODEBUG ioctl to allow for CAM_DEBUG_PERIPH tracing on
an opened target instance.

23 years agoProperly initialize softc. Do some minor SCSI_CDB6_LEN changes.
Matt Jacob [Fri, 14 Jul 2000 19:41:43 +0000 (19:41 +0000)]
Properly initialize softc. Do some minor SCSI_CDB6_LEN changes.
Obtained from:gibbs@freebsd.org

23 years agoAdd SCSI_CDB6_LEN macro (where 0 ==> 256).
Matt Jacob [Fri, 14 Jul 2000 19:40:54 +0000 (19:40 +0000)]
Add SCSI_CDB6_LEN macro (where 0 ==> 256).
Obtained from:gibbs@freebsd.org

23 years agoClose PR# 19904: remember to call sf_setmulti() when initializing the
Bill Paul [Fri, 14 Jul 2000 19:11:02 +0000 (19:11 +0000)]
Close PR# 19904: remember to call sf_setmulti() when initializing the
interface so the multicast filter will be programmed correctly.

23 years agoSshd writes connected host into utmp directly. If the connection is
Hajimu UMEMOTO [Fri, 14 Jul 2000 18:08:19 +0000 (18:08 +0000)]
Sshd writes connected host into utmp directly.  If the connection is
via IPv6, the hostname is trimed due to the length of IPv6 address.
This change saves it as possible.
I have a grudge against the shortage of UT_HOSTSIZE.

23 years ago* Clarify text on choosing a dump device
Ben Smithurst [Fri, 14 Jul 2000 18:04:39 +0000 (18:04 +0000)]
* Clarify text on choosing a dump device
* Remove the text which states only devices with minor number 1 can be used
  - this is no longer true.
* Mention that dumpon(8) cannot be used to capture dumps from panics during
  kernel initialization.
* /dev/wd -> /dev/ad

PR: 19848
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
Reviewed by: sheldonh

23 years ago- Add in some sanity checking. If NOPORTS is set but NODOC is not set,
John Baldwin [Fri, 14 Jul 2000 18:03:32 +0000 (18:03 +0000)]
- Add in some sanity checking.  If NOPORTS is set but NODOC is not set,
  print an error message and die immediately rather than an hour later.

23 years ago- Note that a few entries have been merged over to -stable.
John Baldwin [Fri, 14 Jul 2000 17:27:52 +0000 (17:27 +0000)]
- Note that a few entries have been merged over to -stable.
- Add a note about having USB support out of the box.

23 years agoAdd IPv6 scoped address support.
Hajimu UMEMOTO [Fri, 14 Jul 2000 17:15:34 +0000 (17:15 +0000)]
Add IPv6 scoped address support.
It enables us to control link-local connections by interface like
this:

    ALL : [fe80::%ed0]/10 : allow
    ALL : [fe80::]/10 : deny

23 years agoAdd the -z flag to check file sizes first
Brian Somers [Fri, 14 Jul 2000 16:54:59 +0000 (16:54 +0000)]
Add the -z flag to check file sizes first
Correct the cmp.1 usage message
Correct the -l/-s incompatibility message

Submitted by: Mark Knight <markk@knigma.org>

23 years agoncurses -> termcap
Andrey A. Chernov [Fri, 14 Jul 2000 16:17:42 +0000 (16:17 +0000)]
ncurses -> termcap

23 years agoNow, the mdoc fixes, such as:
Alexander Langer [Fri, 14 Jul 2000 15:49:36 +0000 (15:49 +0000)]
Now, the mdoc fixes, such as:
* remove hard sentence breaks
* use of Fl with Ar if argument available
* Dq -> Sq where better
* Ql -> Dq and Ql -> Fa where better
* include sections to Xr macro
* It Ar .ss -> It Ar ss

23 years agoBump __FreeBSD_version to mark the ether_ifattach()/ether_ifdetach() changes.
Archie Cobbs [Fri, 14 Jul 2000 15:44:58 +0000 (15:44 +0000)]
Bump __FreeBSD_version to mark the ether_ifattach()/ether_ifdetach() changes.
This allows the VMWare port to be unbroken, using a patch based on it.

Requested by: haro@tk.kubota.co.jp (Munehiro Matsuda)

23 years agoAs per request by sheldonh and others on IRC, seperate language and mdoc
Alexander Langer [Fri, 14 Jul 2000 15:38:38 +0000 (15:38 +0000)]
As per request by sheldonh and others on IRC, seperate language and mdoc
fixes (very important in this case).  Version 1.40 should be discarded.

This version includes the language diffs.  To receive them, use
cvs diff [-u] -r 1.39 -r 1.41

23 years agoStop the tcp_wrappers ident code sending a request which is split
David Malone [Fri, 14 Jul 2000 15:07:37 +0000 (15:07 +0000)]
Stop the tcp_wrappers ident code sending a request which is split
across several packets. This is done by not turning off buffering
on the stdio stream for the ident connection. Originally this was
done to avoid reading back what you'd just written into the buffer.
However ANSI C gives a list of functions which should allow you to
safely change direction on a stdio stream, and Wietse found that
fseek seemed to be the most portable.

The original patch used a different workaround, but this should be
a real fix.

PR: 16086
Reviewed by: wietse@porcupine.org
(Original version) Approved by: markm

23 years agoFix several language, style and mdoc improvements (such as correct
Alexander Langer [Fri, 14 Jul 2000 14:18:04 +0000 (14:18 +0000)]
Fix several language, style and mdoc improvements (such as correct
usage of .Xr and removal of hard sentence breaks).

PR: 18880
Submitted by: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Obtained from: OpenBSD (in parts)

23 years agoMake sbsize a size instead of a number. This allows the usual suffixes
Sheldon Hearn [Fri, 14 Jul 2000 13:56:07 +0000 (13:56 +0000)]
Make sbsize a size instead of a number.  This allows the usual suffixes
to be applied to the value given.  This does not break installed
/etc/login.conf files, since un-suffixed numbers are interpreted as
they were before.

PR: 19750
Submitted by: Paul Herman <pherman@frenchfries.net>

23 years agoAdd to, don't overwrite, user-settable mountd_flags.
Neil Blakey-Milner [Fri, 14 Jul 2000 13:03:36 +0000 (13:03 +0000)]
Add to, don't overwrite, user-settable mountd_flags.

PR: conf/15745
Submitted by: Vivek Khera <khera@kciLink.com>

23 years agoAdd options<sp><tab>MDNSECT=2000 .
Sheldon Hearn [Fri, 14 Jul 2000 12:21:14 +0000 (12:21 +0000)]
Add options<sp><tab>MDNSECT=2000 .

23 years agoActually allow ``options MDNSECT=<numsects>'' in kernel configs to
Sheldon Hearn [Fri, 14 Jul 2000 12:14:13 +0000 (12:14 +0000)]
Actually allow ``options MDNSECT=<numsects>'' in kernel configs to
specify the default maximum size of malloc(9)-backed md(4) devices
and complete the documentation of this option.

23 years agoCertain error contitions cause msdosfs_rename() to decrement the
David Malone [Fri, 14 Jul 2000 11:52:56 +0000 (11:52 +0000)]
Certain error contitions cause msdosfs_rename() to decrement the
vnode reference count on 'fdvp' more times than it should.

PR: 17347
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Approved by: bde

23 years agoChange the way NMI's are handled. Before, if DDB was enabled and
Paul Saab [Fri, 14 Jul 2000 11:49:44 +0000 (11:49 +0000)]
Change the way NMI's are handled.  Before, if DDB was enabled and
a NMI occured, you could type continue in DDB and the kernel would
not attempt to detect what type of NMI was recieved.  Now we check
for the type of NMI first and then go to DDB if it is enabled.

This will solve the problem with having DDB enabled and getting an
NMI due to some possibly bad error and being able to continue the
operation of the kernel when you really want to panic and know
what happened.

Submitted by: jhb

23 years agoFix typo, teh -> the.
Jeroen Ruigrok van der Werven [Fri, 14 Jul 2000 11:23:04 +0000 (11:23 +0000)]
Fix typo, teh -> the.

23 years agoFix typo, teh -> the.
Jeroen Ruigrok van der Werven [Fri, 14 Jul 2000 11:17:16 +0000 (11:17 +0000)]
Fix typo, teh -> the.

23 years agoAdd ftp4.tw.FreeBSD.org.
John Baldwin [Fri, 14 Jul 2000 10:39:29 +0000 (10:39 +0000)]
Add ftp4.tw.FreeBSD.org.

Submitted by: nik

23 years agoFix the NAME section. Order the options which do not take arguments,
Sheldon Hearn [Fri, 14 Jul 2000 10:30:36 +0000 (10:30 +0000)]
Fix the NAME section.  Order the options which do not take arguments,
add the -P option (introduced in rev 1.22), and use mdoc word keeps
(Bk -words / Ek) for those options which do take arguments.

23 years agoUpgrade to less v358.
Paul Saab [Fri, 14 Jul 2000 09:59:37 +0000 (09:59 +0000)]
Upgrade to less v358.

23 years agoMerge vendor changes onto mainline.
Paul Saab [Fri, 14 Jul 2000 09:57:37 +0000 (09:57 +0000)]
Merge vendor changes onto mainline.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r63128,
Paul Saab [Fri, 14 Jul 2000 09:51:40 +0000 (09:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r63128,
which included commits to RCS files with non-trunk default branches.

23 years agoImport less v358.
Paul Saab [Fri, 14 Jul 2000 09:51:40 +0000 (09:51 +0000)]
Import less v358.

23 years agoUse -P instead of -S to specify that no symlinks should be followed.
Josef Karthauser [Fri, 14 Jul 2000 09:37:59 +0000 (09:37 +0000)]
Use -P instead of -S to specify that no symlinks should be followed.
There's no reason to make it different from cp(1), chmod(1), chown(1)
etc.

Requested by: sheldonh

23 years agoBe consistant about WITH_ vs MAKE_ flags. We have a precedent of using
Peter Wemm [Fri, 14 Jul 2000 09:18:21 +0000 (09:18 +0000)]
Be consistant about WITH_ vs MAKE_ flags.  We have a precedent of using
MAKE_foo for things like MAKE_KERBEROS etc.  Use that.  I managed to
confuse myself last time and made make.conf different to the code. ;-(

Reported by:  Jun Kuriyama <kuriyama@FreeBSD.org>

23 years agoMake control-c exit when in more compatability mode.
Paul Saab [Fri, 14 Jul 2000 09:13:35 +0000 (09:13 +0000)]
Make control-c exit when in more compatability mode.

Submitted by: Scott Long <samsco@mho.com>

23 years agoIPv6 support.
Hajimu UMEMOTO [Fri, 14 Jul 2000 08:33:10 +0000 (08:33 +0000)]
IPv6 support.
IPv6 configuration is only done by rtsol.  Does someone really
need manual configuration? :-)
You can specify IPv6 DNS server as well.
We have only one server ftp7.jp.freebsd.org that speaks IPv6
in this time.  ftp7.jp speaks IPv4 as well and also listed as
Japan #7.

Approved by: jkh

23 years agoUgh. Back out local changes that crept in with my last commit. :(
John Baldwin [Fri, 14 Jul 2000 08:09:50 +0000 (08:09 +0000)]
Ugh.  Back out local changes that crept in with my last commit.  :(

23 years agoMFS: (yes, from -stable) Note that current.FreeBSD.org is a 5.0 snap server
John Baldwin [Fri, 14 Jul 2000 07:59:44 +0000 (07:59 +0000)]
MFS: (yes, from -stable) Note that current.FreeBSD.org is a 5.0 snap server
     now, and replace the releng3 3.0 snap entry with releng4.

23 years agouse _PATH_DEV
Alfred Perlstein [Fri, 14 Jul 2000 07:55:26 +0000 (07:55 +0000)]
use _PATH_DEV

23 years ago- Note that several features have been merged to 4.x.
John Baldwin [Fri, 14 Jul 2000 05:47:08 +0000 (05:47 +0000)]
- Note that several features have been merged to 4.x.
- Add a note about supporting USB out of the box during installs and
  beyond.
- Add a note about the changes to the i386 bootstrap to work around the
  1024 cylinder problem.  Note that boot0 is now 2 sectors long.

Reminded by: kkenn

23 years agosis_miibus_writereg() was checking for SIS_TYPE_900 and phy != 0 twice
Bill Paul [Fri, 14 Jul 2000 05:30:48 +0000 (05:30 +0000)]
sis_miibus_writereg() was checking for SIS_TYPE_900 and phy != 0 twice
due to a small cut & paste-o on my part. It happens this didn't hurt
anything, but it's still wrong.

23 years agoMerged from sys/boot/i386/libi386/biosdisk.c revision 1.31.
Yoshihiro Takahashi [Fri, 14 Jul 2000 04:23:45 +0000 (04:23 +0000)]
Merged from sys/boot/i386/libi386/biosdisk.c revision 1.31.

23 years agoo Marius pointed out an unusually inconvenient upper bound on extended
Robert Watson [Fri, 14 Jul 2000 03:30:52 +0000 (03:30 +0000)]
o Marius pointed out an unusually inconvenient upper bound on extended
  attribute data size.
o Fortunately it turned out to be an unused constant left over from an
  earlier implementation, and is therefore being removed so as not to
  confuse casual observers.

Submitted by: mbendiks@eunet.no

23 years agoOops. I originally extended the bcopy to 8 characters to include the
Peter Wemm [Fri, 14 Jul 2000 01:22:07 +0000 (01:22 +0000)]
Oops. I originally extended the bcopy to 8 characters to include the
original \0 on the terminating string, however I changed my mind to
make it more obvious that the termination was being taken care of and
explicitly added the nul terminator.  I forgot to reset the bcopy length.

23 years agoChange various log file modes from mode 664 to 644. Allowing group
Peter Wemm [Fri, 14 Jul 2000 01:12:50 +0000 (01:12 +0000)]
Change various log file modes from mode 664 to 644.  Allowing group
wheel to trash logfiles is not exactly good security policy.  There have
been several gid wheel holes in ports.  Various other files were changed
as well (eg: the locate database were set to more restrictive modes (444)
by their generation scripts) so this should be safe for them.  utmp and
wtmp are mode 644 already on all the systems we checked.

Submitted by:  jkb
Reviewed by:   kris

23 years agoCorrect an additional off-by-one bug and buffer overflow. A malloc()
Peter Wemm [Fri, 14 Jul 2000 00:29:00 +0000 (00:29 +0000)]
Correct an additional off-by-one bug and buffer overflow.  A malloc()
was being made one byte too short, and the string assembled in it was not
null terminated.  The string was passed to regcomp() so it never matched
anything in /etc/usbd.conf.  This is the cause of usbd not working for the
last few days..  The new malloc.conf default of AJ triggered this.

23 years agoSupport propogation of file flags when building a homedir from the
David Nugent [Thu, 13 Jul 2000 23:52:49 +0000 (23:52 +0000)]
Support propogation of file flags when building a homedir from the
skeleton directory.
sprintf() -> snprintf() cleanup.
PR: bin/8756
Submitted by: "Nickolay N. Dudorov" <nnd@itfs.nsk.su>

23 years ago- When we save the existing MBR to a file, check to see if the MBR we are
John Baldwin [Thu, 13 Jul 2000 23:05:05 +0000 (23:05 +0000)]
- When we save the existing MBR to a file, check to see if the MBR we are
  saving is boot0.  If it is, use its version number so that we can grab
  all of boot0 (1024 bytes with version 1.1 for example) when we save it
  to a file via the 'f' option.  Otherwise, we just save the first sector.
- Cleanup this code a bit by splitting some functionality out into separate
  functions.

Suggested by: Patrick Bihan-Faou <patrick@mindstep.com> (1)

23 years agoAdd a new command, 'cdid', to calculate and display a serial number
Josef Karthauser [Thu, 13 Jul 2000 22:56:43 +0000 (22:56 +0000)]
Add a new command, 'cdid', to calculate and display a serial number
for a cd, using the algorithm that the cddb database uses.

Submitted by: Sergey Shkonda <serg@bcs.zp.ua>

23 years agoMake all Ethernet drivers attach using ether_ifattach() and detach using
Archie Cobbs [Thu, 13 Jul 2000 22:54:34 +0000 (22:54 +0000)]
Make all Ethernet drivers attach using ether_ifattach() and detach using
ether_ifdetach().

The former consolidates the operations of if_attach(), ng_ether_attach(),
and bpfattach(). The latter consolidates the corresponding detach operations.

Reviewed by: julian, freebsd-net

23 years agoRevert rev 1.24.
David E. O'Brien [Thu, 13 Jul 2000 22:40:50 +0000 (22:40 +0000)]
Revert rev 1.24.

Facts verfied by: mckusick

23 years agoAllow symlinks to be created if they appear in the mtree specification.
Josef Karthauser [Thu, 13 Jul 2000 22:28:39 +0000 (22:28 +0000)]
Allow symlinks to be created if they appear in the mtree specification.

PR: bin/14171

23 years agoAdded a flag (-S) to mtree to specify that symlinks shouldn't be
Josef Karthauser [Thu, 13 Jul 2000 22:13:42 +0000 (22:13 +0000)]
Added a flag (-S) to mtree to specify that symlinks shouldn't be
followed.  This allows type=link matches to work properly and match
the link itself, instead of the file/directory that the link is
pointing to.

23 years agoo Commit two of two, introducing __cap_{get,set}_{fd,file} syscalls to
Robert Watson [Thu, 13 Jul 2000 20:38:52 +0000 (20:38 +0000)]
o Commit two of two, introducing __cap_{get,set}_{fd,file} syscalls to
  modify capability sets on files.

Obtained from: TrustedBSD Project

23 years agoo Introduce syscall prototypes, stubs for __cap_{get,set}_{fd,file},
Robert Watson [Thu, 13 Jul 2000 20:31:24 +0000 (20:31 +0000)]
o Introduce syscall prototypes, stubs for __cap_{get,set}_{fd,file},
  syscalls to manage capability sets on files.  First of two commits.

Obtained from: TrustedBSD Project

23 years agomagnetic tape support
Andrew Gallatin [Thu, 13 Jul 2000 20:04:21 +0000 (20:04 +0000)]
magnetic tape support
Submitted by: Clem Cole <clemc@mro.dec.com>

23 years agoExtra sanity check when arp proxyall is enabled. Don't send an arp
David Malone [Thu, 13 Jul 2000 19:31:01 +0000 (19:31 +0000)]
Extra sanity check when arp proxyall is enabled. Don't send an arp
reply if the requesting machine isn't on the interface we believe
it should be. Prevents arp wars when you plug cables in the wrong
way around.

PR: 9848
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Not objected to by: wollman

23 years ago* Mention 4.x as well as 3.x
Ben Smithurst [Thu, 13 Jul 2000 19:08:06 +0000 (19:08 +0000)]
* Mention 4.x as well as 3.x
* 3.4-stable -> 3.5-stable
* 4.0-current -> 5.0-current

23 years agoDocument non-support by SRM for Symbios895 on PC164
Wilko Bulte [Thu, 13 Jul 2000 18:12:47 +0000 (18:12 +0000)]
Document non-support by SRM for Symbios895 on PC164

Submitted by: Christian Weisgerber <naddy@mips.inka.de>

23 years agoClarify "mount -a -t" example - it only unmounts stuff in /etc/fstab.
David Malone [Thu, 13 Jul 2000 16:20:54 +0000 (16:20 +0000)]
Clarify "mount -a -t" example - it only unmounts stuff in /etc/fstab.
Fix a typo.

PR: 19438
Submitted by: Eoin Lawless <eoin@maths.tcd.ie>
Reviewed by: sheldon

23 years agoSpelling.
Stephen McKay [Thu, 13 Jul 2000 13:49:36 +0000 (13:49 +0000)]
Spelling.

23 years agoFix the ^D -> core dump problem properly. ^D == "quit" again.
Stephen McKay [Thu, 13 Jul 2000 12:55:50 +0000 (12:55 +0000)]
Fix the ^D -> core dump problem properly.  ^D == "quit" again.

23 years agoFix a bug (misplaced continue) that caused redirects to fail. Lots of code
Dag-Erling Smørgrav [Thu, 13 Jul 2000 09:13:58 +0000 (09:13 +0000)]
Fix a bug (misplaced continue) that caused redirects to fail. Lots of code
moved around, but the acutal functional changes are small.
Add support for site-internal redirects (where the Location: header gives a
path instead of an absolute URI)

Pointed out by: kuriyama

23 years agoFix a bug in the stats display that showed up when resuming aborted transfers.
Dag-Erling Smørgrav [Thu, 13 Jul 2000 08:37:39 +0000 (08:37 +0000)]
Fix a bug in the stats display that showed up when resuming aborted transfers.

Submitted by: green

23 years agoQuirk entry for TeraSolutions TRC-22 RAID controller to keep mintags
David Greenman [Thu, 13 Jul 2000 07:58:04 +0000 (07:58 +0000)]
Quirk entry for TeraSolutions TRC-22 RAID controller to keep mintags
from dropping below 55 due to temporary resource shortages.

23 years agoTwo entries:
Warner Losh [Thu, 13 Jul 2000 05:35:31 +0000 (05:35 +0000)]
Two entries:
o Mark M has updated the random device to harvest entropy.  Put
  instructions to tell people how to cope.
o add entry about phk's malloc changes.

23 years agoHandle (for now) trivial one level bridge case so we can get the
Matt Jacob [Thu, 13 Jul 2000 03:45:11 +0000 (03:45 +0000)]
Handle (for now) trivial one level bridge case so we can get the
slot that the bridge happens to be in so we get interrupts working
on bridged cards.

23 years agoPrevent possible dereference of NULL pointer.
Boris Popov [Thu, 13 Jul 2000 02:17:14 +0000 (02:17 +0000)]
Prevent possible dereference of NULL pointer.

Submitted by: Marius Bendiksen <mbendiks@eunet.no>

23 years agoFor infinite timeouts, set both the tv_sec and tv_usec fields to zero in
John Baldwin [Thu, 13 Jul 2000 02:12:25 +0000 (02:12 +0000)]
For infinite timeouts, set both the tv_sec and tv_usec fields to zero in
poll() and select().

Noticed by: Wesley Morgan <morganw@chemicals.tacorp.com>

23 years agoFix race condition caused by using NG_SEND_DATAQ() where we meant
Archie Cobbs [Wed, 12 Jul 2000 23:55:07 +0000 (23:55 +0000)]
Fix race condition caused by using NG_SEND_DATAQ() where we meant
to use ng_queue_data().

Reported by: Udo Erdelhoff <ue@nathan.ruhr.de>

23 years agoPermit multiple ``allow user'' lines in any given section
Brian Somers [Wed, 12 Jul 2000 23:13:52 +0000 (23:13 +0000)]
Permit multiple ``allow user'' lines in any given section
This avoids line length limits when large numbers of users are allowed
access to ppp.

23 years agoFix a very obscure bug in select() and poll() where the timeout would
John Baldwin [Wed, 12 Jul 2000 22:46:40 +0000 (22:46 +0000)]
Fix a very obscure bug in select() and poll() where the timeout would
never expire if poll() or select() was called before the system had been
in multiuser for 1 second.  This was caused by only checking to see if
tv_sec was zero rather than checking both tv_sec and tv_usec.

23 years agore-enable the tcp newreno code.
Jayanth Vijayaraghavan [Wed, 12 Jul 2000 22:00:46 +0000 (22:00 +0000)]
re-enable the tcp newreno code.

23 years agoRework the stats code for the nth time. Much cleaner now.
Dag-Erling Smørgrav [Wed, 12 Jul 2000 20:53:07 +0000 (20:53 +0000)]
Rework the stats code for the nth time. Much cleaner now.
Always display the completion percentage if stderr is a tty.
Drop the char-by-char transfer mode, it was based on an incorrect assumption
regarding the semantics of fread().
Finally (I hope) straighten out the business of setting the mtime, as well as
when to remove the output file and when not to.
Thanks are owed to the many who have provided nearly instantaneous and
highly constructive feedback and suggestions about these matters.