Commit Graph

91951 Commits

Author SHA1 Message Date
ache
483b61365b Fix Ctrl-\
Submitted by: Per Kristian Hove <Per.Hove@math.ntnu.no>
2003-07-06 03:09:40 +00:00
ache
8ad7994cbf Reorganize wrapper around setrunelocale() to mark it as deprecated
in FreeBSD 6
2003-07-06 02:03:37 +00:00
jkoshy
cd89ce75a1 Disallow multiple 'machine' directives in a kernel configuration
file.

Reviewed by:	ru, bde
2003-07-06 02:00:52 +00:00
jkoshy
a22ce8bd4c New section 5 manual page detailing our kernel configuration file
format.

Reviewed by:	Ruslan Ermilov <ru@freebsd.org>, Jens
		Schweikhardt <schweikh@schweikhardt.net>
2003-07-06 01:52:26 +00:00
marcel
2dfcef817e Don't call malloc() and free() while in the debugger and unwinding
to get a stacktrace. This does not work even with M_NOWAIT when we
have WITNESS and is generally a bad idea (pointed out by bde@). We
allocate an 8K heap for use by the unwinder when ddb is active. A
stack trace roughly takes up half of that in any case, so we have
some room for complex unwind situations. We don't want to waste too
much space though. Due to the nature of unwinding, we don't worry
too much about fragmentation or performance of unwinding while in
the debugger. For now we have our own heap management, but we may
be able to leverage from existing code at some later time.

While here:
o  Make sure we actually free the unwind environment after unwinding.
   This fixes a memory leak.
o  Replace Doug's license with mine in unwind.c and unwind.h. Both
   files don't have much, if any, of Doug's code left since the EPC
   syscall overhaul and the import of the unwinder.
o  Remove dead code.
o  Replace M_NOWAIT with M_WAITOK for all remaining malloc() calls.
2003-07-05 23:21:58 +00:00
ru
837cdc1092 This commit was generated by cvs2svn to compensate for changes in r117264,
which included commits to RCS files with non-trunk default branches.
2003-07-05 22:58:04 +00:00
ru
b34dca6d6a Fix for troff mode. The
.Pp
.Bd -literal
...

fragment resulted in two vertical spaces.  From ChangeLog:

2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>

        * tmac/doc.tmac (Bd): Change to doc-Li-font later.
2003-07-05 22:58:04 +00:00
alc
f5c9b09b32 Lock a vm object when freeing a page from it. 2003-07-05 20:51:22 +00:00
dds
870cbaba52 Changes following CScout analysis:
- Removed dead declarations
- Made objects that should have been declared as static, static.

The changes use STATIC instead of static, following the existing
convention in the rest of the code.

Approved by:	schweikh (mentor)
MFC after:	2 weeks
2003-07-05 15:18:44 +00:00
ache
58b18566bb Add ARMSCII-8 console stuff
PR:             53944
Submitted by:   Vahe Khachikyan <vahe@khachikyan.de>
2003-07-05 12:38:18 +00:00
ache
57740b0b20 Add ARMSCSII-8 locale
Submitted by:   Vahe Khachikyan <vahe@khachikyan.de>
PR:             53944
2003-07-05 12:03:16 +00:00
ache
778c5f1f04 Add ARMSCII-8 locale dirs
Submitted by:   Vahe Khachikyan <vahe@khachikyan.de>
PR:             53944
2003-07-05 11:41:10 +00:00
mtm
5900007df8 Make the conditional, which decides what siglist to put a signal on,
more concise and improve the comment.

Submitted by: bde
2003-07-05 08:37:40 +00:00
jmg
ab24983305 add the mbr_enc file so that we can load the module on sparc64. 2003-07-05 08:11:43 +00:00
tjr
4d01a003cf Add more useful cross-references to the SEE ALSO section. 2003-07-05 07:55:34 +00:00
tjr
9b68d2b831 Catch up with recent FP-related changes to scanf.3 and vfwscanf.c. 2003-07-05 07:47:55 +00:00
tjr
12fd8e2ec7 Fix two incorrect uses of sizeof: we need to divide the size of the buffer
by sizeof(wchar_t) to get the number of wide characters it contains.
Remove the !hardway micro-optimisation from the CT_INT case to avoid
having to fix it for wide characters.
2003-07-05 03:39:23 +00:00
tjr
46773d4708 Merge recent floating point conversion changes from vfscanf.c. 2003-07-05 02:35:06 +00:00
tmm
86d1d673a6 Fix a signedness problem in zstty_cncheckc(): when no character is ready,
-1 should be returned, but it was assigned to an uint8_t (which is
extended to an int to form the return value), causing 255 to be returned
instead.
2003-07-05 01:31:30 +00:00
rwatson
3dbb7f2872 Remove trailing whitespace. 2003-07-05 01:24:36 +00:00
imp
738a947fd0 Drop the pid file after we call the final daemon call. w/o -n would
give the wrong pid.

Submitted by: ru and Lukas Ertl
PR: 54113
2003-07-05 00:43:50 +00:00
imp
f043783725 Add buffalo airstation wli2-cf-s11 I got in japan to the list 2003-07-05 00:31:51 +00:00
mtm
b5fff66693 I was so happy I found the semi-colon from hell that I didn't
notice another typo in the same line. This typo makes libthr unuseable,
but it's effects where counter-balanced by the extra semicolon, which
made libthr remarkably useable for the past several months.
2003-07-04 23:28:42 +00:00
jmg
b6bd70cf81 remove \n at end of panic strings. They are added by the call to panic.
This brings us more in line with Net/OpenBSD

Obtained from:	Net/OpenBSD
2003-07-04 23:11:13 +00:00
alc
3aeee8ad41 Add vm object locking to pmap_prefault(). 2003-07-04 22:13:39 +00:00
luigi
a3f2ecde89 Implement the 'ipsec' option to match packets coming out of an ipsec tunnel.
Should work with both regular and fast ipsec (mutually exclusive).
See manpage for more details.

Submitted by: Ari Suutari (ari.suutari@syncrontech.com)
Revised by: sam
MFC after: 1 week
2003-07-04 21:42:32 +00:00
luigi
f6d18f23db Correct some comments, add opcode O_IPSEC to match packets
coming out of an ipsec tunnel.
2003-07-04 21:39:51 +00:00
luigi
d75275fd9e remove whitespace at end of line 2003-07-04 20:44:25 +00:00
jeff
9cf0862530 - Parse the cpu topology map in sched_setup().
- Associate logical CPUs on the same physical core with the same kseq.
 - Adjust code that assumed there would only be one running thread in any
   kseq.
 - Wrap the HTT code with a ULE_HTT_EXPERIMENTAL ifdef.  This is a start
   towards HyperThreading support but it isn't quite there yet.
2003-07-04 19:59:00 +00:00
ru
7fee8203e3 Don't be so chatty about osreldate.h creation steps when make(1)
is run in non-compat mode (-j without -B).
2003-07-04 19:54:06 +00:00
bmilekic
3b56593048 Make jexec duplicate the actions of the shell searching for an
executable file even if the specified action/filename does not
contain a '/' character; convert execv() to execvp().

Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
PR: bin/54109
2003-07-04 19:14:27 +00:00
ru
8568f09430 Don't hardcore PATH into BINMAKE; the latter should only be
comprised of the path to a make(1) binary (possibly the one
built by the "make" target in this Makefile), and a path to
a fresh share/mk.  The idea is to allow "make release" pick
up the right "make" binary, if one exists.

This fixes release.5 I broke with the last commit here; the
second PATH here was overriding the right one from WMAKEENV
while rebuilding the "build-tools" for crunched binaries.
2003-07-04 17:35:26 +00:00
hrs
c2441831b1 Merge the following from the English version:
1.162 -> 1.163	hardware/common/dev.sgml
	1.580 -> 1.582	relnotes/common/new.sgml
2003-07-04 15:39:29 +00:00
hrs
f27cde54fd Add a missing </para>. 2003-07-04 15:23:47 +00:00
ru
3bf3b8ca82 Fixed the last-minute bug I made in previous commit. 2003-07-04 14:39:17 +00:00
ru
bfffaa0377 Fixed style bugs related to parentheses in Makefile.inc1.
Submitted by:	bde

Fixed nearby bug: propagate the root Makefile's idea of
the appropriate "make" binary down to release/Makefile.
2003-07-04 14:27:06 +00:00
simokawa
8dc2ca5940 Add compatibility for FreeBSD-4. 2003-07-04 14:04:41 +00:00
harti
ec2e577cfd Delete a superfluous semi-colon.
Pointed out by: nick@garage.freebsd.pl
2003-07-04 13:41:03 +00:00
ru
cdcbe8608c Fixed broken arithmetic expression parser.
Reminded by:	bde
In memory of:	alane
2003-07-04 13:33:48 +00:00
phk
446f6c94f9 Remove unnecessary cast. 2003-07-04 12:23:43 +00:00
sheldonh
c2fb5aa026 Regen:
* Boemler:	vendors.txt (2003-06-30)
2003-07-04 12:23:36 +00:00
phk
3b8fbf25c0 Use the f_vnode field to tell which file descriptors have a vnode. 2003-07-04 12:20:27 +00:00
phk
8b7592da51 We just cached the inode pointer, no need to call VTOI() again. 2003-07-04 12:16:33 +00:00
mux
c7dbd79ff3 - Ensure that the busdma API won't do deferred loads by using the
BUS_DMA_NOWAIT flag, since the code can't handle this.
- Use NULL, NULL for the lockfunc and lockfuncarg parameters of
  bus_dma_tag_create() since deferred loads can't happen now.
2003-07-04 11:46:23 +00:00
mtm
561128ef3d It's unfair how one extraneous semi-colon can cause so much grief. 2003-07-04 11:18:07 +00:00
mux
a99d91a938 The em(4) driver has been converted to busdma and doesn't use
vtophys() anymore, so remove the alpha hack which defines
vtophys() to alpha_XXX_dmamap().
2003-07-04 10:15:16 +00:00
davidxu
0f7959ebf7 Correctly lock/unlock signal lock. I must be in bad state, need to sleep. 2003-07-04 08:51:37 +00:00
davidxu
d8b7d75543 Always check and restore sigaction previously set, also access user parameter
outside of lock.
2003-07-04 07:49:06 +00:00
mtm
a660a9ca35 style(9)
o Remove double-spacing, and while I'm here add a couple
  of braces as well.

Requested by:	bde
2003-07-04 06:59:28 +00:00
cognet
74c0913cdd In setpgrp(), don't assume a pgrp won't exist if the provided pgid is the same
as the target process' pid, it may exist if the process forked before leaving
the pgrp.
Thix fixes a panic that happens when calling setpgid to make a process
re-enter the pgrp with the same pgid as its pid if the pgrp still exists.
2003-07-04 02:21:28 +00:00