Commit graph

115752 commits

Author SHA1 Message Date
Maksim Yevmenkin 43d33de948 Do not tread 128-bit UUID as int128. Provide separate macros to get/put
128-bit UUID libsdp(3). Fix 128-bit UUID printing in sdpcontrol(8).

MFC after:	3 days
2005-05-27 19:11:33 +00:00
Hajimu UMEMOTO 2e631cd2fa disable defining NI_WITHSCOPEID. It was obsoleted, and was exist
only for backward compatibility since 5.2-RELEASE.
2005-05-27 19:02:12 +00:00
Robert Watson cd05b0f7a1 dd a '-n' option to ministat, which causes it to display only summary
statistics, not graph and statistical test output.  Useful for automated
processing.
2005-05-27 17:52:56 +00:00
Robert Watson 83b3d58d05 In the current world order, each socket has two mutexes: a mutex
that protects socket and receive socket buffer state, and a second
mutex to protect send socket buffer state.  In some places, the
mutex shared between the socket and receive socket buffer will be
acquired twice, once by each layer, resulting in some
inconsistency, but providing the abstraction benefit of being able
to more easily separate the two mutexes in the future if desired.

When transitioning a socket to the SS_ISDISCONNECTING or
SS_ISDISCONNECTED states, grab the socket/receive socket buffer lock
once rather than grabbing it as the socket lock, modifying socket
state, then grabbing a second time as the receive lock in order to
modify the socket buffer state to indicate no further data can be
read.  This change is believed to close a race between the change in
socket state and the change in socket buffer state, which for a
remotely initiated close on a UNIX domain socket, resulted in
soreceive() returning ENOTCONN rather than an EOF condition.

A similar race still exists in the case of send, however, and is
harder to fix as the socket and send socket buffer mutexes are not
the same, and we would like to avoid holding combinations of socket
mutexes over sb_upcall until we've finished clarifying the locking
protocol for upcalls.

This change has the side affect of reducing the number of mutex
operations to initiate disconnect or perform disconnect on a
socket by two.

PR:		78824
Rerported by:	Marc Olzheim <marcolz@stack.nl>
MFC after:	2 weeks
2005-05-27 17:16:43 +00:00
David Xu 0cb7166f78 Remove thread_upcall_check, it was used to avoid race bug in earlier
day's sleep queue code, today the bug no longer exists.
please see 04/25/2004 freebsd-threads@ mailing list archive.
2005-05-27 15:57:27 +00:00
John Baldwin b0a7bd8e88 Fix for 64-bit platforms. random() returns values between 0 and RAND_MAX,
and RAND_MAX != LONG_MAX on 64-bit platforms.

PR:		amd64/81279
Submitted by:	Vivek Khera vivek at khera dot org
Submitted by:	Adriaan de Groot groot at kde dot org
MFC after:	1 week
2005-05-27 15:29:01 +00:00
Robert Watson 886f89afda Back out ipx.h:1.18, which introduced a Linux API compatibility field in
the ipx_net data structure.  Doing so introduced a stronger alignment
requirement for the address structure, which in turn propagated into
other dependent data structures, which turns out not to be suported by
the available IPX source code.  As a result, a number of user space
applications, such as IPX routing components, failed to operate
correctly.

RELENG_5_3 candidate?

PRs:		74059, 80266
Pointy hat to:	bms
Fix by:		bde
Tested by:	Keith White <Keith dot White at site dot uottawa dot ca>
MFC after:	1 week
Suffering:	great
2005-05-27 12:25:42 +00:00
Stefan Farfeleder 1470d46611 Fix long (and long long) to long double, unsigned to long double and unsigned
long (and unsigned long long) to long double conversions.
- Add a parameter that specifies the position of the sign bit to the _QP_TTOQ
  macro, previously it always looked at bit 31.  Pass a negative number to
  disable sign inspection for unsigned types.  This fixes _Qp_xtoq(),
  _Qp_uitoq() and _Qp_uxtoq().
- In the functions __fpu_itof() and __fpu_xtof(), look at the sign bit to
  decide whether we're doing a conversion from an unsigned type.  If so, don't
  negate the mantissa if the integer exceeds the biggest signed number.

PR:		55773
Patch by:	Stephen Paskaluk (based upon)
MFC after:	2 weeks
2005-05-27 10:00:22 +00:00
Eivind Eklund d609e438da Fixup of last commit: Use the name X instead of XFree86 for the server binary,
thus being compatible with both XFree86 and X.org.

Noticed by: danfe
2005-05-27 06:07:21 +00:00
Christian Brueffer cc636eb10e Document support for the 82573 chip. 2005-05-27 04:52:21 +00:00
David Xu 39c4e4c202 Remove sleep queue hack, it is no longer needed with current sleep queue.
Actually, it causes process to hang when it is being debugged.

PR: gnu/77818
2005-05-27 04:27:22 +00:00
Eivind Eklund 466aa63579 Since this is already off the vendor branch: Our kernel is now in
/boot/kernel/kernel, not plain /kernel
2005-05-27 01:09:42 +00:00
Olivier Houchard 2e2955f6f6 Remove pmap_deactivate(), we do not use it. 2005-05-27 00:45:39 +00:00
Eivind Eklund ce81b111e6 Make the example for using xterm as a login manager to match the X of the
noughties, not eighties.
2005-05-27 00:39:11 +00:00
Giorgos Keramidas 24c5a5ebf0 Add cross-references to iostat, systat and vmstat. 2005-05-27 00:21:12 +00:00
Maxime Henrion b4bb2bf4fe Use clnt_create_timed() instead of clnt_create(). The former has an
additional argument that allows us to specify a timeout, like we do for
the subsequent clnt_call() calls.

Submitted by:	Jeremie Le Hen <jeremie@le-hen.org>
MFC after:	3 weeks
2005-05-27 00:05:16 +00:00
Tony Ackerman 54fa8c991d Latest README to correspond to latest Intel version 2.1.7 2005-05-26 23:33:24 +00:00
Tony Ackerman 7e518cf0e8 Changes to update driver with latest Intel driver version 2.1.7
- Changed from using explicit devices id to using descriptive labels.
- Added support for 82573 and 82546 Quad adapters.
- Corrected support for 82547EI and 82541ER (mac_type was not assigned)
- Removed #ifdef DBG_STATS and extraneous code.

if_em_hw.c/if_em_hw.h
- Added support for 82573 and 82546 Quad adapters.
- Brought forward Intel's most current mac and phy changes.
2005-05-26 23:32:02 +00:00
Eivind Eklund 64a72b2907 Baby, we are not in Kansas anymore. Nor are we in 1996 or FreeBSD 2.1.
Note that these papers are mostly quite old, and add a pointer to
more recent docs.
2005-05-26 23:01:30 +00:00
Eivind Eklund ffef99c316 Remove an errno reset that became unnecessary.
Noticed by: juli
2005-05-26 22:49:08 +00:00
Alfred Perlstein dfafebf72e decode utimes, lutimes, futimes, chflags, lchflags. 2005-05-26 22:49:06 +00:00
Eivind Eklund f2839e75f6 Document a couple of gotchas. 2005-05-26 22:30:12 +00:00
Eivind Eklund d21ccc03c0 We are past 4.4BSD - use our new-found stat flags for pipes and fifos. 2005-05-26 22:14:37 +00:00
Alfred Perlstein 42af4f5099 decode mkdir args. 2005-05-26 20:06:57 +00:00
Giorgos Keramidas 26d8ca837e Interlink systat(1), iostat(8) and vmstat(8) through their SEE ALSO
sections, so that users of one can learn about the others easily.
2005-05-26 17:54:16 +00:00
Olivier Houchard e59bc6b04e s/_KLD_MODULE/KLD_MODULE/ 2005-05-26 16:05:22 +00:00
Olivier Houchard c6ec1ba390 Don't enable interrupts in the dispatcher, there's no need to do so. 2005-05-26 15:02:47 +00:00
Olivier Houchard 9aeb6688ad Don't call vm_page_dirty() in pmap_nuke_pv(), it's not the place to do so, and
it leads to funny things, such as pmap_remove_all() marking the page as dirty.
2005-05-26 15:01:13 +00:00
Bruce A. Mah 512111f78a Move sed(1) -l release note to the right section. Don't know what I
was thinking (was I thinking?) when I wrote this.
2005-05-26 14:41:20 +00:00
Bruce A. Mah 77d4d6f688 New release notes: autoboot_delay -1 (+MFC), NgATM 1.2, texinfo 4.8,
pkg_version -I.

Modified release notes:  bsnmp 1.9, new manpages (devfs.conf(5),
devfs.rules(5), pthread_atfork(3)).

Other MFCs noted:  sed(1) -l.
2005-05-26 14:38:16 +00:00
Ollivier Robert 41b27a91a9 - Add further functionality to check for invalid characters
- Remove keyword 'continue' for more indepth error reporting
  on each line
- WARNS 6 Clean

Submitted by:	Liam J. Foy <liamfoy@dragonflybsd.org>
MFC after:	    1 week
2005-05-26 10:57:03 +00:00
Christian Brueffer bef2146e49 New release note: Read-only support for ReiserFS. 2005-05-26 10:48:35 +00:00
Andrey A. Chernov aaf9c3b784 Fix: printed output flags (onocr) and (onlret) same as oxtabs
PR:             81256
Submitted by:   Arseny Nasokin <tarc@tarc.po.cs.msu.su>
2005-05-26 06:57:57 +00:00
Gleb Smirnoff 748741c7ae Plug mbuf leak, that I have introduced in 1.85. Also restore important comment
from if_ethersubr.c:1.178. While here adjust formatting, to make code more
readable.

Reported by:	Alexey Kamyshev, rwatson
2005-05-26 06:50:00 +00:00
Andrew Thompson 945a92c6be Add myself to the calendar.
Approved by: bms (mentor)
2005-05-26 03:21:16 +00:00
Alexander Leidinger 2e937dd6ee Add a note how to use nextboot(8) to test a kernel only once.
Approved by:	mentor (joerg)
Discussed with:	imp
2005-05-25 21:03:13 +00:00
Paul Saab 808f11b768 This is conform with the terminology in
M.Mathis and J.Mahdavi,
  "Forward Acknowledgement: Refining TCP Congestion Control"
  SIGCOMM'96, August 1996.

Submitted by:   Noritoshi Demizu, Raja Mukerji
2005-05-25 17:55:27 +00:00
Jens Schweikhardt cf27ba88ea Looking just at Makefiles was slightly too narrow to catch all
"inofficial" declarations of maintainership. Grep all plain files,
and insert the actual command the list was generated with, so
future updates avoid that pitfall.

Removed sheldonh@ who just released his maintainership of ntp/doc
after I informed him of this effort.
2005-05-25 17:37:57 +00:00
Sheldon Hearn ff7f0e8636 Release maintainership. More ambitious minds have plans for the ntp
docs.  Last I heard, Harlan Stenn was considering using FreeBSD's
pages as a starting point for the ISC NTP distribution's own pages.
If that happens, everyone wins and these can go away, to be replaced
by imported versions in contrib/ntp.
2005-05-25 16:30:43 +00:00
Hartmut Brandt 0eabc7bf8f Under certain conditions the condition parser would go one past end of
the string. Until now this caused no harm, because the buffer code used
to tack two NULs onto buffers. With the new, soon to come, parsing code
this isn't the case anymore in all cases, so fix this.
2005-05-25 16:06:14 +00:00
Pawel Jakub Dawidek 59ddf345d5 After provider creation!! 2005-05-25 15:54:17 +00:00
Christian Brueffer d8a4b9c059 Document support for some Dell PERC adapters.
Submitted by:	Muthu_T@Dell.com
MFC after:	3 days
2005-05-25 15:35:31 +00:00
Peter Edwards 45778b37b2 Separate out address-detaching part of if_detach into if_purgeaddrs,
so if_tap doesn't need to rely on locally-rolled code to do same.

The observable symptom of if_tap's bzero'ing the address details
was a crash in "ifconfig tap0" after an if_tap device was closed.

Reported By: Matti Saarinen (mjsaarin at cc dot helsinki dot fi)
2005-05-25 13:52:03 +00:00
Olivier Houchard 08a94fbcf9 Remove bits specific to CPUs we won't support (< armv4). 2005-05-25 13:46:32 +00:00
Olivier Houchard a0e94dd924 Increase the refresh rate. 2005-05-25 13:44:55 +00:00
Hartmut Brandt 07d9fa4c2e Add a missing comma which prevents compilation with debugging enabled.
Spotted by:	Donatas <donatas@lrtc.net>
2005-05-25 13:33:58 +00:00
Pawel Jakub Dawidek 0f2bbe5ba4 - Call root_mount_rel() when provider IS created, not earlier.
This should close the race observed by Daniel Eriksson.
- Remove redundant wakeup().
2005-05-25 13:10:04 +00:00
Yoshihiro Takahashi 6ff766dcdf MFi386: Add ReiserFS 2005-05-25 12:32:06 +00:00
Hartmut Brandt 09907cdf46 No need to specify the include subdirectory. During buildworld the
correct files are included from a temp. include directory.

Explained by:	ru
2005-05-25 12:04:44 +00:00
Hartmut Brandt e6ebcf9203 This commit was generated by cvs2svn to compensate for changes in r146611,
which included commits to RCS files with non-trunk default branches.
2005-05-25 12:03:26 +00:00