John Polstra
298c8e3d6b
Fix a bug that caused some false mismatches when both FNM_PATHNAME
...
and FNM_LEADING_DIR were specified and the pattern ended with "*".
Example: pattern="src/usr.sbin/w*", string="src/usr.sbin/watch/watch.8,v".
This should match, but did not.
1997-04-29 03:24:57 +00:00
KATO Takenori
1a0345d543
Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/wd.c
...
revisions 1.43 and 1.129, respectively.
1997-04-29 03:15:47 +00:00
Steve Passe
6b178bfd1b
added mptable to directory list of usr.sbin programs.
1997-04-29 03:09:01 +00:00
Steve Price
86bdf9bc0b
#include <stdlib.h> in the C++ case and declare getenv and realloc
...
in the C case so that we don't have to depend on stdlib.h being
present.
Submitted by: Bruce Evans <bde@freefall.freebsd.org>
1997-04-29 03:07:45 +00:00
Steve Passe
2b33a0f919
add a userland program for SMP support
...
mptable examines and displays the MP table of an SMP motherboard.
1997-04-29 03:06:35 +00:00
Steve Price
600e3340ca
Keep style consistent.
...
Submitted by: Bruce Evans <bde@freefall.freebsd.org>
1997-04-29 03:05:38 +00:00
John Polstra
3b9d3fa4fa
Set the N_EXT (external) flag for all weak symbols. It makes no
...
sense to have a weak symbol that is not externally visible. This
fixes many of the "relocation burb" warnings produced when compiling
C++ code with "-fpic". Beyond eliminating warnings, it also makes
some things work that didn't work before.
1997-04-29 02:11:48 +00:00
KATO Takenori
a9320ff3bd
Revised fix for locking violation when unionfs calls vput with
...
UN_KLOCK flag.
When UN_KLOCK is set, VOP_UNLOCK should keep uppervp locked and clear
UN_ULOCK flag. To do this, when UN_KLOCK is set, (1) union_unlock
clears UN_ULOCK and does not clear UN_KLOCK, (2) union_lock() does not
access uppervp and does not clear UN_KLOCK, and (3) callers of
vput/VOP_UNLOCK should clear UN_KLOCK. For example, vput becomes:
SETKLOCK(union_node);
vput(vnode);
CLEARKLOCK(union_node);
where SETKLOCK macro sets UN_KLOCK and CLEARKLOCK macro clears
UN_KLOCK.
1997-04-29 02:06:07 +00:00
Stefan Eßer
862b403b04
Move CMD640 option from kernel Makefile into opt_wd.h
...
Submitted by: Wolfgang Helbig <helbig@mx.ba-stuttgart.de>
1997-04-28 19:26:18 +00:00
KATO Takenori
e17f70a00d
Synchronize with sys/i386/isa/isa.c revision 1.83.
1997-04-28 15:51:15 +00:00
KATO Takenori
9a2660b252
Synchornize with sys/i386/conf/options.i386 revision 1.42.
1997-04-28 15:49:55 +00:00
KATO Takenori
4c59a618e7
Synchronize with sys/i386/conf/Makefile.i386 revision 1.95.
1997-04-28 15:48:49 +00:00
Bill Paul
27cfb28087
Back out unnecessary overly-paranoid paranoia test from here too; yp_access()
...
does the right thing already.
1997-04-28 14:22:31 +00:00
Bill Paul
cc7ff6f503
Back out one of my paranoia tests from the last commit here; yp_access()
...
already deals with it appropriately. (You know you've been working too
hard when you forget how your own code works.)
1997-04-28 14:18:38 +00:00
Garrett Wollman
aeb83a466a
Condition SO_PRIVSTATE twiddling on the definedness of SO_PRIVSTATE.
...
(This was done as a #ifdef to keep source compatibility between 2.2 and 3.0.)
1997-04-28 13:55:07 +00:00
Jordan K. Hubbard
3de5b08eda
Adapt to rc.conf file format.
1997-04-28 10:31:14 +00:00
Jordan K. Hubbard
2056a6faec
YAMF22
1997-04-28 10:14:45 +00:00
Jordan K. Hubbard
675a840372
YAMF22
1997-04-28 10:07:21 +00:00
Jordan K. Hubbard
593230d218
Back out mount change here (which is the only branch it should have
...
occupied in the first place :)
1997-04-28 09:35:59 +00:00
Jordan K. Hubbard
0f10d94d32
Mount MFS read/write as in days of yore.
1997-04-28 09:15:18 +00:00
Steve Passe
7b2a188c7a
cleaned out an old FIXME.
1997-04-28 08:39:48 +00:00
Jordan K. Hubbard
91c0a4322b
YAMF22
1997-04-28 07:35:37 +00:00
Jordan K. Hubbard
7499a04abf
YAMF22
1997-04-28 06:15:49 +00:00
Jordan K. Hubbard
4a2d437732
YAMF22
1997-04-28 05:51:57 +00:00
Steve Price
939a4c24e5
Change spelling of ECBDIC to EBCDIC. Closes PR #3402
...
Submitted by: h-nokubi@nmit.mt.nec.co.jp
1997-04-28 04:07:29 +00:00
Steve Price
5382d20cf1
Turn on the new type builtin.
1997-04-28 03:50:07 +00:00
Steve Price
7dce0a1e9f
Fix problems using -Wwrite-strings and -Wcast-qual with yacc generated
...
parsers. Closes PR #2792 .
Submitted by: Tim Vanderhoek
1997-04-28 03:36:13 +00:00
Steve Price
96522b887c
Sync with NetBSD's revision 1.29 of this file.
...
Obtained from: NetBSD
1997-04-28 03:28:43 +00:00
Steve Price
f4eb55ba86
Remove an extra semicolon and nuke register keyword usage.
1997-04-28 03:27:12 +00:00
Steve Price
79f569479b
Fix redirection of unopened file descriptors and nuke register
...
keyword usage.
Obtained from: NetBSD
1997-04-28 03:25:13 +00:00
Steve Price
7920a31db6
Revert changes from rev 1.16 to 1.17 for now. Closes PR 2879.
1997-04-28 03:22:09 +00:00
Steve Price
ab72124fb4
mdoc-ify and cleanup UNIMPLEMENTED messages. Closes PR 2880.
1997-04-28 03:20:09 +00:00
Steve Price
115359949d
Reorder declarations slightly.
1997-04-28 03:17:51 +00:00
Steve Price
904a3dc819
Avoid a possible NULL pointer dereference, nuke register usage,
...
and remove an unnecessary reset.
Obtained from: NetBSD
1997-04-28 03:16:12 +00:00
Steve Price
7e461ef4f3
Nuke register keyword usage, #if -> #ifdef, and avoid void *
...
arithmetic.
Obtained from: NetBSD
1997-04-28 03:14:04 +00:00
Steve Price
4ca7fe3b96
Nuke register keyword usage, rename pread to preadfd, and open
...
input files FD_CLOEXEC.
Obtained from: NetBSD
1997-04-28 03:11:52 +00:00
Steve Price
62730a71b9
When NO_HISTORY is defined and the history command is used
...
show an error message.
Inspired by: NetBSD
1997-04-28 03:10:31 +00:00
Steve Price
76ad65f7f6
Add a type builtin and nuke register keyword usage.
...
Obtained from: NetBSD
1997-04-28 03:08:38 +00:00
Steve Price
afb033d5c4
Nuke register keyword usage and #if -> #ifdef.
...
Obtained from: NetBSD
1997-04-28 03:06:52 +00:00
Steve Price
61f4ddf420
Shamelessly pilfer most of NetBSD's Makefile so that the
...
problem with 'make -j n' and no .depend file goes away.
I think Bruce mentioned this somewhere on one of the
mailing lists.
Obtained from: NetBSD
1997-04-28 03:03:23 +00:00
Mike Smith
28f6972b6e
Always include PROT_READ for Linux mmap operations.
...
Submitted by: Hannu Savolainen <hannu@voxware.pp.fi> via jkh
1997-04-28 02:53:17 +00:00
Steve Passe
f50a491f78
removed TEST_CPUHITS code.
...
replaced push/pop of %ds with use of 'ss' prefix in Xinvltlb.
Submitted by: Bruce Evans <bde@zeta.org.au>
1997-04-28 01:47:55 +00:00
Steve Passe
e1c8d46561
removed TEST_CPUHITS code.
1997-04-28 01:46:31 +00:00
Steve Passe
34e63b4cd7
removed all the TEST_UPPERPRIO crud.
1997-04-28 01:08:47 +00:00
Steve Passe
2c5d02fff3
remove all the SMP_INVLTLB defines, making the code default for APIC_IO.
...
Reviewed by: informal discussion with Peter Wemm <peter@spinner.DIALix.COM>
1997-04-28 00:25:00 +00:00
Steve Passe
2b45006334
remove the SMP_INVLTLB option, making the code default for APIC_IO.
...
Reviewed by: informal discussion with Peter Wemm <peter@spinner.DIALix.COM>
1997-04-28 00:24:28 +00:00
Steve Passe
9caa2d558d
remove all the SMP_INVLTLB defines, making the code default for APIC_IO.
...
replace invldebug with invltlb_ok for throttling smp_invltlb() during boot.
Reviewed by: informal discussion with Peter Wemm <peter@spinner.DIALix.COM>
1997-04-28 00:24:00 +00:00
Steve Passe
066da549d4
Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
...
make world fails when it tries to build LKMs because the files
opt_smp.h
opt_smp_invltbl.h
are missing.
This patch to /usr/src/share/mk/bsd.kmod.mk is a temporary workaround.
Note that LKMs built in this way may or may NOT work properly with an
SMP kernel.
1997-04-28 00:02:22 +00:00
Gary Jennejohn
3e3d6b2e21
change kvm-fbsd.c so that kernel debugging works again.
...
document the -k and -wcore options in the manpage.
change Makefile to use a local copy of the manpage.
1997-04-27 21:36:49 +00:00
Alexander Langer
898fcb3b84
Removed bogon from previous commit: doubly included sys/systm.h.
1997-04-27 21:32:21 +00:00