Commit Graph

86185 Commits

Author SHA1 Message Date
Alfred Perlstein
5d1999eeae Fixup printf format. 2003-02-11 08:19:52 +00:00
Yoshihiro Takahashi
4a29c3a740 MFi386: Use DIOCGPC98 ioctl. 2003-02-11 07:32:45 +00:00
Yoshihiro Takahashi
afb7a66e08 Use DIOCGPC98 ioctl to write boot block. 2003-02-11 07:29:14 +00:00
Alfred Perlstein
969e2ea158 Actually link in the attr_{set,get}stack. 2003-02-11 07:28:28 +00:00
Alfred Perlstein
42e1b74af2 Don't lock FILEDESC under PROC.
The locking here needs to be revisited, but this ought to get rid of the
LOR messages that people are complaining about for now.  I imagine either
I or someone else interested with smp will eventually clear this up.
2003-02-11 07:20:52 +00:00
Scott Long
026e70f330 Terminate 'e' event messages with a newline.
PR:	33202
2003-02-11 06:36:26 +00:00
Warner Losh
9ca938eb11 Don't turn off the power of cards when new drivers are added
unconditionally.  kldloading a cardbus driver was shooting down other
attached devices because most drivers assume that one cannot
power-cycle cards w/o the driver knowning about it.

Submitted by: simokawa-san
2003-02-11 05:31:35 +00:00
Juli Mallett
fc903aa525 Convert newfs to libufs (really). Solves one real issue with previous
version of such.  Differences in filesystems generated were found to be
from 1) sbwrite with the "all" parameter 2) removal of writecache.  The
sbwrite call was made to perform as the original version, and otherwise
this was checked against a version of newfs with the write cache removed.
2003-02-11 03:06:45 +00:00
Andrey A. Chernov
ae4ce2c16e Use srandomdev() for FreeBSD 2003-02-11 02:31:53 +00:00
Andrey A. Chernov
21c7f9f0ad Add -DHAVE_ARC4RANDOM to CFLAGS 2003-02-11 02:25:00 +00:00
Andrey A. Chernov
9328833aac Use srandomdev() for FreeBSD 2003-02-11 02:21:41 +00:00
Andrey A. Chernov
c6c9094f0c There is no sense to use random random() and arc4random() in the same program.
Switch to arc4random() completely.
2003-02-11 02:17:11 +00:00
Andrey A. Chernov
0f77478694 Add missing srand() (sranddev() for FreeBSD) 2003-02-11 02:09:05 +00:00
Andrey A. Chernov
bd344e96cf Use sranddev()/srandomdev() for FreeBSD 2003-02-11 01:56:40 +00:00
Greg Lehey
ee502df5ff Get Fox Talbot's birth year right. How could anybody have expected
photography in the 15th century?
2003-02-11 01:42:19 +00:00
Andrey A. Chernov
367f4d9eb0 Apply man.alias to /usr/share/openssl/man too 2003-02-11 01:08:51 +00:00
Andrey A. Chernov
8bdc8bfff8 Add /usr/local/man as OPTIONAL_MANPATH 2003-02-11 01:04:53 +00:00
MIHIRA Sanpei Yoshiro
3b88c9eb7a Regen 2003-02-11 00:16:56 +00:00
MIHIRA Sanpei Yoshiro
a109b1c786 Add support SUNTAC U-Cable TypeD2 (DS96L)
PR:		kern/47547
Submitted by:	Kazu TAKAMUNE <takamune@mail.com>
2003-02-11 00:15:01 +00:00
Alexander Kabaev
f8d7256a27 When unloading dependencies make sure they are removed from all the
associated lists:
   remove RTLD_GLOBAL objects from global objects list;
   remove the parent object from dldags list of its children.

Previosly we were doing that only to the top-level object OF the DAG
being unloaded and all its dependencies were ignored, leading to
mysterious crashes later.

Submitted by:	peter (partially)
2003-02-10 23:15:07 +00:00
Jeff Roberson
25c4325446 - Add a comment about a race that will happen without Giant. 2003-02-10 22:47:34 +00:00
Jeff Roberson
c7b716cc2a - Unlock the nblock after the loop in bwillwrite(). 2003-02-10 22:33:59 +00:00
Jeffrey Hsu
24652ff6e1 Get cosmetic changes out of the way before I add routing table SMP locks. 2003-02-10 22:01:34 +00:00
Jacques Vidrine
6042ca2e01 Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.
2003-02-10 19:57:56 +00:00
Garance A Drosehn
413a16d889 The regression-tests for 'make' *expect* to trigger make's warning:
warning: duplicate script for target "double" ignored
The regression-tests do try to hide that message, but the message does
still appear when using -j (eg: 'make -j5 buildworld').  This changes the
regression-test so the expected warning message will not be seen even
when -j is specified.

Reviewed by:	jmallett  ru
2003-02-10 19:56:42 +00:00
Dag-Erling Smørgrav
48c12730cd Use pam_get_user(3) instead of pam_get_item(3) where appropriate. 2003-02-10 18:59:20 +00:00
Mike Barcroft
961ce4ff77 Immortalize a Robert Watson quote. 2003-02-10 17:34:32 +00:00
Robert Drehmel
ec3b72e932 - Determine the size of buffers with sizeof() instead of using
plain magic numbers - one of them was apparently wrong but unharmful.
 - Remove empty line.
2003-02-10 16:58:47 +00:00
Bruce A. Mah
1ecc8ba383 New release notes: GCC 3.2.2, sendmail 8.12.7. 2003-02-10 16:46:44 +00:00
Gregory Neil Shapiro
82cd538ed5 This commit was generated by cvs2svn to compensate for changes in r110647,
which included commits to RCS files with non-trunk default branches.
2003-02-10 16:41:06 +00:00
Gregory Neil Shapiro
fabecb74aa Import proto.m4 fix from vendor repository. This fixes a cf building
bug if LOCAL_RELAY and/or MAIL_HUB are used in an mc file.
2003-02-10 16:41:06 +00:00
Jeff Roberson
783caefbbf - Enable STRICT_RESCHED until code that dynamically decides on resched
strictness based on the current workload is finished.
2003-02-10 14:11:23 +00:00
Jeff Roberson
407b015791 - Add a new variable 'kg_runtime' that tracks the amount of time we've run.
- Use the ratio of kg_runtime / kg_slptime to determine our dynamic priority.
 - Scale kg_runtime and kg_slptime back when the sum of the two exceeds
   SCHED_SLP_RUN_MAX.  This allows us to slowly forget old behavior.
 - Scale back the runtime and slptime in fork so that the new process has the
   same ratio but much less accumulated time.  This causes new behavior to be
   noticed more quickly.
2003-02-10 14:03:45 +00:00
Yoshihiro Takahashi
46c71b8146 Use correct spl mask.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
MFC after:	1 day
2003-02-10 13:31:49 +00:00
Thomas Quinot
6ced08bfa6 Allow inner whitespace in the right-hand side of an environment variable
assignment even if it is not quoted (as advertised by the man page).
This fixes a regression wrt RELENG_4 introduced in rev. 1.11.

Problem noted and patch tested by:	CHOI Junho <cjh@kr.FreeBSD.org>
Reviewed by:		roberto
2003-02-10 11:20:58 +00:00
Alfred Perlstein
4e44912c6c Add pthread_attr_getstack() and pthread_attr_setstack().
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
2003-02-10 08:48:04 +00:00
Alfred Perlstein
e6cfb1ccd3 Handle %%m properly in syslog format string. Previously it would expand
the %m into the errno and then vfprintf would expand the % and the first
character of the strerror(3) return causing possible data corruption.
2003-02-10 08:31:28 +00:00
Doug Barton
687e6ad79b Try to fix two problems with the -I example. One is the fact that we
want to match a character $, not EOL. The other is that CVS helpfully
expanded my example into an actual CVS tag.

Submitted by:	gad
2003-02-10 06:35:34 +00:00
Alexander Kabaev
efb75db1a4 Install one more header file which is new with GCC 3.2.2. 2003-02-10 06:09:55 +00:00
Alexander Kabaev
42194a8171 Merge FreeBSD modifications into gcc 3.2.2 release:
1.8  printf format error fixes.
2003-02-10 06:07:12 +00:00
Tim J. Robbins
fbf70de6b0 Lock the proc around accessing p_siglist in ttycheckoutq() in the
unused wait != 0 case.
2003-02-10 06:06:46 +00:00
Alexander Kabaev
a81f4c40b7 Merge FreeBSD modifications into gcc 3.2.2 release:
1.10  -mno-align-long-strings.
  1.11  Allow the specification of LONG_TYPE_SIZE on the command line.
2003-02-10 06:05:16 +00:00
Alexander Kabaev
c66fff0155 Merge FreeBSD modifications into gcc 3.2.2 release:
1.11  -mno-align-long-strings.
Note the change 1.15 is not needed anymore.
2003-02-10 06:04:35 +00:00
Alexander Kabaev
6d114ccf45 Update for Gcc 3.2.2 release. 2003-02-10 06:03:47 +00:00
Alexander Kabaev
6f20e984fc Merge FreeBSD modifications into gcc 3.2.2 release:
1.{2,15}     FREEBSD_NATIVE.
  1.21         "GCC_OPTIONS".
  1.{16,25,27} Cross-compiling issues.
2003-02-10 06:03:16 +00:00
Jeff Roberson
7137d635ac - In getnewbuf() unlock the bq lock prior to sleeping when we're out of
buffers.

Submitted by:	tegge
2003-02-10 06:02:51 +00:00
Alexander Kabaev
42f979319e Merge FreeBSD modifications into gcc 3.2.2 release:
1.2 -fformat-extensions.
  1.3 -printf0
  1.6 Teach GCC about %y for DDB and implement
      support for the C99 %z format modifier.
2003-02-10 06:00:24 +00:00
Alexander Kabaev
10a72f72d8 Merge FreeBSD modifications into gcc 3.2.2 release:
1.2 kernel printf enhancements framework.
  1.3 suppress prototype warnings on K&R main.
2003-02-10 05:59:19 +00:00
Alexander Kabaev
76c39e5f7b Merge FreeBSD modifications into gcc 3.2.2 release:
1.2  framework for our kernel printf enhancements.
  1.3  suppress prototype warnings on K&R main.
2003-02-10 05:58:19 +00:00
Alexander Kabaev
d79e61dc75 Update HEAD with stock GCC 3.2.2 release files. 2003-02-10 05:57:03 +00:00