]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoSet the minimum malloc bucket to 5. In a DIAGNOSTIC kernel, the extra
Doug Rabson [Sun, 12 Jul 1998 16:49:54 +0000 (16:49 +0000)]
Set the minimum malloc bucket to 5.  In a DIAGNOSTIC kernel, the extra
data in struct freelist is larger than 16 bytes on the alpha.

26 years agoPoint at the correct disk location for alpha disklabels.
Doug Rabson [Sun, 12 Jul 1998 16:48:08 +0000 (16:48 +0000)]
Point at the correct disk location for alpha disklabels.

26 years agoMake sure the packet is aligned correctly for the alpha in if_simloop.
Doug Rabson [Sun, 12 Jul 1998 16:46:52 +0000 (16:46 +0000)]
Make sure the packet is aligned correctly for the alpha in if_simloop.

26 years agoInitialise all the fields separately in vattr_null since on the alpha
Doug Rabson [Sun, 12 Jul 1998 16:45:39 +0000 (16:45 +0000)]
Initialise all the fields separately in vattr_null since on the alpha
they are not all the same width.

26 years agoOverhaul the spl system so that it actually works properly.
Doug Rabson [Sun, 12 Jul 1998 16:32:10 +0000 (16:32 +0000)]
Overhaul the spl system so that it actually works properly.

26 years agoDon't bother calling pmap_emulate_reference() from cpu_fork(). It isn't
Doug Rabson [Sun, 12 Jul 1998 16:30:58 +0000 (16:30 +0000)]
Don't bother calling pmap_emulate_reference() from cpu_fork().  It isn't
needed and it panics a DIAGNOSTIC kernel.

26 years agoDefine option DEC_EB164
Doug Rabson [Sun, 12 Jul 1998 16:28:09 +0000 (16:28 +0000)]
Define option DEC_EB164

26 years agoAdd entry for prom console.
Doug Rabson [Sun, 12 Jul 1998 16:27:34 +0000 (16:27 +0000)]
Add entry for prom console.

26 years agoAdd some bits and pieces for my test box.
Doug Rabson [Sun, 12 Jul 1998 16:26:52 +0000 (16:26 +0000)]
Add some bits and pieces for my test box.

26 years agoUpdate to new interrupt api.
Doug Rabson [Sun, 12 Jul 1998 16:23:19 +0000 (16:23 +0000)]
Update to new interrupt api.

26 years agoChange interrupt api to be closer to intr_create/intr_connect.
Doug Rabson [Sun, 12 Jul 1998 16:20:52 +0000 (16:20 +0000)]
Change interrupt api to be closer to intr_create/intr_connect.

26 years agoImplement CIA interrupts.
Doug Rabson [Sun, 12 Jul 1998 16:17:54 +0000 (16:17 +0000)]
Implement CIA interrupts.

Obtained from: SRM console magic from NetBSD

26 years agoImplement intr_create/intr_connect.
Doug Rabson [Sun, 12 Jul 1998 16:16:22 +0000 (16:16 +0000)]
Implement intr_create/intr_connect.

26 years agoImplement promcncheckc.
Doug Rabson [Sun, 12 Jul 1998 16:15:06 +0000 (16:15 +0000)]
Implement promcncheckc.

26 years agoAdd some debug code.
Doug Rabson [Sun, 12 Jul 1998 16:13:54 +0000 (16:13 +0000)]
Add some debug code.
Always clear TLB in pmap_activate, even if activating curproc's pmap.

26 years agoAdd a couple of sysctls and implement sendsig/sigreturn.
Doug Rabson [Sun, 12 Jul 1998 16:10:52 +0000 (16:10 +0000)]
Add a couple of sysctls and implement sendsig/sigreturn.

Obtained from: signal code from NetBSD

26 years agoAdd some generic interrupt dispatch code.
Doug Rabson [Sun, 12 Jul 1998 16:09:30 +0000 (16:09 +0000)]
Add some generic interrupt dispatch code.

26 years agoAdd definition of p_switchtime.
Doug Rabson [Sun, 12 Jul 1998 16:08:15 +0000 (16:08 +0000)]
Add definition of p_switchtime.

26 years agoInclude opt_ddb.h.
Doug Rabson [Sun, 12 Jul 1998 16:07:43 +0000 (16:07 +0000)]
Include opt_ddb.h.

26 years agoHardwire the root disk of my test box for now.
Doug Rabson [Sun, 12 Jul 1998 16:07:05 +0000 (16:07 +0000)]
Hardwire the root disk of my test box for now.

26 years agoSync with sys/i386/conf/Makefile.i386 revision 1.117.
KATO Takenori [Sun, 12 Jul 1998 14:30:54 +0000 (14:30 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.117.

26 years agoRemoved historical dependencies on `Makefile'. They had rotted to being
Bruce Evans [Sun, 12 Jul 1998 10:47:32 +0000 (10:47 +0000)]
Removed historical dependencies on `Makefile'.  They had rotted to being
mostly for objects that have the fewest dependencies on `Makefile'
(since they were mostly for utilities and objects generated from *.s
and these don't depend on profiling flags).

Give an explicit rule for building vnode_if.o.  This fixes building
it without ${PROF}.

Use .ORDER instead of a stamp file to avoid building vnode_if.[ch]
concurrently.

Removed explicit dependencies that will be generated by `make' (.c.o)
or will be generated by mkdep.

Added missing dependencies of special objects on opt_global.h.

Use ${NORMAL_C} instead of special rules for special objects where
possible.

FIxed dependencies of vers.o.

26 years agoRemoved all traces of PARAM in Makefile.i386. Incremented CONFIGVERS
Bruce Evans [Sun, 12 Jul 1998 09:52:45 +0000 (09:52 +0000)]
Removed all traces of PARAM in Makefile.i386.  Incremented CONFIGVERS
to reflect the dependency of Makefile.i386 on nothing being put in
PARAM.

Config versioning is too closely coupled with the Makefile.i386.

26 years agoFix proxy authorization code:
Stefan Eßer [Sun, 12 Jul 1998 09:07:36 +0000 (09:07 +0000)]
Fix proxy authorization code:

- failed to use authorization parameters passed in the environment, if
  /dev/tty could not be opened (i.e. if running from cron)
- mixed use of /dev/tty and stdin for prompt and reading of the result

26 years agoConvert the maxusers directive to a normal MAXUSERS option (normally
Bruce Evans [Sun, 12 Jul 1998 08:10:33 +0000 (08:10 +0000)]
Convert the maxusers directive to a normal MAXUSERS option (normally
define MAXUSERS in opt_param.h as directed in /sys/conf/options;
if it's not mentioned there, then define it in IDENT; never define
it in PARAM).  MAXUSERS probably should be a completely normal option.

Don't define PARAM now that it is empty.

Cleaned up similar conversion of cpu directives to XXX_CPU options.

26 years agoWarn about redefined options. Keep using the last value processed.
Bruce Evans [Sun, 12 Jul 1998 02:31:08 +0000 (02:31 +0000)]
Warn about redefined options.  Keep using the last value processed.
Options are processed reverse file order, so the first definition in
the config file wins (except for directives that are converted to
option).

26 years agoFixed off-by-1 errors in option line numbers. yyline is 0-based, but
Bruce Evans [Sun, 12 Jul 1998 02:18:41 +0000 (02:18 +0000)]
Fixed off-by-1 errors in option line numbers.  yyline is 0-based, but
was used as if it is 1-based.  This happened to give the correct result
for options without values because of a compensating error in newline
lexing.  Didn't fix the latter, so line numbers in yyerror() may still
be 1 too high in some cases.

26 years agoPrepare to handle MAXUSERS as a normal option.
Bruce Evans [Sun, 12 Jul 1998 01:48:14 +0000 (01:48 +0000)]
Prepare to handle MAXUSERS as a normal option.

26 years agoCorrect enable/disable handling (broken when ironing out
Brian Somers [Sun, 12 Jul 1998 00:30:18 +0000 (00:30 +0000)]
Correct enable/disable handling (broken when ironing out
32/64 bit issues recently).

26 years agoFTP retrieve works.
Dag-Erling Smørgrav [Sat, 11 Jul 1998 21:29:08 +0000 (21:29 +0000)]
FTP retrieve works.

26 years agoCheck the ``alive'' filter for a packet *before* the
Brian Somers [Sat, 11 Jul 1998 19:05:24 +0000 (19:05 +0000)]
Check the ``alive'' filter for a packet *before* the
mbuf is deallocated by vj_SendFrame().

26 years agoToo many changes to list. Basically, FTP is nearly there and error
Dag-Erling Smørgrav [Sat, 11 Jul 1998 18:56:01 +0000 (18:56 +0000)]
Too many changes to list. Basically, FTP is nearly there and error
reporting is kinda sorted out. Now HTTP needs to catch up...

26 years agoSync with sys/i386/isa/wd.c revision 1.171.
KATO Takenori [Sat, 11 Jul 1998 17:02:48 +0000 (17:02 +0000)]
Sync with sys/i386/isa/wd.c revision 1.171.

26 years agoSync with sys/i386/isa/fd.c revision 1.116.
KATO Takenori [Sat, 11 Jul 1998 17:02:07 +0000 (17:02 +0000)]
Sync with sys/i386/isa/fd.c revision 1.116.

26 years agoSync with sys/i386/isa/diskslice_machdep.c revision 1.28.
KATO Takenori [Sat, 11 Jul 1998 17:01:25 +0000 (17:01 +0000)]
Sync with sys/i386/isa/diskslice_machdep.c revision 1.28.

26 years agoSync with sys/i386/i386/machdep.c revision 1.303.
KATO Takenori [Sat, 11 Jul 1998 17:00:33 +0000 (17:00 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.303.

26 years agoFixed whitespace lossage and long lines in previous commit.
Bruce Evans [Sat, 11 Jul 1998 13:25:09 +0000 (13:25 +0000)]
Fixed whitespace lossage and long lines in previous commit.

26 years agoMoved definition of fscale from param.c to kern_synch.c where it
Bruce Evans [Sat, 11 Jul 1998 13:06:41 +0000 (13:06 +0000)]
Moved definition of fscale from param.c to kern_synch.c where it
should always have been (it has no user-servicable parts even at
compile time) and staticized it.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 12:17:07 +0000 (12:17 +0000)]
Fixed printf format errors.

Use offsetof() instead of null pointer hacks.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 12:07:52 +0000 (12:07 +0000)]
Fixed printf format errors.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 11:30:46 +0000 (11:30 +0000)]
Fixed printf format errors.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 11:10:46 +0000 (11:10 +0000)]
Fixed printf format errors.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 10:51:01 +0000 (10:51 +0000)]
Fixed printf format errors.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 10:45:45 +0000 (10:45 +0000)]
Fixed printf format errors.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 10:28:47 +0000 (10:28 +0000)]
Fixed printf format errors.

26 years agoDon't disable pmap_setdevram() which isn't called, but which could be,
Poul-Henning Kamp [Sat, 11 Jul 1998 08:29:38 +0000 (08:29 +0000)]
Don't disable pmap_setdevram() which isn't called, but which could be,
but instead disable pmap_setvidram() which is called, but probably
shouldn't be.

PR: 7227, 7240

26 years agoImprove a couple of comment.
Poul-Henning Kamp [Sat, 11 Jul 1998 08:01:18 +0000 (08:01 +0000)]
Improve a couple of comment.
PR: 7242
Reviewed by: phk
Submitted by: Peter Jeremy <peter.jeremyp@alcatel.com.au>

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 07:46:16 +0000 (07:46 +0000)]
Fixed printf format errors.

26 years agoDon't pretend to support ix86's with 7-bit ints by using longs just to
Bruce Evans [Sat, 11 Jul 1998 06:35:39 +0000 (06:35 +0000)]
Don't pretend to support ix86's with 7-bit ints by using longs just to
ensure 8-bit variables.  Doing so mainly bogotified some printf formats.

26 years agoDon't pretend to support ix86's with 16-bit ints by using longs just to
Bruce Evans [Sat, 11 Jul 1998 05:59:35 +0000 (05:59 +0000)]
Don't pretend to support ix86's with 16-bit ints by using longs just to
ensure 32-bit variables.  Doing so mainly bogotified some printf formats.

Fixed disorder in md_var.h.

26 years agoDon't pretend to support ix86's with 16-bit ints by using longs
Bruce Evans [Sat, 11 Jul 1998 04:58:25 +0000 (04:58 +0000)]
Don't pretend to support ix86's with 16-bit ints by using longs
just to ensure 32-bit variables.  Doing so broke and/or pessimized
i386's with 64-bit longs (unnecessary use of 64-bit variables
caused remarkably few problems in C code, but the inline asm here
tended to fail because there are no 64-bit registers).  Since the
interfaces here are very machine-dependent and shouldn't be used
outside of the kernel, use a standard types of "known" width instead
of fixed-width types.

Changed all quad_t's to u_int64_t's.  quad_t isn't standard, and
using signed types for 64-bit registers was bogus (but made no
difference).

26 years agoAdd ipforward option
Julian Elischer [Sat, 11 Jul 1998 04:46:27 +0000 (04:46 +0000)]
Add ipforward option

26 years agoDon't pretend to support ix86's with 16-bit ints by using longs just
Bruce Evans [Sat, 11 Jul 1998 04:02:49 +0000 (04:02 +0000)]
Don't pretend to support ix86's with 16-bit ints by using longs just
to ensure 32-bit variables.  Doing so broke i386's with 64-bit
longs.  Use fixed-size integral types instead of plain ints, shorts,
chars and pointers since the bootinfo struct layout is a binary
interface.  The boot blocks could reasonably be implemented using
16-bit code.

26 years agoChange MIN_LQRPERIOD from 5 to 2.
Brian Somers [Sat, 11 Jul 1998 02:48:36 +0000 (02:48 +0000)]
Change MIN_LQRPERIOD from 5 to 2.

26 years agoQuick and dirty support for Linux's mremap. Not used by anything
Jordan K. Hubbard [Fri, 10 Jul 1998 22:30:08 +0000 (22:30 +0000)]
Quick and dirty support for Linux's mremap.  Not used by anything
but quake2 AFAIK.

Submitted by:   Luoqi Chen <luoqi@watermarkgroup.com>

26 years agoRemoved no longer valid comment about swb_block being int instead of
Alexander Langer [Fri, 10 Jul 1998 21:50:17 +0000 (21:50 +0000)]
Removed no longer valid comment about swb_block being int instead of
daddr_t.

PR: 7238
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>

26 years agoRemoved unnecessary test from if/else construct.
Alexander Langer [Fri, 10 Jul 1998 17:58:35 +0000 (17:58 +0000)]
Removed unnecessary test from if/else construct.

PR: 7233
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>

26 years agoOops, fptrint_t still needs to be declared in <machine/profile.h> in the
Bruce Evans [Fri, 10 Jul 1998 09:26:41 +0000 (09:26 +0000)]
Oops, fptrint_t still needs to be declared in <machine/profile.h> in the
!KERNEL case.  The kludge to get it declared in libc/gmon/mcount.c wasn't
sufficient because fptrint_t is used in <sys/gmon.h>.

26 years agoOops, forgot to modify the pointer-int typedefs from the i386 version.
Bruce Evans [Fri, 10 Jul 1998 02:34:50 +0000 (02:34 +0000)]
Oops, forgot to modify the pointer-int typedefs from the i386 version.

26 years agoAdded a kernel-only typedef (ptrint_t) giving an integral type that is
Bruce Evans [Fri, 10 Jul 1998 02:27:16 +0000 (02:27 +0000)]
Added a kernel-only typedef (ptrint_t) giving an integral type that is
least unsuitable for holding an object pointer.  This should have been
used to fix warnings about casts between pointers and ints on alphas.

Moved corresponding existing general typedef (fptrint_t) for function
pointers from the i386 <machine/profile.h> to a kernel-only typedef
in <machine/types.h>.  Kludged libc/gmon/mcount.c so that it can
still see this typedef.

26 years agoAdd code missed in the initial Soft updates integration.
Julian Elischer [Fri, 10 Jul 1998 00:10:20 +0000 (00:10 +0000)]
Add code missed in the initial Soft updates integration.
Make the unallocated parts of a directry have a know state
in case we need it later.

26 years agoRecognize long month names in addition to short ones.
Dag-Erling Smørgrav [Thu, 9 Jul 1998 22:51:59 +0000 (22:51 +0000)]
Recognize long month names in addition to short ones.

PR: bin/7228
Submitted by: Archie Cobbs <archie@whistle.com>

26 years agoImported libfetch into the tree. It compiles, but there's still some
Dag-Erling Smørgrav [Thu, 9 Jul 1998 16:52:44 +0000 (16:52 +0000)]
Imported libfetch into the tree. It compiles, but there's still some
work to do. I especially need help with the man page.

26 years agoSecurity and minor functionality changes based on OpenBSD msgs.c:
Guy Helmer [Thu, 9 Jul 1998 14:06:54 +0000 (14:06 +0000)]
Security and minor functionality changes based on OpenBSD msgs.c:
tmp file (mktemp changed to mkstemp), saved POSIX uids, buffer overflow,
and use PAGER environment variable if set.
Obtained from: OpenBSD

26 years agoFor every directory in ${PATH} that ends with "/bin", look for a
Dag-Erling Smørgrav [Thu, 9 Jul 1998 12:39:08 +0000 (12:39 +0000)]
For every directory in ${PATH} that ends with "/bin", look for a
corresponding directory ending in "/man".

PR: 7215
Submitted by: Wayne Scott <wscott@ichips.intel.com>

26 years agoDocument the use of lines beginning with a '#' as comment lines.
Joseph Koshy [Thu, 9 Jul 1998 11:38:21 +0000 (11:38 +0000)]
Document the use of lines beginning with a '#' as comment lines.

PR: 5676

26 years agoUse four-digit year in SNAP name. We're eighteen months from the next
Dag-Erling Smørgrav [Thu, 9 Jul 1998 08:26:38 +0000 (08:26 +0000)]
Use four-digit year in SNAP name.  We're eighteen months from the next
millenium, fer cryin' out loud...

26 years agoThe file share/timedef/data/es_ES.ISO_8859-1.src (which I submitted
Poul-Henning Kamp [Thu, 9 Jul 1998 06:30:30 +0000 (06:30 +0000)]
The file share/timedef/data/es_ES.ISO_8859-1.src (which I submitted
some months ago and was incorporated to FreeBSD) has capitalized
weekdays names, but this is not correct according to the rules of the
Spanish language.

Also, the patch applies a small change to the "date_fmt" string, adding
a comma between the year and the hour.

PR: 7211
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>

26 years agoThe '-h' option cannot toggle the kernel from a serial console
Poul-Henning Kamp [Thu, 9 Jul 1998 06:24:21 +0000 (06:24 +0000)]
The '-h' option cannot toggle the kernel from a serial console
if the kernel was built with COMCONSOLE

PR: 7202
Reviewed by: phk
Submitted by: Greg A. Woods <woods@zeus.leitch.com>

26 years agoCorrect wording on range of addresses examined by `msync(2)'.
Joseph Koshy [Thu, 9 Jul 1998 06:16:22 +0000 (06:16 +0000)]
Correct wording on range of addresses examined by `msync(2)'.

PR: 7180

26 years agoBuffer overflow.
Poul-Henning Kamp [Thu, 9 Jul 1998 06:09:56 +0000 (06:09 +0000)]
Buffer overflow.
PR: 7195
Reviewed by: phk
Submitted by: Anders Thulin <Anders.x.thulin@telia.se>

26 years agoAdd a CAVEAT section documenting the minimum permissions required for a mount
Joseph Koshy [Thu, 9 Jul 1998 05:49:58 +0000 (05:49 +0000)]
Add a CAVEAT section documenting the minimum permissions required for a mount
point to be traversable in both directions by all users.

PR: 7172

26 years agoRemove illegal ".Nm". This file is still using -man, not -mdoc.
Joseph Koshy [Thu, 9 Jul 1998 04:53:11 +0000 (04:53 +0000)]
Remove illegal ".Nm".  This file is still using -man, not -mdoc.

PR: 7223

26 years agofix description of `-C' option to match behaviour in the sources:
Joseph Koshy [Thu, 9 Jul 1998 04:28:19 +0000 (04:28 +0000)]
fix description of `-C' option to match behaviour in the sources:
`-C' can be used both when creating and extracting files.  Further,
a `-C' inside the argument list causes a `chdir()' to the named
directory before the subsequent filename arguments to be interpreted.

Eg:- "tar -cf a+b.tar -C /a . -C /b ."

PR: 7221

26 years agoFix a bug that prevented the restoration of hard links to files that
John Polstra [Thu, 9 Jul 1998 03:57:26 +0000 (03:57 +0000)]
Fix a bug that prevented the restoration of hard links to files that
had the schg flag set.  Reported by Matthew Thyer <thyerm@camtech.net.au>.

26 years agoSlight optimisation. Don't do the same calculation twice.
Julian Elischer [Thu, 9 Jul 1998 02:00:02 +0000 (02:00 +0000)]
Slight optimisation. Don't do the same calculation twice.

26 years agoDon't update superblock if mounted readonly,
Julian Elischer [Wed, 8 Jul 1998 23:52:27 +0000 (23:52 +0000)]
Don't update superblock if mounted readonly,
also fixes some problems with softupdates on root.
More cleanups are needed here..
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>

26 years agonatd_interface can now be specified as either an IP address or
Jacques Vidrine [Wed, 8 Jul 1998 23:31:28 +0000 (23:31 +0000)]
natd_interface can now be specified as either an IP address or
an interface name, so describe that here.

26 years agoDetect user id 0 as a number instead of a string. String comparisons
Alexander Langer [Wed, 8 Jul 1998 22:42:08 +0000 (22:42 +0000)]
Detect user id 0 as a number instead of a string.  String comparisons
fail to detect 00.

PR: 7218
Submitted by: Michal Listos <mcl@Amnesiac.123.org>
Niall Smart <rotel@indigo.ie>

26 years agoOops, I broke netboot.
KATO Takenori [Wed, 8 Jul 1998 16:01:34 +0000 (16:01 +0000)]
Oops, I broke netboot.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>

26 years agoAdd lockf().
Dmitrij Tejblum [Wed, 8 Jul 1998 15:42:57 +0000 (15:42 +0000)]
Add lockf().

26 years agoAllow either an IP address or an interface to be specified in
Jacques Vidrine [Wed, 8 Jul 1998 15:40:53 +0000 (15:40 +0000)]
Allow either an IP address or an interface to be specified in
the rc.conf variable ``natd_interface''.  rc.network will
determine whether it is an IP address or an interface name,
and invoke natd with the -a or -n flag as appropriate.

PR: 6947
Reviewed by: jkh@FreeBSD.ORG

26 years agoMake this look more FreeBSDish.
Dmitrij Tejblum [Wed, 8 Jul 1998 15:38:06 +0000 (15:38 +0000)]
Make this look more FreeBSDish.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r37510,
Dmitrij Tejblum [Wed, 8 Jul 1998 15:28:56 +0000 (15:28 +0000)]
This commit was generated by cvs2svn to compensate for changes in r37510,
which included commits to RCS files with non-trunk default branches.

26 years agoAn implementation of lockf() function call.
Dmitrij Tejblum [Wed, 8 Jul 1998 15:28:56 +0000 (15:28 +0000)]
An implementation of lockf() function call.

Obtained from: NetBSD (author: Klaus Klein)

26 years agoDeclare lockf().
Dmitrij Tejblum [Wed, 8 Jul 1998 15:14:48 +0000 (15:14 +0000)]
Declare lockf().

26 years agoAdd XPG4.2.
Dmitrij Tejblum [Wed, 8 Jul 1998 15:05:05 +0000 (15:05 +0000)]
Add XPG4.2.

26 years agoUse not-so-new printf formats %r and/or %z instead of %n and/or %+x.
Bruce Evans [Wed, 8 Jul 1998 10:53:58 +0000 (10:53 +0000)]
Use not-so-new printf formats %r and/or %z instead of %n and/or %+x.

26 years agoFixed (un)sign extension bugs in %+n format. -4 became
Bruce Evans [Wed, 8 Jul 1998 10:41:32 +0000 (10:41 +0000)]
Fixed (un)sign extension bugs in %+n format.  -4 became
(long)(u_long)(u_int)-4 = 0x00000000fffffffc on machines with 32-bit
ints and 64-bit longs.

Restored %z format for printing signed hex.  %+x shouldn't have been
used since it is an error in userland.

Prepared to nuke %n format by cloning it to %r.  %n shouldn't have
been used because it means something completely different in
userland.  Now %+r is equivalent to ddb's original %r, and %r is
equivalent to ddb's original %n.

Ignore '+' flag in combination with unsigned formats %{o,p,u,x}.

26 years agoFixed bogus type of valuep in struct db_variable. It was `int *' and
Bruce Evans [Wed, 8 Jul 1998 09:11:43 +0000 (09:11 +0000)]
Fixed bogus type of valuep in struct db_variable.  It was `int *' and
became `long *' for alpha, but should always have been `db_expr_t *'.
Fixed variable types to match.

26 years agoSync with sys/i386/isa/syscons.c revision 1.265.
KATO Takenori [Wed, 8 Jul 1998 08:54:38 +0000 (08:54 +0000)]
Sync with sys/i386/isa/syscons.c revision 1.265.

26 years agoSync with sys/i386/boot/netboot/Makefile revision 1.19.
KATO Takenori [Wed, 8 Jul 1998 08:53:43 +0000 (08:53 +0000)]
Sync with sys/i386/boot/netboot/Makefile revision 1.19.

26 years agoWhen not acting as a router (ipforwarding=0), silently discard source
David Greenman [Wed, 8 Jul 1998 08:49:51 +0000 (08:49 +0000)]
When not acting as a router (ipforwarding=0), silently discard source
routed packets that aren't destined for us, as required by RFC-1122.
PR: 7191

26 years agoFixed db_printf format errors.
Bruce Evans [Wed, 8 Jul 1998 06:43:57 +0000 (06:43 +0000)]
Fixed db_printf format errors.

26 years agoAdd support for run-time configuration of core file names. In a nutshell,
Sean Eric Fagan [Wed, 8 Jul 1998 06:38:39 +0000 (06:38 +0000)]
Add support for run-time configuration of core file names.  In a nutshell,
you can specify the corefile name by using:

sysctl -w kern.corefile="format"

where format is a pathname (relative or absolute -- default is "%N.core"),
with "%N" (process name), "%P" (process ID), and "%U" (user ID) formats.

Reviewed by: Mike Smith, with strong requests by Julian :)

26 years agoFixed db_printf format errors (except for ones using broken extensions
Bruce Evans [Wed, 8 Jul 1998 06:27:22 +0000 (06:27 +0000)]
Fixed db_printf format errors (except for ones using broken extensions
(nonstandard %n and '+' with %x), and ones not found by -Wformat on
386's (some db_expr_t's are still printed as ints).

I decided not to change the arg type for %n from [unsigned] int to
register_t, since about half of the uses of %n are to print plain
ints and casting to [unsigned] long for %n is no harder than for %x.

26 years agoAdd a "-k" option, to specify that the lock file should be kept
John Polstra [Wed, 8 Jul 1998 05:29:05 +0000 (05:29 +0000)]
Add a "-k" option, to specify that the lock file should be kept
rather than removed.

Submitted by: Nick Barnes <Nick.Barnes@pobox.com>

26 years agoMerge changes from vendor branch.
Peter Wemm [Wed, 8 Jul 1998 01:24:37 +0000 (01:24 +0000)]
Merge changes from vendor branch.

26 years agoImport NetBSD-current version of if_de driver onto vendor branch.
Peter Wemm [Wed, 8 Jul 1998 01:16:05 +0000 (01:16 +0000)]
Import NetBSD-current version of if_de driver onto vendor branch.

26 years agoCatch a few corner cases where FreeBSD differs enough from BSD 4.4 to
Julian Elischer [Wed, 8 Jul 1998 01:04:33 +0000 (01:04 +0000)]
Catch a few corner cases where FreeBSD differs enough from BSD 4.4 to
confuse Soft updates..
Should solve several "dangling deps" panics.