Commit Graph

62629 Commits

Author SHA1 Message Date
Peter Wemm
bd40659f85 Call the early tunable setup functions as soon as kern_envp is available.
Some things depend on hz being set not long after this.
2001-07-26 23:06:44 +00:00
Peter Wemm
f74654de47 Move MAXUSERS out of opt_param.h to make sure that other code doesn't
use it rather than the tunable version.
2001-07-26 23:05:35 +00:00
Peter Wemm
18ec8d761c param.c no longer gets special treatment. Use the source tree version. 2001-07-26 23:04:46 +00:00
Peter Wemm
ee342e1bf1 Move param.c out of the conf directory and make it fully dynamic.
Tunables are now derived at boot time from maxusers.  ie: change maxusers
via a tunable and all the derivative settings change.  You can change
the other tunables individually as well.  Even hz etc is tunable.
2001-07-26 23:04:03 +00:00
Matt Jacob
b128a303c7 Strongly recommend that ispfw(4)'s f/w be used with this driver if available.
MFC after:	1 week
2001-07-26 22:43:40 +00:00
Bill Fenner
83d4b03c15 Use alignment-safe code on non-i386 architectures. 2001-07-26 21:54:47 +00:00
Bruce A. Mah
da4faae106 Finally document the net.link.ether.bridge_cfg and
net.link.ether.bridge_refresh variables.  While I'm here, try to
make some of the markup on this page more consistent with the
new (markup-reviewed) content.

PR:		22060
Reviewed by:	ru (for markup, on an earlier version of this delta)
MFC after:	2 days
2001-07-26 21:19:25 +00:00
Kris Kennaway
371af8a555 Only match the first osreldate date range for constructing the FTP URL,
not all of them.

Noticed by:	obrien
2001-07-26 20:25:50 +00:00
Thomas Moestl
3d3c27fedf Make sure the total number of sectors is not 0 for a vnode-type md to
avoid a division by zero which would occur on open() in this case.

Reviewed by:	phk
2001-07-26 20:05:20 +00:00
Brian Somers
5b718312b7 When -n is specified, don't attempt to turn hostnames found in utmp
into addresses as we have no idea what address family they belong to.

When -n is not specified, resolve IPv6 as well as IPv4 addresses found
in the host field of utmp.  Use realhostname_sa() to resolve addresses
(the old code was wrong).

Rename ``x'' to ``x_suffix'' to avoid confusion.

Hard code the host column width to 16 (against the imminent increase
of UT_HOSTSIZE in utmp.h).
2001-07-26 19:20:13 +00:00
Hajimu UMEMOTO
13cf67f317 move ipsec security policy allocation into in_pcballoc, before
making pcbs available to the outside world.  otherwise, we will see
inpcb without ipsec security policy attached (-> panic() in ipsec.c).

Obtained from:	KAME
MFC after:	3 days
2001-07-26 19:19:49 +00:00
Jun-ichiro itojun Hagino
b954a75e3c incorrect bounds-check on snprintf.
Submitted by:	fenner
2001-07-26 19:14:52 +00:00
Wilko Bulte
e0ef368436 <ctl>-<alt>-<del> are seen as sgml tags. <keycap>ctl</keycap> etc works
a lot better. Yikes!

Caught by: bmah
2001-07-26 19:02:22 +00:00
Bosko Milekic
49f854f926 - Do not handle the per-CPU containers in mbuf code as though the cpuids
were indices in a dense array. The cpuids are a sparse set and treat
  them as such, setting up containers only for CPUs activated during
  mb_init().

- Fix netstat(1) and systat(1) to treat the per-CPU stats area as a sparse
  map, in accordance with the above.

This allows us to properly boot with certain CPUs disactivated. However, if
we later decide to re-activate said CPUs, we will barf until we decide to
implement CPU spinon/spinoff callback hooks to allow for said CPUs' per-CPU
containers to get configured on their activation.

Reported by: mjacob
Partially (sys/ diffs) Submitted by: mjacob
2001-07-26 18:47:46 +00:00
Bruce A. Mah
99b3dc42ad Split "Contacting the FreeBSD Project" into two sub-sections ("Email
and Mailing Lists" and "Submitting Problem Reports").  No content
changes.
2001-07-26 18:20:29 +00:00
Wilko Bulte
77fbb88a6f Document you sometimes seem to need ctl-alt-del on Noname, Multia
and ZLXp is TGA-based and not currently suitable for console use.
2001-07-26 18:18:50 +00:00
Bruce A. Mah
7f85894ec2 Cleanup of "Reporting Problems" section, which has been renamed
"Contacting the FreeBSD Project":   Mostly fixed style nits, and
performed some overlooked s/FreeBSD/&os;/ substitutions.
2001-07-26 18:16:55 +00:00
Hajimu UMEMOTO
59e7e5d169 ifconfig if0 netmask xxx.xxx.xxx.0 didn't change the netmask.
PR:		bin/28833
MFC after:	3 days
2001-07-26 16:44:19 +00:00
Bruce A. Mah
b886b9c7d4 UPGRADE.TXT doesn't exist anymore...point readers at INSTALL.TXT,
which now contains binary upgrade info.
2001-07-26 16:40:23 +00:00
Bruce A. Mah
e2d87179c8 Add some navigation in the form of internal hyperlinks to get around
the different sections of the release notes.  There's probably a better
way to do this.
2001-07-26 16:31:22 +00:00
Bruce A. Mah
ba9973ec7f Fix some style nits, and also try to include some text appropriate to
whether this release notes build is for a snapshot or a release.
2001-07-26 16:21:29 +00:00
Bruce A. Mah
c72c117ae1 List a forgotten SGML source file (intro.sgml) in the release notes
Makefiles.
2001-07-26 16:16:51 +00:00
Maxim Sobolev
aa7cc2322b Move definition of structure used in CONS_SCRSHOT ioctl in front of definition
of ioctl itself, like we have for all other ioctl's in this file.

MFC after:	2 weeks
2001-07-26 14:24:53 +00:00
Brian Somers
525b58c9ce Handle peer REQ/NAKs of >1500 byte MRUs when we have no preference.
MFC after: 3 days
2001-07-26 11:33:53 +00:00
Thomas Gellekum
a0e4393eaf Include <sys/kbio.h> or <machine/console.h>, depending on __FreeBSD_version.
This will reduce diffs to -STABLE.

Don't leave an image of the video RAM around.
2001-07-26 11:09:15 +00:00
Thomas Gellekum
090f957012 Correct font names. Now, how on earth did this work on my system? 2001-07-26 11:05:31 +00:00
Thomas Gellekum
d57f02670b Fix bugs introduced in 1.26:
- restore -I. in CFLAGS
- add dependencies of objects on font headers
- missing dependencies of font headers on their sources

Suggested by:	bde
2001-07-26 11:04:08 +00:00
Sheldon Hearn
e1b4d8d074 Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by:   David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
Kazutaka YOKOTA
8155f5e200 Fix spelling in the last commit. (Oh, I thought I had run ispell... ;-<
Spotted by: sheldonh
2001-07-26 09:46:08 +00:00
Kazutaka YOKOTA
71a9e56353 Adds notes on program termination and signal handlers.
I revised the text after dd's kind review. So, if you find
any error, it is probably introduced by my last minutes'
update and is entirely my fault, not dd's.

Reviewed by: dd
2001-07-26 08:46:47 +00:00
Eric Melville
4743a2b7c2 Remove duplicate cvs tag. 2001-07-26 07:26:39 +00:00
Eric Melville
08c5ff18e9 Update sysinstall menu texts to reflect the new key behavior.
Approved by:	jkh
2001-07-26 07:17:27 +00:00
Eric Melville
5dc547c27e Properly update cursor position when the list is scrolled. 2001-07-26 05:35:19 +00:00
Bruce A. Mah
362f39c0e6 New release notes: ed(4) MII, isdnd.rc(5) maxconnecttime, ppp(8)
tcpmssfixup for inbound packets, BIND NOADDITIONAL.

MFCs noted:  RANDOM_IP_ID, ppp(8) tcpmssfixup, libcrypt unification.
2001-07-26 04:40:58 +00:00
Eric Melville
b48baf886a Handle keys consistently. 2001-07-26 03:34:43 +00:00
Yoshihiro Takahashi
28b975bf3d Speed up console driver.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
2001-07-26 03:07:07 +00:00
Kris Kennaway
5179b63f5d Xref to openssl(1) (i.e. "openssl passwd")
PR:		28885
Submitted by:	Gregory Bond <gnb@itga.com.au>
MFC After:	1 week
2001-07-26 02:41:53 +00:00
Brian Somers
c5f947aa7f Remove $daily_status_named_logs and figure out which /var/log/messages*
files to look an (in the same way that /etc/security does).

Don't single-quote $start, reducing it to an empty string.

MFC after:	3 days
2001-07-26 02:37:12 +00:00
Mike Smith
b964f385bb Fix typo (* -> &)
Submitted by:	Andrew Doran <ad@netbsd.org>
2001-07-26 02:20:47 +00:00
Warner Losh
62353691f3 Add, belated, entry for ed driver needing mii 2001-07-25 22:53:11 +00:00
Scott Long
4aa620cdc6 Add /dev/hpn? as an alias to /dev/aac? so that the HP version of the CLI
utility will work, and document it in the manpage.

MFC after:	3 days
2001-07-25 22:36:17 +00:00
Peter Wemm
e3d1d61f10 This commit was generated by cvs2svn to compensate for changes in r80357,
which included commits to RCS files with non-trunk default branches.
2001-07-25 22:10:56 +00:00
Peter Wemm
4f12dbc3f6 Commit the hwsleep.c patch for suspend/resume onto the vendor branch.
This has supposedly been incorporated into the Intel code already, so this
will get cleanly replaced with the "official" version when it is next
imported and will not cause any conflicts or hiccups.
2001-07-25 22:10:56 +00:00
Matt Jacob
df94d4d280 Fix 64 bit issues so that sockstat && fstat work correctly on alpha.
PR:		29231
Submitted by:	pherman@frenchfries.net
MFC after:	2 weeks
2001-07-25 20:31:20 +00:00
Bill Fenner
3f2e902a15 Somewhat modernize ip_mroute.c:
- Use sysctl to export stats
- Use ip_encap.c's encapsulation support
- Update lkm to kld (is 6 years a record for a broken module?)
- Remove some unused cruft
2001-07-25 20:15:49 +00:00
Bill Fenner
c3cb7e5d7a Don't bother passing p to rtioctl just so it can fail to pass it to mrt_ioctl 2001-07-25 20:15:28 +00:00
Bill Fenner
fffcbbcd94 Unbreak ip_mroute_mod 2001-07-25 20:15:17 +00:00
Bill Fenner
1a8b27c035 Use sysctl to export multicast routing stats 2001-07-25 20:14:09 +00:00
Hajimu UMEMOTO
9a70151652 As commented in defined in sys/net/route.c, rt_fixchange() has a bad
effect, which would cause unnecessary route deletion:

 * Unfortunately, this has the obnoxious
 * property of also triggering for insertion /above/ a pre-existing network
 * route and clones.  Sigh.  This may be fixed some day.

The effect has been even worse, because recent versions of route.c set
the parent rtentry for cloned routes from an interface-direct route.
For example, suppose that we have an interface "ne0" that has an IPv4
subnet "10.0.0.0/24".  Then we may have a cloned route like 10.0.0.1
on the interface, whose parent route is 10.0.0.0/24 (to the interface
ne0).  Now, when we add the default route (i.e. 0.0.0.0/0),
rt_fixchange() will remove the cloned route 10.0.0.1.  The (bad) effect
also prevents rt_setgate from configuring rt_gwroute, which would not
be an intended behavior.

As suggested in the comments to rt_fixchange(), we need stricter check
in the function, to prevent unintentional route deletion.

This fix also solve the "IPV6 panic?" problem in nd6_timer().

Submitted by:	JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
MFC after:	4 days
2001-07-25 19:31:43 +00:00
Sheldon Hearn
81dd89bf46 Add build infrastructure for a libiconv loadable kernel module.
This should allow the use of the smbfs module without the
requirement to rebuild the kernel with LIBICONV.
2001-07-25 19:21:06 +00:00