Bruce Evans
2f18a2801b
Fixed printf format errors.
1998-07-11 10:45:45 +00:00
Bruce Evans
ed62fb52ec
Fixed printf format errors.
1998-07-11 10:28:47 +00:00
Poul-Henning Kamp
3d1af38b35
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
Poul-Henning Kamp
3bc7e56592
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
Bruce Evans
ac1e407b32
Fixed printf format errors.
1998-07-11 07:46:16 +00:00
Bruce Evans
a838d83d8f
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
Bruce Evans
88bf59fcda
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
Bruce Evans
00be8601cd
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 Elischer
e06ccb171b
Add ipforward option
1998-07-11 04:46:27 +00:00
Bruce Evans
9d508ad2d9
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 Somers
14593dfd98
Change MIN_LQRPERIOD from 5 to 2.
1998-07-11 02:48:36 +00:00
Jordan K. Hubbard
d14897d381
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
Alexander Langer
c5b75d8223
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
Alexander Langer
427e99a0b8
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
Bruce Evans
930a642372
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
Bruce Evans
1009171eb2
Oops, forgot to modify the pointer-int typedefs from the i386 version.
1998-07-10 02:34:50 +00:00
Bruce Evans
2e480d34aa
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 Elischer
f763857cff
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
Dag-Erling Smørgrav
b9dd99f2f5
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
Dag-Erling Smørgrav
4ca1ab9434
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
Guy Helmer
932634cdff
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
Dag-Erling Smørgrav
d65fe5d36d
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
Joseph Koshy
d59b62e37b
Document the use of lines beginning with a '#' as comment lines.
...
PR: 5676
1998-07-09 11:38:21 +00:00
Dag-Erling Smørgrav
fcab936b59
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
Poul-Henning Kamp
febe7acd13
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
Poul-Henning Kamp
06c534212f
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
Joseph Koshy
2177df3cd2
Correct wording on range of addresses examined by `msync(2)'.
...
PR: 7180
1998-07-09 06:16:22 +00:00
Poul-Henning Kamp
7be7d5da24
Buffer overflow.
...
PR: 7195
Reviewed by: phk
Submitted by: Anders Thulin <Anders.x.thulin@telia.se>
1998-07-09 06:09:56 +00:00
Joseph Koshy
ce60232381
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
Joseph Koshy
8c47bb115c
Remove illegal ".Nm". This file is still using -man, not -mdoc.
...
PR: 7223
1998-07-09 04:53:11 +00:00
Joseph Koshy
5ddca9040c
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
John Polstra
adb915cb28
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 Elischer
4ec1acf055
Slight optimisation. Don't do the same calculation twice.
1998-07-09 02:00:02 +00:00
Julian Elischer
bcbd6c6fdd
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
Jacques Vidrine
8ffc434538
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
Alexander Langer
e375f2fa06
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 Takenori
ff8cc45a43
Oops, I broke netboot.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-07-08 16:01:34 +00:00
Dmitrij Tejblum
9b003a4c74
Add lockf().
1998-07-08 15:42:57 +00:00
Jacques Vidrine
e4e737cd85
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
Dmitrij Tejblum
abe2fe8a8b
Make this look more FreeBSDish.
1998-07-08 15:38:06 +00:00
Dmitrij Tejblum
f1f57565d4
This commit was generated by cvs2svn to compensate for changes in r37510,
...
which included commits to RCS files with non-trunk default branches.
1998-07-08 15:28:56 +00:00
Dmitrij Tejblum
6975deff55
An implementation of lockf() function call.
...
Obtained from: NetBSD (author: Klaus Klein)
1998-07-08 15:28:56 +00:00
Dmitrij Tejblum
6c0a7ecfd4
Declare lockf().
1998-07-08 15:14:48 +00:00
Dmitrij Tejblum
c713c527bb
Add XPG4.2.
1998-07-08 15:05:05 +00:00
Bruce Evans
596dfc04ed
Use not-so-new printf formats %r and/or %z instead of %n and/or %+x.
1998-07-08 10:53:58 +00:00
Bruce Evans
e0c38587af
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}.
1998-07-08 10:41:32 +00:00
Bruce Evans
3da6ef3c3a
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.
1998-07-08 09:11:43 +00:00
KATO Takenori
e809645c27
Sync with sys/i386/isa/syscons.c revision 1.265.
1998-07-08 08:54:38 +00:00
KATO Takenori
5c59deba3c
Sync with sys/i386/boot/netboot/Makefile revision 1.19.
1998-07-08 08:53:43 +00:00
David Greenman
0af8d3ec72
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
1998-07-08 08:49:51 +00:00