Commit Graph

111217 Commits

Author SHA1 Message Date
ru
ca6df9296a Scheduled mdoc(7) sweep. 2005-01-12 21:48:25 +00:00
keramida
817610db53 A few more mdoc fixes I missed in the suggestions of Ruslan. 2005-01-12 21:43:09 +00:00
ps
28f67090d7 Fix a TCP SACK related crash resulting from incorrect computation
of len in tcp_output(), in the case where the FIN has already been
transmitted. The mis-computation of len is because of a gcc
optimization issue, which this change works around.

Submitted by:	Mohan Srinivasan
2005-01-12 21:40:51 +00:00
trhodes
89954dacd5 Reflect reality when a sudo user builds/installs a kernel. [1]
/* -> /*- for copyright notices. [2]

[1]:
PR:		41317
Submitted by:	marck (original version)

[2]:
Discussed with:	imp
2005-01-12 21:28:25 +00:00
keramida
49e2cf242d Cross-reference the newly added example.9 2005-01-12 20:56:15 +00:00
keramida
89359c837c Link mdoc/example.9 to the build. 2005-01-12 20:55:01 +00:00
keramida
594058ce45 Add a sample manpage for section 9.
Suggested by:	simon
Reviewed by:	ru
2005-01-12 20:49:25 +00:00
emax
f77e3eaceb Fix typo %d -> %x
That should fix the problem with invalid PSM returned from bthidcontrol.
Pointy hat goes to me.

PR:		misc/76107
Submitted by:	Hiroyuki Aizu < aizu at navi dot org >
MFC after:	1 day
2005-01-12 20:06:16 +00:00
jhb
41520d191f Try harder to work with MP table interrupt entries that claim that an
interrupt is wired up to all the I/O APICs in the system.  If the system
has only one I/O APIC, then just act as if the entry specified that APIC.
We still don't try to handle global entries in a system with multiple I/O
APICs.

Tested by:	Peter Trifonov pvtrifonov at mail dot ru
MFC after:	1 week
2005-01-12 18:24:32 +00:00
brian
15d152254f Include opt_bootp.h for BOOTP_NFSROOT
PR:		73183
Submitted by:	Darrin Smith sdar at salseast dot org
MFC after:	7 days
2005-01-12 12:42:46 +00:00
ru
a33791ce9e Sort xrefs. 2005-01-12 10:22:58 +00:00
sobomax
2715dec422 When re-connecting already connected datagram socket ensure to clean
up its pending error state, which may be set in some rare conditions resulting
in connect() syscall returning that bogus error and making application believe
that attempt to change association has failed, while it has not in fact.

There is sockets/reconnect regression test which excersises this bug.

MFC after:	2 weeks
2005-01-12 10:15:23 +00:00
ru
f1b7f434b6 Scheduled mdoc(7) sweep. 2005-01-12 10:14:43 +00:00
phk
72f5cf3628 Comment out debugging printf which doesn't compile on amd64. 2005-01-12 10:11:31 +00:00
sobomax
3ffcd4eddb Add test which excersises problem with unability to change association of
already associated datagram unix domain socket by issuing connect() system
call.
2005-01-12 09:57:18 +00:00
anholt
cf22b209b6 Create three additional X socket directories. Using X applications when another
user owns these directories or the sticky bit is unset may open security holes,
so simply create them at startup with the correct owner/mode.

MFC after:	1 day
2005-01-12 07:18:25 +00:00
scottl
088ca182b6 Use off_t when passing and calculating file offsets. While a single
extent in UDF is only 32 bits, multiple extents can exist in a file.
Also clean up some minor whitespace problems.

Submitted by: John Wehle
2005-01-12 06:42:13 +00:00
scottl
3a8662b907 Don't allow reads past the end of a file.
Submitted by: John Wehle, Andriy Gapon
MFC After: 3 days
2005-01-12 06:17:01 +00:00
kientzle
22e41511b9 Bring some file descriptions in line with reality.
Also, add some hints to help people understand which
functions are most appropriate for typical uses.
2005-01-12 05:56:49 +00:00
davidxu
390ab9616b Let _umtx_op directly return error code rather than from errno because
errno can be tampered potentially by nested signal handle.
Now all error codes are returned in negative value, positive value are
reserved for future expansion.
2005-01-12 05:55:52 +00:00
brian
644a3606af Don't reprint file names unnecessarily.
PR:		75028
Submitted by:	mteterin at 250-217 dot customer dot cloud9 dot net
MFC after:	7 days
2005-01-12 04:06:31 +00:00
brian
153401b4f4 Fix some signed/unsigned comparisons. Fix prototypes while I'm here.
PR:		28890
Submitted by:	matthias.andree at web dot de
MFC after:	7 days
2005-01-12 03:39:34 +00:00
brian
34b83a819b Don't decend into directories when -d is set and the directory itself doesn't
match.

PR:		28095
Submitted by:	bill at twwells dot com
MFC after:	7 days
2005-01-12 03:25:55 +00:00
brian
2412eb398b Sed doesn't grok '[ \t]' -- it doesn't expand the \t :(
As there are no tabs in maillog, reduce the expression so that only spaces
are used.

Problem raised by:      Leif Neland root at internet dot dk
2005-01-12 01:31:21 +00:00
njl
e874b4216c This commit was generated by cvs2svn to compensate for changes in r140094,
which included commits to RCS files with non-trunk default branches.
2005-01-12 00:52:40 +00:00
njl
d724817235 Fix handling of the implicit return case for methods called from an
external source (i.e., _STA).  The previous case only handled calls
occurring within AML.  This should fix Toshibas, among others.  Thanks
to Robert Moore of Intel for the fix.

MFC after:	2 days
2005-01-12 00:52:40 +00:00
brueffer
ed72cd88ee - list the Hama USB RS-232 Serial Adapter as supported
- bump .Dd

PR:		76088
Submitted by:	Benjamin Lutz <benlutz@datacomm.ch>
MFC after:	3 days
2005-01-11 23:16:20 +00:00
das
c68809c24f Regression tests for [l]lrint[f]() and [l]lround[f](). 2005-01-11 23:13:36 +00:00
das
8c27cefb5f Add MI implementations of [l]lrint[f]() and [l]lround[f]().
Discussed with:	bde
2005-01-11 23:12:55 +00:00
das
1e936d649b Document [l]lrint[f]() and [l]lround[f](). 2005-01-11 23:12:17 +00:00
das
0cc184a8ab Faster lrint() and llrint() implementations for x86. 2005-01-11 23:10:53 +00:00
das
ea5fcde724 Mark inline stmxcsr instructions as volatile, since this appears to be
the only way to convince gcc that they read the MXCSR.  The volatile
annotation may be needed elsewhere as well.
2005-01-11 22:10:43 +00:00
pjd
16f3722080 Add missing entry.
Reported by:	sos
2005-01-11 21:15:18 +00:00
trhodes
b0d9b4539a List RFCs under SEE ALSO.
PR:	46918
2005-01-11 21:08:39 +00:00
simon
87d40f2642 Document that MODULE_DEPEND does not change runtime initialization
order.

Mostly submitted by:	scottl
Discussed on:		cvs-src/src-committers
2005-01-11 20:56:03 +00:00
ru
e1a89ac65f Scheduled mdoc(7) sweep. 2005-01-11 20:50:51 +00:00
ru
acfc69167c Sanitize the markup, as prompted. 2005-01-11 20:16:03 +00:00
ssouhlal
4bafc744ee Get the vnode from file.f_vnode instead of file.f_data.
Nowadays, f_data points to the vnode only if the underlying filesystem
doesn't use it for other purposes (devfs uses it to store the cdev,
for example).

Found by:	csjp
Reviewed by:	csjp
Approved by:	phk, wes, grehan (mentor)
MFC after:	1 week
2005-01-11 18:52:12 +00:00
trhodes
74dc51cfc0 Remnant code (broken, unhooked) from a.out which I missed.
Noticed by:	ru
2005-01-11 18:35:40 +00:00
pjd
a072fe50c9 Connect SHSEC GEOM class to the build. 2005-01-11 18:18:40 +00:00
pjd
bcb6c50cd2 Introduce a new GEOM class - SHSEC. It provides sharing secret between
the given providers. Without even one of the configured components there
should be no way to get the secret.

Supported by:	WHEEL Sp. z o.o.
		http://www.wheel.pl
2005-01-11 18:06:44 +00:00
philip
e153af2f72 Document the -U option a bit more clearly.
Submitted by:	keramida
2005-01-11 17:16:31 +00:00
trhodes
8a8433aa34 Restore these files to make ldconfig(8) happy. 2005-01-11 16:40:29 +00:00
peadar
ed448d96dd When grabbing registers for an lwp, fake the inferior's pid using the
lwp ID before invoking the underlying target operation.

For corefiles, we rely on gdb internals to do this, and it uses the
pid as an index, rather than the lwpid, so previously, backtraces
for multithreaded core files wasn't working correctly. For processes,
we currently use ptrace directly, so fixup that code to also use
the pid directly.

Discussed With: marcel, davidxu
MFC After: 4 days
2005-01-11 14:53:16 +00:00
delphij
38c3c05614 Make WARNS=6 happy with our init(8):
- Use more ``const''s where suitable.
	- Define strk() as a static function in global scope.
	  This avoids the "nested extern declaration" warnings.
	- Use static initialization of strings, rather than
	  referring string constants through char *.
	- Bump WARNS from 0 to 6.
2005-01-11 14:34:29 +00:00
pjd
64ce04d2c0 Fix incorrect comment.
MFC after:	3 days
2005-01-11 14:11:14 +00:00
glebius
91f22bd41a Utilize callout_pending() macro 2005-01-11 12:20:28 +00:00
phk
f75ded9417 Silently ignore forced argument to unmount. 2005-01-11 12:02:26 +00:00
glebius
9d728550a4 - Use ng_callout() instead of timeout(9).
- Remove spl(9) calls.

XXX:	not tested
2005-01-11 11:59:59 +00:00
glebius
56afc4f46a - Use ng_callout() instead of home-grown implementation.
Submitted by:	emax
2005-01-11 11:55:56 +00:00