Commit Graph

81817 Commits

Author SHA1 Message Date
tjr
235c4480d3 The field width for single-byte string conversions (%c, %s, %[) is the
maximum number of bytes that may be stored in the array, not the maximum
number of wide characters to read. The wording of the standard unfortunately
does not make this clear.
2002-10-17 12:02:36 +00:00
iwasaki
4bc30afc1e Add new syscons option SC_NO_SUSPEND_VTYSWITCH.
This disables vty switch during suspend/resume.
2002-10-17 07:04:31 +00:00
pirzyk
e34215c0e9 put an #error directive when SMP and CPU_DISABLE_CMPXCHG are set
together.

Requested by: Lars Eggart <larse@isi.edu>
Enlighted how to do it by: John Baldwin <jhb@freebsd.org>
2002-10-17 05:51:36 +00:00
kbyanc
35c72bc070 Make kqueue(2) work for virtual terminals.
PR:		40486
Submitted by:	Jilles Tjoelker <jilles+fbsd-bugs@stack.nl>
2002-10-17 05:48:56 +00:00
marcel
5825c5cfa4 Do not emit values as var=value while everything else looks like
XML. Emit the values as <var>value</var> for consistency.
2002-10-17 05:41:10 +00:00
marcel
ea23c70af4 Suppress the uninitialized variable warning on ia64 introduced by
the previous commit by initializing i and j. These initializations
will normally be eliminated by the compiler.
2002-10-17 03:45:34 +00:00
chris
17310089d6 Add a man page for ugidfw(8).
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-10-17 01:54:37 +00:00
keramida
2b883693be Replace old, not-working URL for an online index of DNS blacklist
servers with a reference to the Google directory.

Reviewed by:	gshapiro
MFC after:	1 week
2002-10-16 22:52:56 +00:00
alfred
a92b5f1671 de-__P(). 2002-10-16 22:27:27 +00:00
alfred
18d8f6be01 de-__P() 2002-10-16 22:26:32 +00:00
alfred
5962200c28 de-__P() 2002-10-16 22:18:42 +00:00
ue
6950d09249 MFbed: Catch up with the latest changes in the english version
hardware/common/dev.sgml: 1.106 -> 1.108
relnotes/common/new.sgml: 1.432 -> 1.433
2002-10-16 21:11:08 +00:00
ue
1f1d11d899 Fix three <para> that should have been </para> 2002-10-16 20:58:26 +00:00
ume
c3646a9ad4 use encapcheck.
Obtained from:	KAME
MFC after:	3 weeks
2002-10-16 20:16:49 +00:00
bmilekic
efa86acc11 Fix a fairly subtle bug in mbuf_init() where the reference counter
contiguous space was being allocated from the clust_map
instead of the mbuf_map as the comments indicated.  This resulted in
some address space wastage in mbuf_map.

Submitted by: Rohit Jalan <rohjal@yahoo.co.in>
2002-10-16 19:59:08 +00:00
ume
2bb6ef9a3f - after gif_set_tunnel(), psrc/pdst may be null. set IFF_RUNNING accordingly.
- set IFF_UP on SIOCSIFADDR.  be consistent with others.
- set if_addrlen explicitly (just in case)
- multi destination mode is long gone.
- missing break statement
- add gif_set_tunnel(), so that we can set tunnel address from within the
  kernel at ease.
- encap_attach/detach dynamically on ioctls
- move encap_attach() to dedicated function in in*_gif.c

Obtained from:	KAME
MFC after:	3 weeks
2002-10-16 19:49:37 +00:00
dillon
12d5a1b9ff Fix oops in my last commit, I was calculating a new length but then not
using it.  (The code is already correct in -stable).

Found by: silby
2002-10-16 19:16:33 +00:00
jhb
68c67aa0ed Whitespace. 2002-10-16 19:11:59 +00:00
jhb
31f1002869 Use the global pcib devclass instead of our own static copy. 2002-10-16 18:38:35 +00:00
bmah
b6f3f796c5 Add hardware entries for trm and ubsa devices.
Submitted by:	kan (ubsa), cognet (trm)
2002-10-16 18:06:13 +00:00
bmah
61ef218354 New release notes: ubsa driver, trm driver, bzgrep(1) et al.
Modified release notes:  gdb 5.2.1.

MFCs noted:  matcd(4) removal, cvs 1.11.2.

Submitted by:	kan (ubsa), cognet (trm)
2002-10-16 18:05:20 +00:00
tmm
b8616ce784 Add "pci108e,8000" (psycho) and "pci108e,a000" (US-IIi sabre) to the list of
recognized compat properties. This should make the psycho driver attach
properly on SPARCengine Ultra AX machines.
Switch to a table-driven logic to recognize the ID's, since their number
is now large enough to justify this.

These changes are analogous to those made in NetBSD r.1.35, but
implemented a bit differently.
2002-10-16 17:37:50 +00:00
jhb
4cd3dda291 Catch up to changes in acpivar.h to add support for using ACPI on
4-stable systems.

Sponsored by:	The Weather Channel
2002-10-16 17:28:53 +00:00
jhb
a307d11408 struct timecounter is defined in sys/time.h on 4-stable.
Sponsored by:	The Weather Channel
2002-10-16 17:27:40 +00:00
jhb
c4f2612994 - Include lock headers on current in this header instead of putting
#if's in all the other ACPI source files.
- Use splhigh() for the ACPI subsystem lock on 4-stable.

Sponsored by:	The Weather Channel
2002-10-16 17:27:11 +00:00
jhb
e2a2be0fbb - In AcpiOsGetThreadId(), allow for curproc to be NULL on 4-stable systems.
In that case use proc0's pid to return the thread ID.
- For 4-stable, use the generic swi taskqueue for ACPI events rather than
  implementing our own.

Sponsored by:	The Weather Channel
2002-10-16 17:25:29 +00:00
jhb
bce0ae714f Implement the internal locks of an ACPI semaphore with splhigh() on
4-stable.  -current uses a mutex for this purpose.

Sponsored by:	The Weather Channel
2002-10-16 17:23:34 +00:00
jhb
2ebbd8afb9 - curproc may be NULL in 4-stable. In that case use the vmspace from
proc0.
- Remove unused include.

Sponsored by:	The Weather Channel
2002-10-16 17:22:03 +00:00
jhb
8e1742136b Include <sys/select.h> on -stable instead of <sys/selinfo.h> to get the
definition of struct selinfo.

Sponsored by:	The Weather Channel
2002-10-16 17:20:43 +00:00
sam
edece5adc2 whitespace/indentation fix from phk 2002-10-16 17:07:41 +00:00
tmm
04ced36540 Use a linked list to keep the psycho softcs instead of a statically
sized array.
While being there, deuglify the psycho pair detection loop which became
quite awkward in a previous code reorganization.
2002-10-16 17:03:36 +00:00
ru
0697960fd6 mdoc(7) police: markup and spelling fixes.
Prodded by:	phk
2002-10-16 16:46:58 +00:00
jhb
a915592b8d Add a missing PROC_UNLOCK in ptrace() for the PT_IO case.
PR:		kern/44065
Submitted by:	Mark Kettenis <kettenis@chello.nl>
2002-10-16 16:28:33 +00:00
markm
1cdf06340a Remove programs that no longer need a kerberisation option. 2002-10-16 16:12:22 +00:00
markm
f55bb1d531 Dekerberise. The corresponding userland stuff has been dekerberised
for ages, and no-one seems to have noticed. Viva PAM!
2002-10-16 16:10:46 +00:00
markm
5c345be330 Dekerberise. The corresponding userland stuff has been dekerberised
for ages, and no-one seems to have noticed. Viva PAM!

Fix some easy/trivial warnings while I'm here.
2002-10-16 16:09:05 +00:00
charnier
de3f4fb0c5 s/rpc.mountd/mountd/
Add FBSDID
Reorder #if/#endif around sccsid to conform style(9)
2002-10-16 16:04:50 +00:00
pirzyk
b5f1c32484 Updated the CPU_DISABLE_CMPXCHG notes to warn users not to also enable
SMP with it.

Requested by:	Lars Eggert <larse@ISI.EDU>
2002-10-16 15:59:07 +00:00
charnier
a497fb34ea Arrange to not have /* inside a comment. Typo fix. 2002-10-16 15:56:13 +00:00
charnier
f44a1f4408 Put author name under .An/Aq. 2002-10-16 15:51:16 +00:00
nyan
dff17ef87e MFi386: revision 1.54. 2002-10-16 15:46:53 +00:00
charnier
bdf2708e48 Add section number to .Xr directive. 2002-10-16 15:46:43 +00:00
jhb
00200a73ce Many style and whitespace fixes.
Submitted by:	bde (mostly)
2002-10-16 15:45:37 +00:00
nyan
1b33357a52 MFi386: revision 1.130. 2002-10-16 15:44:41 +00:00
iwasaki
fd83d9633e Fix a possible bug about freeing non-malloc'ed pointer.
Suggested by:	jhb (in -current ML)
2002-10-16 15:42:27 +00:00
charnier
18cd74415c The .Nm utility 2002-10-16 15:38:28 +00:00
charnier
b50035c8cf Introduce enumerate of options using the standard way.
Remove .Pp between items.
2002-10-16 15:32:16 +00:00
charnier
3df57627e5 Introduce enumerate of options using the standard way: 2002-10-16 15:28:20 +00:00
nyan
293924c95c MFi386: revision 1.181. 2002-10-16 15:18:58 +00:00
charnier
7430b7c468 Do not reuse flag name in its definition. Remove inadequate sentence. 2002-10-16 15:17:38 +00:00