kato
48881fe821
Sync with sys/i386/isa/diskslice_machdep.c revision 1.28.
1998-07-11 17:01:25 +00:00
kato
5da078cfa3
Sync with sys/i386/i386/machdep.c revision 1.303.
1998-07-11 17:00:33 +00:00
bde
fdfd06ecda
Fixed whitespace lossage and long lines in previous commit.
1998-07-11 13:25:09 +00:00
bde
93370dfeda
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.
1998-07-11 13:06:41 +00:00
bde
a33385eaa6
Fixed printf format errors.
...
Use offsetof() instead of null pointer hacks.
1998-07-11 12:17:07 +00:00
bde
cdefd2c6db
Fixed printf format errors.
1998-07-11 12:07:52 +00:00
bde
48486b50c2
Fixed printf format errors.
1998-07-11 11:30:46 +00:00
bde
002e973df8
Fixed printf format errors.
1998-07-11 11:10:46 +00:00
bde
59792756ed
Fixed printf format errors.
1998-07-11 10:51:01 +00:00
bde
6f0055f2c2
Fixed printf format errors.
1998-07-11 10:45:45 +00:00
bde
b819364553
Fixed printf format errors.
1998-07-11 10:28:47 +00:00
phk
bdd1cd8827
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
1998-07-11 08:29:38 +00:00
phk
89ac66d02e
Improve a couple of comment.
...
PR: 7242
Reviewed by: phk
Submitted by: Peter Jeremy <peter.jeremyp@alcatel.com.au>
1998-07-11 08:01:18 +00:00
bde
fbb44714a9
Fixed printf format errors.
1998-07-11 07:46:16 +00:00
bde
15dcf917cb
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.
1998-07-11 06:35:39 +00:00
bde
e365001680
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.
1998-07-11 05:59:35 +00:00
bde
b769899517
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).
1998-07-11 04:58:25 +00:00
julian
4fe23429ac
Add ipforward option
1998-07-11 04:46:27 +00:00
bde
6c7ed25840
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.
1998-07-11 04:02:49 +00:00
brian
cc68975652
Change MIN_LQRPERIOD from 5 to 2.
1998-07-11 02:48:36 +00:00
jkh
32f3637395
Quick and dirty support for Linux's mremap. Not used by anything
...
but quake2 AFAIK.
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
1998-07-10 22:30:08 +00:00
alex
798f56212f
Removed no longer valid comment about swb_block being int instead of
...
daddr_t.
PR: 7238
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
1998-07-10 21:50:17 +00:00
alex
4e583b2fa8
Removed unnecessary test from if/else construct.
...
PR: 7233
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
1998-07-10 17:58:35 +00:00
bde
8c16346075
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>.
1998-07-10 09:26:41 +00:00
bde
383b3e7ca9
Oops, forgot to modify the pointer-int typedefs from the i386 version.
1998-07-10 02:34:50 +00:00
bde
876efe0419
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.
1998-07-10 02:27:16 +00:00
julian
7e9c440b45
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.
1998-07-10 00:10:20 +00:00
des
159027b6bb
Recognize long month names in addition to short ones.
...
PR: bin/7228
Submitted by: Archie Cobbs <archie@whistle.com>
1998-07-09 22:51:59 +00:00
des
c815e5dee1
This commit was generated by cvs2svn to compensate for changes in r37535,
...
which included commits to RCS files with non-trunk default branches.
1998-07-09 16:52:44 +00:00
des
9c2d60ed01
Imported libfetch into the tree. It compiles, but there's still some
...
work to do. I especially need help with the man page.
1998-07-09 16:52:44 +00:00
ghelmer
94e7631576
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
1998-07-09 14:06:54 +00:00
des
23eea447a5
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>
1998-07-09 12:39:08 +00:00
jkoshy
0fc0040fdc
Document the use of lines beginning with a '#' as comment lines.
...
PR: 5676
1998-07-09 11:38:21 +00:00
des
f72c7908ea
Use four-digit year in SNAP name. We're eighteen months from the next
...
millenium, fer cryin' out loud...
1998-07-09 08:26:38 +00:00
phk
87808284bf
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>
1998-07-09 06:30:30 +00:00
phk
c649931eab
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>
1998-07-09 06:24:21 +00:00
jkoshy
9040c58ed6
Correct wording on range of addresses examined by `msync(2)'.
...
PR: 7180
1998-07-09 06:16:22 +00:00
phk
2591f16c5a
Buffer overflow.
...
PR: 7195
Reviewed by: phk
Submitted by: Anders Thulin <Anders.x.thulin@telia.se>
1998-07-09 06:09:56 +00:00
jkoshy
3421b98ff6
Add a CAVEAT section documenting the minimum permissions required for a mount
...
point to be traversable in both directions by all users.
PR: 7172
1998-07-09 05:49:58 +00:00
jkoshy
493d543f2a
Remove illegal ".Nm". This file is still using -man, not -mdoc.
...
PR: 7223
1998-07-09 04:53:11 +00:00
jkoshy
dfdd427382
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
1998-07-09 04:28:19 +00:00
jdp
e2915f26bf
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>.
1998-07-09 03:57:26 +00:00
julian
9250a1cea8
Slight optimisation. Don't do the same calculation twice.
1998-07-09 02:00:02 +00:00
julian
611dea7485
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>
1998-07-08 23:52:27 +00:00
nectar
bb5587c50c
natd_interface can now be specified as either an IP address or
...
an interface name, so describe that here.
1998-07-08 23:31:28 +00:00
alex
b2209672a7
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>
1998-07-08 22:42:08 +00:00
kato
af73162fa3
Oops, I broke netboot.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-07-08 16:01:34 +00:00
dt
603c770ca5
Add lockf().
1998-07-08 15:42:57 +00:00
nectar
d2e760ca5d
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
1998-07-08 15:40:53 +00:00
dt
bb1f5b9403
Make this look more FreeBSDish.
1998-07-08 15:38:06 +00:00