]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoReserve major device number for nsmb (SMB/CIFS protocol) device.
Boris Popov [Mon, 1 May 2000 00:49:19 +0000 (00:49 +0000)]
Reserve major device number for nsmb (SMB/CIFS protocol) device.

24 years agoOnly set $MAIL_AGENT if it isn't already defined in the environment.
Nik Clayton [Sun, 30 Apr 2000 22:48:49 +0000 (22:48 +0000)]
Only set $MAIL_AGENT if it isn't already defined in the environment.
No idea why this was sent in as a docs bug. . .

PR:             docs/17014
Submitted by:   Giorgos Keramidas <keramida@ceid.upatras.gr>

24 years agoRemove reference to bsd2dos command, refer to fconv and similar.
Nik Clayton [Sun, 30 Apr 2000 22:45:13 +0000 (22:45 +0000)]
Remove reference to bsd2dos command, refer to fconv and similar.

PR:             docs/17101
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>

24 years agoAdd descriptions of the nm(1) keywords and their meanings.
Nik Clayton [Sun, 30 Apr 2000 22:44:05 +0000 (22:44 +0000)]
Add descriptions of the nm(1) keywords and their meanings.

PR:             docs/17269
Submitted by:   Oscar Bonilla <obonilla@fisicc-ufm.edu>

24 years agoAdd xref to cap_mkdb(1).
Nik Clayton [Sun, 30 Apr 2000 22:43:09 +0000 (22:43 +0000)]
Add xref to cap_mkdb(1).

PR:             docs/17544
Submitted by:   Christ J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>

24 years agoNote that X11 Forwarding is off by default.
Nik Clayton [Sun, 30 Apr 2000 22:41:58 +0000 (22:41 +0000)]
Note that X11 Forwarding is off by default.

PR:             docs/17566
Submitted by:   Keith Stevenson <ktstev01@louisville.edu>

24 years agoAdd another example showing how you can use pppctl to only allow
Nik Clayton [Sun, 30 Apr 2000 22:28:21 +0000 (22:28 +0000)]
Add another example showing how you can use pppctl to only allow
dial out at certain times of the day.

Approved by:    brian

24 years agoRemoved xref to mount_lfs, this died in 2.mumble.
Nik Clayton [Sun, 30 Apr 2000 22:08:13 +0000 (22:08 +0000)]
Removed xref to mount_lfs, this died in 2.mumble.

PR:             docs/18272
Submitted by:   Michael Lucas <mwlucas@blackhelicopters.org>

24 years agoPhase mismatch handling from SCRIPTS had been
Gerard Roudier [Sun, 30 Apr 2000 21:42:55 +0000 (21:42 +0000)]
Phase mismatch handling from SCRIPTS had been
broken by previous patch.

24 years agoFixes a potential buffer overflow with the pid filename.
Josef Karthauser [Sun, 30 Apr 2000 21:04:36 +0000 (21:04 +0000)]
Fixes a potential buffer overflow with the pid filename.

Submitted by: Mike Heffner <spock@techfour.net>
Submitted on: audit@freebsd.org

24 years agoFixes a potential buffer overflow with the command line arguments.
Josef Karthauser [Sun, 30 Apr 2000 20:53:54 +0000 (20:53 +0000)]
Fixes a potential buffer overflow with the command line arguments.

Submitted by:   Mike Heffner <spock@techfour.net>
Submitted on:   audit@freebsd.org

24 years agoFixes a potential buffer overflow with 'ed [MAXPATHLEN + 1 characters]'.
Josef Karthauser [Sun, 30 Apr 2000 20:46:14 +0000 (20:46 +0000)]
Fixes a potential buffer overflow with 'ed [MAXPATHLEN + 1 characters]'.

Submitted by: Mike Heffner <spock@techfour.net>
Submitted on: audit@freebsd.org

24 years agoRemove unneeded #include <vm/vm_zone.h>
Poul-Henning Kamp [Sun, 30 Apr 2000 18:52:11 +0000 (18:52 +0000)]
Remove unneeded #include <vm/vm_zone.h>

Generated by: src/tools/tools/kerninclude

24 years agoFor the M_PREPEND macro, remove an initial mbuf NULL check I added. It
Brian Feldman [Sun, 30 Apr 2000 18:42:44 +0000 (18:42 +0000)]
For the M_PREPEND macro, remove an initial mbuf NULL check I added.  It
was added accidentally, and although not terrible, it would improperly
hide the bug of calling M_PREPEND with a NULL mbuf argument.

Submitted by: jlemon (ISTR)

24 years agoChange the scheduler to actually respect the PUSER barrier. It's been
Brian Feldman [Sun, 30 Apr 2000 18:33:43 +0000 (18:33 +0000)]
Change the scheduler to actually respect the PUSER barrier.  It's been
wrong for many years that negative niceness would lower the priority
of a process below PUSER, and once below PUSER, there were conditionals
in the code that are required to test for whether a process was in
the kernel which would break.

The breakage could (and did) cause lock-ups, basically nothing else
but the least nice program being able to run in some conditions.  The
algorithm which adjusts the priority now subtracts PRIO_MIN to do
things properly, and the ESTCPULIM() algorithm was updated to use
PRIO_TOTAL (PRIO_MAX - PRIO_MIN) to calculate the estcpu.

NICE_WEIGHT is now 1 to accomodate the full range of priorities better
(a -20 process with full CPU time has the priority of a +0 process with
no CPU time).  There are now 20 queues (exactly; 80 priorities) for
use in user processes' scheduling, and PUSER has been lowered to 48
to accomplish this.

This means, to the user, that things will be scheduled more correctly
(noticeable), there is no lock-up anymore WRT a niced -20 process
never releasing the CPU time for other processes.  In this fair system,
tsleep()ed < PUSER processes now will get the proper higher priority
than priority >= PUSER user processes.

The detective work of this was done by me, along with part of the
solution.  Luoqi Chen has provided most of the solution, and really
helped me understand what was happening better, to boot :)

Submitted by:   luoqi
Concept reviewed by:    bde

24 years agoAllow "-" for working with STDIN
Andrey A. Chernov [Sun, 30 Apr 2000 18:06:04 +0000 (18:06 +0000)]
Allow "-" for working with STDIN
Allow printing of each option separately when keyword specified without a
number

24 years agoFix warn format
Andrey A. Chernov [Sun, 30 Apr 2000 17:12:49 +0000 (17:12 +0000)]
Fix warn format

Pointed-by: bde
24 years agoRemove bogus include, as per style(9).
Jeroen Ruigrok van der Werven [Sun, 30 Apr 2000 17:05:26 +0000 (17:05 +0000)]
Remove bogus include, as per style(9).
Remove unused variable.

24 years agoBack out all drainwait changes. It is enough controllable via sysctl or
Andrey A. Chernov [Sun, 30 Apr 2000 17:04:26 +0000 (17:04 +0000)]
Back out all drainwait changes. It is enough controllable via sysctl or
comcontrol, having it in stty cause too many problems with existing drivers
and tty access permissings of non-superuser.

Asked-by: bde
24 years agogfmt: set drainwait only if changed
Andrey A. Chernov [Sun, 30 Apr 2000 16:22:09 +0000 (16:22 +0000)]
gfmt: set drainwait only if changed
It allows to restore tty state without a warning for non-superuser

24 years agoAdd sysctl variable to set initial drainwait timeout on ttyopen, default to
Andrey A. Chernov [Sun, 30 Apr 2000 16:00:53 +0000 (16:00 +0000)]
Add sysctl variable to set initial drainwait timeout on ttyopen, default to
5 minutes

24 years agoAllocate space for arrays of type "char *", not "char **".
Guy Helmer [Sun, 30 Apr 2000 15:57:00 +0000 (15:57 +0000)]
Allocate space for arrays of type "char *", not "char **".
Rev 1.8 made the type consistently incorrect.

Noted by: Ben Smithurst <ben@scientia.demon.co.uk>

24 years agoFix comments, whitespace to reduce diffs between this and GENERIC.
Mark Murray [Sun, 30 Apr 2000 15:38:28 +0000 (15:38 +0000)]
Fix comments, whitespace to reduce diffs between this and GENERIC.

24 years agoFixed the type of some ivar access functions. Ivars have type uintptr_t,
Bruce Evans [Sun, 30 Apr 2000 10:01:56 +0000 (10:01 +0000)]
Fixed the type of some ivar access functions.  Ivars have type uintptr_t,
not u_long.  On i386's with 64-bit longs, returning u_longs indirectly
in (more than) the space reserved for uintptr_t's tended to corrupt the
previous frame pointer in the stack frame, so it was not easy to debug.
The type mismatches are hidden by the bogus cast in DEVMETHOD().

24 years agoUpdate the man page to reflect the recent changes to the kernel API for
Julian Elischer [Sun, 30 Apr 2000 10:01:11 +0000 (10:01 +0000)]
Update the man page to reflect the recent changes to the kernel API for
netgraph.

24 years agoInclude <sys/random.h> for rand_initialize().
Doug Rabson [Sun, 30 Apr 2000 09:41:35 +0000 (09:41 +0000)]
Include <sys/random.h> for rand_initialize().

24 years ago- Added UKBD_DFLT_KEYMAP option.
Yoshihiro Takahashi [Sun, 30 Apr 2000 09:12:48 +0000 (09:12 +0000)]
- Added UKBD_DFLT_KEYMAP option.
  Pointed out: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>

- Fixed disordering.

24 years agoClean up MAXMEM routine.
Yoshihiro Takahashi [Sun, 30 Apr 2000 08:52:47 +0000 (08:52 +0000)]
Clean up MAXMEM routine.

Submitted by: "K.Magara" <magara@maizuru-ct.ac.jp>

24 years agoFixed to support JIS7 KANJI.
Yoshihiro Takahashi [Sun, 30 Apr 2000 08:40:43 +0000 (08:40 +0000)]
Fixed to support JIS7 KANJI.

Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>

24 years agoSync with sys/boot/i386/libi386/biosdisk.c revision 1.30.
Yoshihiro Takahashi [Sun, 30 Apr 2000 08:24:36 +0000 (08:24 +0000)]
Sync with sys/boot/i386/libi386/biosdisk.c revision 1.30.

24 years agoRemoved a stale forward struct declaration.
Bruce Evans [Sun, 30 Apr 2000 06:47:24 +0000 (06:47 +0000)]
Removed a stale forward struct declaration.

24 years agoAllow overriding of net.inet.ip.fw.verbose_limit; if you want to make a
Brian Feldman [Sun, 30 Apr 2000 06:44:11 +0000 (06:44 +0000)]
Allow overriding of net.inet.ip.fw.verbose_limit;  if you want to make a
rule that logs without a log limit, use "logamount 0" in addition to "log".

24 years agoRemoved superfluous forward declaration of struct klist. Forward
Bruce Evans [Sun, 30 Apr 2000 06:31:28 +0000 (06:31 +0000)]
Removed superfluous forward declaration of struct klist.  Forward
declarations of structs for use in prototypes are only necessary if
the struct is not otherwise declared in scope.

Removed prototypes for fdissequential() and fdsequential().  These
functions never existed in FreeBSD.

Fixed most style bugs in FreeBSD changes (mainly disordered prototypes
and prototypes without parameter names).

24 years agoHmm, diff/patch still doesn't like me.
Poul-Henning Kamp [Sun, 30 Apr 2000 06:16:03 +0000 (06:16 +0000)]
Hmm, diff/patch still doesn't like me.
Missed one s/biowait/bufwait/g

24 years agoUpdated the name of the idempotency macro to match the move of this file.
Bruce Evans [Sun, 30 Apr 2000 05:16:24 +0000 (05:16 +0000)]
Updated the name of the idempotency macro to match the move of this file.

Fixed a missing forward declaration.

24 years agoDefine more DOSPTYP_* constants for different filesystem types
Jonathan Lemon [Sun, 30 Apr 2000 02:33:40 +0000 (02:33 +0000)]
Define more DOSPTYP_* constants for different filesystem types

Reminded by: ps

24 years agoFixed world breakage for the NOSHARED=yes case. libpam now depends on
Bruce Evans [Sun, 30 Apr 2000 01:33:37 +0000 (01:33 +0000)]
Fixed world breakage for the NOSHARED=yes case.  libpam now depends on
libopie.

Don't say that libpam.a doesn't exist.

24 years agoAdd reference to UNIX history graphing project.
Greg Lehey [Sun, 30 Apr 2000 01:17:34 +0000 (01:17 +0000)]
Add reference to UNIX history graphing project.

Correct derivation of Eighth Edition Research UNIX.  According to dmr,
it was derived from 4.1cBSD; according to the 4.4BSD book, it was
derived from 4.1BSD.  Since dmr did the work, he's more likely to be
correct.

Correct typos.

Remove dead URLs.

24 years agoFall back to /pxeroot as the location of the NFS exported directory
Paul Saab [Sat, 29 Apr 2000 23:08:49 +0000 (23:08 +0000)]
Fall back to /pxeroot as the location of the NFS exported directory
if we are not given one by dhcp.
Remove extra includes while I am here.

Reminded by: jlemon

24 years agoTeach the loader about the ext2fs filesystem, extended partitions, and
Jonathan Lemon [Sat, 29 Apr 2000 20:49:33 +0000 (20:49 +0000)]
Teach the loader about the ext2fs filesystem, extended partitions, and
the new readdir function.

24 years agoAdd a readdir function to the loader fsops vector, and implement the
Jonathan Lemon [Sat, 29 Apr 2000 20:47:10 +0000 (20:47 +0000)]
Add a readdir function to the loader fsops vector, and implement the
functionality for some of the filesystesms.

24 years agoAdd ext2fs support to the loader.
Jonathan Lemon [Sat, 29 Apr 2000 20:44:07 +0000 (20:44 +0000)]
Add ext2fs support to the loader.

24 years agoPeter and I cross-committed: this file needs sys/kernel.h now.
Poul-Henning Kamp [Sat, 29 Apr 2000 18:03:52 +0000 (18:03 +0000)]
Peter and I cross-committed: this file needs sys/kernel.h now.

24 years agoReturn 0 from attach.
Warner Losh [Sat, 29 Apr 2000 17:43:12 +0000 (17:43 +0000)]
Return 0 from attach.

Submitted by: mihira-san <sanpei@sanpei.org>

24 years agos/biowait/bufwait/g
Poul-Henning Kamp [Sat, 29 Apr 2000 16:25:22 +0000 (16:25 +0000)]
s/biowait/bufwait/g

Prodded by: several.

24 years agoRemove a leftover dysonism.
Poul-Henning Kamp [Sat, 29 Apr 2000 16:14:10 +0000 (16:14 +0000)]
Remove a leftover dysonism.

24 years agoRemove unneeded #include <sys/kernel.h>
Poul-Henning Kamp [Sat, 29 Apr 2000 15:36:14 +0000 (15:36 +0000)]
Remove unneeded #include <sys/kernel.h>

24 years agoAdd a missing MODULE_DEPEND() on miibus.. I was working from
Peter Wemm [Sat, 29 Apr 2000 15:25:56 +0000 (15:25 +0000)]
Add a missing MODULE_DEPEND() on miibus..  I was working from
KMODDEPS which this driver didn't have.

24 years agoDepend on miibus.
Peter Wemm [Sat, 29 Apr 2000 13:41:57 +0000 (13:41 +0000)]
Depend on miibus.

Note that if_aue doesn't strictly depend on usb because it uses the
method interface for calls rather than using internal symbols, and
because it's a child driver of usb and therefore will not try and do
anything unless the parent usb code is loaded at some point.  if_aue does
strictly depend on miibus as it will fail to link if it is missing.

24 years agoProvide a tag so that miibus consumers can depend on the module,
Peter Wemm [Sat, 29 Apr 2000 13:38:26 +0000 (13:38 +0000)]
Provide a tag so that miibus consumers can depend on the module,
regardless of whether it is in a seperate .ko or the kernel (or in a .ko
bundled with several other things in one file for packaging).

24 years agoMinimal tweak to make the ng_XXX modules depend on netgraph so that they
Peter Wemm [Sat, 29 Apr 2000 13:36:07 +0000 (13:36 +0000)]
Minimal tweak to make the ng_XXX modules depend on netgraph so that they
see its symbols and link ok.

24 years agonwfs depends on ncp
Peter Wemm [Sat, 29 Apr 2000 13:34:28 +0000 (13:34 +0000)]
nwfs depends on ncp

24 years agoStick a module dependency on 'splash' in the saver declaration macro so
Peter Wemm [Sat, 29 Apr 2000 13:33:18 +0000 (13:33 +0000)]
Stick a module dependency on 'splash' in the saver declaration macro so
that all savers are automatically declared dependent on the splash driver.

24 years agoInitial dependency so that the kld's will link. imgact_coff depends
Peter Wemm [Sat, 29 Apr 2000 13:32:16 +0000 (13:32 +0000)]
Initial dependency so that the kld's will link.  imgact_coff depends
on the ibcs2 module being present.

24 years agoThe newer module dependency code exposes an apparent bug in the
Peter Wemm [Sat, 29 Apr 2000 13:24:35 +0000 (13:24 +0000)]
The newer module dependency code exposes an apparent bug in the
bus/driver/kobj system.  I am not 100% sure that this is the correct fix,
but it is harmless and does seem to solve the problem.  At worst, it could
cause a tiny memory leak at unload time - this is better than a free(NULL)
and subsequent panic.  I'm waiting for comments from Doug about this.
This may yet be backed out and fixed differently.

The change itself is to increment the reference count on drivers in one
case where it appears to have been missed.  When everything is unloaded,
kobj_class_free() was being called twice in some cases, and panicing the
second time.

24 years agoFirst round implementation of a fine grain enhanced module to module
Peter Wemm [Sat, 29 Apr 2000 13:19:31 +0000 (13:19 +0000)]
First round implementation of a fine grain enhanced module to module
version dependency system.  This isn't quite finished, but it is at a
useful stage to do a functional checkpoint.

Highlights:
- version and dependency metadata is gathered via linker sets, so things
are handled the same for static kernels and code built to live in a kld.
- The dependencies are at module level (versus at file level).
- Dependencies determine kld symbol search order - this means that you
cannot link against symbols in another file unless you depend on it. This
is so that you cannot accidently unload the target out from underneath
the ones referencing it.
- It is flexible enough that we can put tags in #include files and macros
so that we can get decent hooks for enforcing recompiles on incompatable
ABI changes.  eg: if we change struct proc, we could force a recompile
for all kld's that reference the proc struct.
- Tangled dependency references at boot time are sorted.  Files are
relocated once all their dependencies are already relocated.

Caveats:
- Loader support is incomplete, but has been worked on seperately.
- Actual enforcement of the version number tags is not active yet - just
the module dependencies are live.  The actual structure of versioning
hasn't been agreed on yet. (eg: major.minor, or whatever)
- There is some backwards compatability for old modules without metadata
but I'm not sure how good it is.

This is based on work originally done by Boris Popov (bp@freebsd.org),
but I'm not sure he'd recognize much of it now. Don't blame him. :-)
Also, ideas have been borrowed from Mike Smith.

24 years agoRemove unused include.
Jeroen Ruigrok van der Werven [Sat, 29 Apr 2000 12:47:03 +0000 (12:47 +0000)]
Remove unused include.

24 years agoRemove a bogus include.
Jeroen Ruigrok van der Werven [Sat, 29 Apr 2000 12:28:44 +0000 (12:28 +0000)]
Remove a bogus include.

24 years agoRemove dead debug code.
Jeroen Ruigrok van der Werven [Sat, 29 Apr 2000 12:02:00 +0000 (12:02 +0000)]
Remove dead debug code.
This also removes a dependency/reference on COMPAT_43.

24 years agoAdd lib/X11/locale/zh_TW.Big5.
Satoshi Asami [Sat, 29 Apr 2000 11:43:18 +0000 (11:43 +0000)]
Add lib/X11/locale/zh_TW.Big5.

Found by: bento

24 years agoDo not fault if curproc is null.
Peter Wemm [Sat, 29 Apr 2000 11:32:15 +0000 (11:32 +0000)]
Do not fault if curproc is null.

24 years agoDo not use uprintf() for link time error messages. This has unpleasant
Peter Wemm [Sat, 29 Apr 2000 11:21:44 +0000 (11:21 +0000)]
Do not use uprintf() for link time error messages.  This has unpleasant
consequences when it happens in the preload support, before curproc or
the tty system exist.

24 years agoThis new version adds support for early NCR chips.
Gerard Roudier [Sat, 29 Apr 2000 10:20:16 +0000 (10:20 +0000)]
This new version adds support for early NCR chips.
53C810 non 'A', 53C815 and 53C825 non 'A' are now
attached by the driver (by default).
The driver uses a different SCRIPTS set based on
MEMORY MOVE instructions for these chips.

2 SCRIPTS sets (firmwares) numbered #1 and #2 are
used for the whole support of the 53C8XX family
to get possible:

- FW #1 : Only based on MEMORY MOVE instructions.
          Selected for 810, 815, 825.
- FW #2 : LOAD/STORE based. This is the firmware
          also used by previous driver versions.
          Selected for other chips.

When both `ncr' and `sym' are configured, `sym'
will now attach all the 53C8XX devices by default.
Previous balancing between `ncr' and `sym' can be
preserved by:

- Either editing sym_conf.h and commenting the
  following compile option:
     #define SYM_CONF_GENERIC_SUPPORT
  (This also saves about 3.5Kb of kernel memory).

- Or setting kernel config option
    SYM_SETUP_LP_PROBE_MAP to 64 (bit 0x40)

24 years agoAdd support for debugging programs using libc_r's implementation of
Doug Rabson [Sat, 29 Apr 2000 09:03:49 +0000 (09:03 +0000)]
Add support for debugging programs using libc_r's implementation of
pthreads.

24 years agoMark two functions as private.
Peter Wemm [Sat, 29 Apr 2000 07:48:37 +0000 (07:48 +0000)]
Mark two functions as private.

24 years agoLOAD_ADDRESS is not used here. See conf/ldscript.* for the link base
Peter Wemm [Sat, 29 Apr 2000 06:29:39 +0000 (06:29 +0000)]
LOAD_ADDRESS is not used here.  See conf/ldscript.* for the link base
address.

24 years agoFixed typo.
Yoshihiro Takahashi [Sat, 29 Apr 2000 05:55:33 +0000 (05:55 +0000)]
Fixed typo.

24 years agoAdd Samsung 164BX to non-SRM mainboards
Wilko Bulte [Fri, 28 Apr 2000 19:18:52 +0000 (19:18 +0000)]
Add Samsung 164BX to non-SRM mainboards

24 years agoFix a bug handling the debug level when displaying control messages
Archie Cobbs [Fri, 28 Apr 2000 18:41:21 +0000 (18:41 +0000)]
Fix a bug handling the debug level when displaying control messages
in their ASCII forms at debug levels >= 3.

24 years agoOOps forgot to check in this one...
Julian Elischer [Fri, 28 Apr 2000 17:43:04 +0000 (17:43 +0000)]
OOps forgot to check in this one...
API chage for netgraph.

24 years agoHookup /dev/[u]random on the Alpha.
David E. O'Brien [Fri, 28 Apr 2000 17:18:48 +0000 (17:18 +0000)]
Hookup /dev/[u]random on the Alpha.

24 years agoInitialise entropy pool.
David E. O'Brien [Fri, 28 Apr 2000 17:17:41 +0000 (17:17 +0000)]
Initialise entropy pool.

Submitted by: dfr

24 years agoTwo simple changes to the kernel internal API for netgraph modules,
Julian Elischer [Fri, 28 Apr 2000 17:09:00 +0000 (17:09 +0000)]
Two simple changes to the kernel internal API for netgraph modules,
to support future work in flow-control and 'packet reject/replace'
processing modes.

reviewed by: phk, archie

24 years agoFix a situation where a pointer which should point to dynamically
Guy Helmer [Fri, 28 Apr 2000 15:31:28 +0000 (15:31 +0000)]
Fix a situation where a pointer which should point to dynamically
allocated memory was instead pointed to a static string.  A later
free() on the value of the pointer was a possible source of reported
"warning: pointer to wrong page" messages from cron.

Use consistent types in sizeof when malloc'ing memory for the
environment.

PR: kern/12248, bin/11169, bin/9722

24 years agoReplace PacketAliasRedirectPptp() (which had nothing specific
Ruslan Ermilov [Fri, 28 Apr 2000 13:44:49 +0000 (13:44 +0000)]
Replace PacketAliasRedirectPptp() (which had nothing specific
to PPTP) with more generic PacketAliasRedirectProto().

Major number is not bumped because it is believed that noone
has started using PacketAliasRedirectPptp() yet.

24 years agoFix typo
Alexey Zelkin [Fri, 28 Apr 2000 09:30:57 +0000 (09:30 +0000)]
Fix typo

Noticed by: jasone

24 years agoChange Elf64_Brandinfo::brand from char* to int.
Doug Rabson [Fri, 28 Apr 2000 08:53:23 +0000 (08:53 +0000)]
Change Elf64_Brandinfo::brand from char* to int.

24 years agoReserve register t7 on alpha to point at per-cpu global variables.
Doug Rabson [Fri, 28 Apr 2000 08:44:42 +0000 (08:44 +0000)]
Reserve register t7 on alpha to point at per-cpu global variables.

24 years agoWhen files are given to users by root, the quota system failed to
Kirk McKusick [Fri, 28 Apr 2000 06:12:56 +0000 (06:12 +0000)]
When files are given to users by root, the quota system failed to
reset their grace timer as their ownership crossed the soft limit
threshhold. Thus if they had been over their limit in the past,
they were suddenly penalized as if they had been over their limit
ever since. The fix is to check when root gives away files, that
when the receiving user crosses their soft limit, their grace timer
is reset. See the PR report for a detailed method of reproducing
the bug.

PR: kern/17128
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Reviewed by: Kirk McKusick <mckusick@mckusick.com>

24 years agosanpai-san (sanpai@sanpai.org) suggested that we put the novel probe
Warner Losh [Fri, 28 Apr 2000 05:01:35 +0000 (05:01 +0000)]
sanpai-san (sanpai@sanpai.org) suggested that we put the novel probe
first.  This will fix a few cards that hang on the WD probe.  He tells
me that PAO went one step farther and removed the WD proble completely
and none of the cards in the 2.x database broke in PAO3.  Since I'm
more conservative in this code, I'm just swapping the order, which he
said also fixed his problem.

Reviewed by: mdodd, iwasaki
Submitted by: sanpai@sanpai.org

24 years agoAdd a new macro CIRCLEQ_FOREACH_REVERSE for traversing through a
Archie Cobbs [Thu, 27 Apr 2000 22:50:12 +0000 (22:50 +0000)]
Add a new macro CIRCLEQ_FOREACH_REVERSE for traversing through a
circle queue in the reverse direction (from tail to head).

24 years agoDescribe drainwait
Andrey A. Chernov [Thu, 27 Apr 2000 22:08:29 +0000 (22:08 +0000)]
Describe drainwait

24 years agoremove last empty line
Andrey A. Chernov [Thu, 27 Apr 2000 21:58:46 +0000 (21:58 +0000)]
remove last empty line

24 years agopart of gfmt really changed commit
Andrey A. Chernov [Thu, 27 Apr 2000 21:48:48 +0000 (21:48 +0000)]
part of gfmt really changed commit

24 years agogfmt: set 'changed' flags only if something really changed.
Andrey A. Chernov [Thu, 27 Apr 2000 21:45:41 +0000 (21:45 +0000)]
gfmt: set 'changed' flags only if something really changed.

24 years agoAdd ability to manipulate with drain wait time
Andrey A. Chernov [Thu, 27 Apr 2000 21:31:23 +0000 (21:31 +0000)]
Add ability to manipulate with drain wait time

24 years agoMake gperf be a bootstrap-tool, since we now depend on features of
Garrett Wollman [Thu, 27 Apr 2000 21:24:43 +0000 (21:24 +0000)]
Make gperf be a bootstrap-tool, since we now depend on features of
the specific version in -current.

Approved in principle by: marcel

24 years agomake the example compile again.
Nick Hibma [Thu, 27 Apr 2000 21:08:24 +0000 (21:08 +0000)]
make the example compile again.

The makefile contains a reference to /sys/dev/ppbus. What really should
be done is copy the header files to /usr/include/sys/dev/ppbus.

PR:             kern/16767
Submitted by:    Jin Guojun (FTG staff) <jin@gracie.lbl.gov>

24 years agoRemove a warning
Nick Hibma [Thu, 27 Apr 2000 21:04:17 +0000 (21:04 +0000)]
Remove a warning

24 years agoRemove PC164UX from 'might work/might have SRM'. Add warning for
Wilko Bulte [Thu, 27 Apr 2000 20:19:48 +0000 (20:19 +0000)]
Remove PC164UX from 'might work/might have SRM'. Add warning for
non-SRM for PC164UX and XL/XLT DEC machines

Submitted by: <naddy@mips.rhein-neckar.de>

24 years agoAdd default 5min timeout for output drain to stop hanging on exit or in other
Andrey A. Chernov [Thu, 27 Apr 2000 20:14:21 +0000 (20:14 +0000)]
Add default 5min timeout for output drain to stop hanging on exit or in other
places when connection dropped

24 years agoUse profiling on LINT.
Poul-Henning Kamp [Thu, 27 Apr 2000 19:58:57 +0000 (19:58 +0000)]
Use profiling on LINT.
cosmetics.

24 years agoRevert my changes to make gperf a build-tool; that was the wrong thing.
Garrett Wollman [Thu, 27 Apr 2000 19:38:57 +0000 (19:38 +0000)]
Revert my changes to make gperf a build-tool; that was the wrong thing.
All builds had been broken; now just upgrade builds are until I or
someone else can figure out the Right Thing.

24 years agoSpell PacketAliasRedirectAddr() correctly.
Ruslan Ermilov [Thu, 27 Apr 2000 18:06:05 +0000 (18:06 +0000)]
Spell PacketAliasRedirectAddr() correctly.

24 years agoLoad Sharing using IP Network Address Translation (RFC 2391, LSNAT).
Ruslan Ermilov [Thu, 27 Apr 2000 17:55:17 +0000 (17:55 +0000)]
Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).

24 years agoLoad Sharing using IP Network Address Translation (RFC 2391, LSNAT).
Ruslan Ermilov [Thu, 27 Apr 2000 17:37:03 +0000 (17:37 +0000)]
Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).

LSNAT links are first created by either PacketAliasRedirectPort() or
PacketAliasRedirectAddress() and then set up by one or more calls to
PacketAliasAddServer().

24 years agoUpdate periodic to use the function source_rc_confs that
Neil Blakey-Milner [Thu, 27 Apr 2000 17:11:03 +0000 (17:11 +0000)]
Update periodic to use the function source_rc_confs that
/etc/defaults/rc.conf now exports.

24 years agoAdd gperf(1) to build tools. It should have been one before, but
Garrett Wollman [Thu, 27 Apr 2000 16:43:45 +0000 (16:43 +0000)]
Add gperf(1) to build tools.  It should have been one before, but
gcc does not depend on version-specific gperf behavior (yet).

24 years agoAdd a bpfdetach() stub routine to bpf.c. Without this, you'll get an
Bill Paul [Thu, 27 Apr 2000 15:11:41 +0000 (15:11 +0000)]
Add a bpfdetach() stub routine to bpf.c. Without this, you'll get an
unresolved symbol error if you try to load a network driver into a kernel
which doesn't have bpf enabled.

Forgotten by: rwatson
Found by: peter

24 years agoAdded PC-98 supports.
Yoshihiro Takahashi [Thu, 27 Apr 2000 13:37:40 +0000 (13:37 +0000)]
Added PC-98 supports.

Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp>,
Tomokazu HARADA <tkhara@osk4.3web.ne.jp> and
yokota