bde
5d983285b3
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.
1998-07-12 08:10:33 +00:00
bde
82ecca82af
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).
1998-07-12 02:31:08 +00:00
bde
aa863717b9
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.
1998-07-12 02:18:41 +00:00
bde
640d4c991a
Prepare to handle MAXUSERS as a normal option.
1998-07-12 01:48:14 +00:00
brian
4f861a5e87
Correct enable/disable handling (broken when ironing out
...
32/64 bit issues recently).
1998-07-12 00:30:18 +00:00
des
7592a9749c
FTP retrieve works.
1998-07-11 21:29:08 +00:00
brian
16c7986738
Check the ``alive'' filter for a packet *before* the
...
mbuf is deallocated by vj_SendFrame().
1998-07-11 19:05:24 +00:00
des
5b74d7e9c7
Too many changes to list. Basically, FTP is nearly there and error
...
reporting is kinda sorted out. Now HTTP needs to catch up...
1998-07-11 18:56:01 +00:00
kato
c39856b85e
Sync with sys/i386/isa/wd.c revision 1.171.
1998-07-11 17:02:48 +00:00
kato
173c841245
Sync with sys/i386/isa/fd.c revision 1.116.
1998-07-11 17:02:07 +00:00
kato
296edf15be
Sync with sys/i386/isa/diskslice_machdep.c revision 1.28.
1998-07-11 17:01:25 +00:00
kato
71593f57d5
Sync with sys/i386/i386/machdep.c revision 1.303.
1998-07-11 17:00:33 +00:00
bde
4364ca6091
Fixed whitespace lossage and long lines in previous commit.
1998-07-11 13:25:09 +00:00
bde
0c05d7ae1f
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
79b54f96f6
Fixed printf format errors.
...
Use offsetof() instead of null pointer hacks.
1998-07-11 12:17:07 +00:00
bde
9a46e507bb
Fixed printf format errors.
1998-07-11 12:07:52 +00:00
bde
0bd5cff687
Fixed printf format errors.
1998-07-11 11:30:46 +00:00
bde
bf789b0550
Fixed printf format errors.
1998-07-11 11:10:46 +00:00
bde
1820b554a1
Fixed printf format errors.
1998-07-11 10:51:01 +00:00
bde
26ff6d3488
Fixed printf format errors.
1998-07-11 10:45:45 +00:00
bde
0f1bf62aae
Fixed printf format errors.
1998-07-11 10:28:47 +00:00
phk
0593047d75
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
004328e373
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
f0b863f4b5
Fixed printf format errors.
1998-07-11 07:46:16 +00:00
bde
065e3edb49
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
a4b7c7a6b3
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
d307f5bacf
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
93e21e4d3d
Add ipforward option
1998-07-11 04:46:27 +00:00
bde
33db9aba37
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
664c9e049f
Change MIN_LQRPERIOD from 5 to 2.
1998-07-11 02:48:36 +00:00
jkh
e75406ce05
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
4cddfb10b4
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
afecce40f4
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
4579a954ad
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
4c73b80db0
Oops, forgot to modify the pointer-int typedefs from the i386 version.
1998-07-10 02:34:50 +00:00
bde
63dd5b520f
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
3032208d42
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
39b76225e4
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
bb067f280e
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
a976384337
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
1716a6b1dd
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
2d02bdedf2
Document the use of lines beginning with a '#' as comment lines.
...
PR: 5676
1998-07-09 11:38:21 +00:00
des
e2e75b07f0
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
7ef1d295c8
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
97a1a718bf
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
0f24702515
Correct wording on range of addresses examined by `msync(2)'.
...
PR: 7180
1998-07-09 06:16:22 +00:00
phk
dc65231abc
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
158adf1eee
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
ddb25d9bc8
Remove illegal ".Nm". This file is still using -man, not -mdoc.
...
PR: 7223
1998-07-09 04:53:11 +00:00