Commit graph

65448 commits

Author SHA1 Message Date
Ian Dowse 564bfabecb Remove the SSLEEP case from the load average computation. This has
been a no-op for as long as our CVS history goes back. Processes in
state SSLEEP could only be counted if p_slptime == 0, but immediately
before loadav() is called, schedcpu() has just incremented p_slptime
on all SSLEEP processes.
2001-10-04 22:33:31 +00:00
Bill Paul e6f9ad0779 Add compatibility functions for the AF_LOCAL RPC transport stuff
that used to live in RPC 4.0. This is needed for yppasswd and
rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
2001-10-04 21:03:17 +00:00
Bruce A. Mah 003c0a008a The upgrade instructions referred to an article that was (I think)
folded into the Handbook.  Point readers in the right direction and
do a little touchup on the text in this section.

MFC after:	1 day
2001-10-04 20:23:35 +00:00
Søren Schmidt c36c574aaa Update the promise raid structure with some of the info I've gathered
before I'm accused of "lending" it from somebody else.
2001-10-04 18:02:26 +00:00
Bruce A. Mah 6f2a7cbb4b In "Further Reading", mention other DocProj articles/books (in addition to
the FAQ and Handbook).

MFC after:	1 day
2001-10-04 17:33:35 +00:00
Dag-Erling Smørgrav 50f74e92b8 Final style(9) commit: placement of opening brace; a continuation indent I
missed in the previous commit; a line that exceeded 80 characters.  No
functional changes, but the object file's md5 checksum changes because some
lines have been displaced.
2001-10-04 16:35:44 +00:00
Dag-Erling Smørgrav 8a8d4e459c More style(9) fixes: no spaces between function name and parameter list;
some indentation fixes (particularly continuation lines).

Reviewed by:	md5(1)
2001-10-04 16:29:45 +00:00
David Malone ecac78e7bd Bump __FreeBSD_version after change in ABI for discriptor and creds passing
on 64 bit platforms.

Reviewed by:	imp
2001-10-04 16:14:43 +00:00
Dag-Erling Smørgrav c5799337ea This file had a mixture of "return foo;" and "return (foo);"; standardize
on "return (foo);" as mandated by style(9).

Reviewed by:	md5(1)
2001-10-04 16:09:22 +00:00
Mark Peek ec84f10383 Add nmdm driver.
PR:		31027
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
MFC after:	1 day
2001-10-04 15:37:55 +00:00
Doug Rabson 56c0b43aab Add eficlock.c and remove sscclock.c. 2001-10-04 15:28:56 +00:00
Doug Rabson 02c76ceb97 Don't pretend the argument to clockattach is a device - it isn't. 2001-10-04 15:28:27 +00:00
Doug Rabson a14927b550 * Don't pretend the object passed to clockattach is a device - it isn't.
* Declare itc_frequency properly.
2001-10-04 15:27:35 +00:00
Doug Rabson 377fa66e5e Use EFI (or some reasonable simulation) to read the RTC. 2001-10-04 15:26:05 +00:00
Doug Rabson 94d5f4bfd2 Fake the EFI runtime call GetTime. 2001-10-04 15:24:52 +00:00
Ruslan Ermilov eea399e3ac Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
David Malone 2bc21ed985 Hopefully improve control message passing over Unix domain sockets.
1) Allow the sending of more than one control message at a time
over a unix domain socket. This should cover the PR 29499.

2) This requires that unp_{ex,in}ternalize and unp_scan understand
mbufs with more than one control message at a time.

3) Internalize and externalize used to work on the mbuf in-place.
This made life quite complicated and the code for sizeof(int) <
sizeof(file *) could end up doing the wrong thing. The patch always
create a new mbuf/cluster now. This resulted in the change of the
prototype for the domain externalise function.

4) You can now send SCM_TIMESTAMP messages.

5) Always use CMSG_DATA(cm) to determine the start where the data
in unp_{ex,in}ternalize. It was using ((struct cmsghdr *)cm + 1)
in some places, which gives the wrong alignment on the alpha.
(NetBSD made this fix some time ago).

This results in an ABI change for discriptor passing and creds
passing on the alpha. (Probably on the IA64 and Spare ports too).

6) Fix userland programs to use CMSG_* macros too.

7) Be more careful about freeing mbufs containing (file *)s.
This is made possible by the prototype change of externalise.

PR:		29499
MFC after:	6 weeks
2001-10-04 13:11:48 +00:00
Ruslan Ermilov 15821eba77 <mntopts.h> -> "mntopts.h" in SYNOPSIS.
Submitted by:	bde
2001-10-04 13:11:11 +00:00
David Malone 59bdd40568 Allow sbcreatecontrol to make cluster sized control messages. 2001-10-04 12:59:53 +00:00
Ollivier Robert 3fa4877790 Forced commit to give more details on what the patch does (sorry).
Instead of using 22 as the default cylinders per cylinder group parameter
(the max.  value for a 8k/1k FS), compute the maximum value allowed and use
it. It can be overridden by specifying -c of course. This allow for FS built
through the initial installation to have better values.
2001-10-04 12:24:18 +00:00
Ollivier Robert 08870345f5 Following the discussion in -arch and the submission of a patch by bde, here
it is. I added the manpage change.

Submitted by:	bde
MFC after:	1 week
2001-10-04 12:15:50 +00:00
Ruslan Ermilov 3d8712c3a1 Unbreak standalone `make depend' in gnu/usr.bin/perl.
Noticed by:	bde
2001-10-04 11:45:38 +00:00
John Baldwin 2037ef8f1e Remove extraneous semicolon.
Submitted by:	Maxime Henrion <mux@qualys.com>
2001-10-04 10:39:56 +00:00
Bruce Evans 3e9c0bd52c Fixed order of includes. <sys/cdefs.h> must be included before
<machine/ansi.h> for the definition of __signed, unless the compiler
is gcc.

Moved the declaration of socklen_t up together with the declaration of
size_t, and removed low-quality comment about this declaration.  Declaring
socklen_t in this file is normal in POSIX-1.200x, unlike declaring size_t.
2001-10-04 10:34:30 +00:00
John Baldwin 9d60f0cbdb Comment out RESTARTABLE_PANICS so that it is not defined in LINT. It
introduces many useless warnings obscuring the useful ones.
2001-10-04 10:31:51 +00:00
John Baldwin 69ad5bdd3f Whitespace fixes. 2001-10-04 10:18:00 +00:00
Bruce Evans 9bcf4808fb Second round of spelling fixes for vm_page_io_finised. The function name
is actually vm_page_io_finish.
2001-10-04 10:10:56 +00:00
Bruce Evans f350e13c63 Removed garbage:
- bus_generic_map_intr.9.  This has been undead for more than 3 years
  following the changes in rev.1.4 of sys/bus.h.
- CONDSPLASSERT.9, SPLASSERT.9.  These have been undead since SMPng.
  They were even less useful than most section 9 man pages -- the
  interfaces described in them have never been used in the FreeBSD
  source tree.
2001-10-04 09:46:01 +00:00
Bruce Evans c042007e14 Fixed missing include in synopsis.
Fixed bitrot in synopsis.  Const'ification of string args had not reached
here.

Fixed some style bugs (superfluous quotes).
2001-10-04 09:14:48 +00:00
Bruce Evans d063f1eb75 Fixed many wrong arg types and 1 missing arg in synopsis. 2001-10-04 09:08:59 +00:00
Ruslan Ermilov 9f619f7956 Terminate the array of execv(3) pointers by a NULL pointer in the edge case.
PR:		bin/30913
Submitted by:	Dimitri Lommers <dimitri@hinttech.com>
2001-10-04 09:02:10 +00:00
Bruce Evans 6ea8d9af05 Fixed wrong include in synopsis. 2001-10-04 09:01:49 +00:00
Bruce Evans 8a5bc77116 Fixed (C) syntax error in synopsis. 2001-10-04 09:01:15 +00:00
Bruce Evans 0d8e4c576d Fixed bitrot in synopsis. Const'ification of m_copydata() had not reached
here.
2001-10-04 09:00:38 +00:00
Bruce Evans e81abd74f9 Fixed missing include in synopsis. 2001-10-04 08:59:53 +00:00
Bruce Evans cca603227a Fixed wrong arg type in synopsis. 2001-10-04 08:58:56 +00:00
Doug Rabson 5f926293f0 Add a couple of low-level acpi support files. 2001-10-04 08:45:54 +00:00
Doug Rabson 1676303c5c Add low-level ACPI support code and make a start on parsing the ACPI
interrupt information.
2001-10-04 08:45:19 +00:00
Doug Rabson b0ee13ad5a Add busspace hacks for ia64. 2001-10-04 08:33:16 +00:00
Doug Rabson 1983594568 Use return_PTR, not return_VALUE when returning pointers. 2001-10-04 08:32:18 +00:00
Doug Rabson ed136da6f4 Check the compatible ID as well as the hardware ID in acpi_MatchHid. 2001-10-04 08:31:17 +00:00
Bruce Evans 4c6bb41ef2 Fixed pedantic syntax error (trailing semicolon in enum). 2001-10-04 07:51:42 +00:00
Bruce Evans 87bc118cfc Fixed some style bugs. 2001-10-04 07:39:14 +00:00
Bruce Evans 9b68c690f1 Fixed namespace pollution:
- only declare the application symbols specified in Posix.1-200x drafts,
  not everything in <sys/types.h> and <stddef.h>.
- don't use the application symbol 'm' for an arg name.
2001-10-04 07:37:57 +00:00
Bruce Evans b228f1f47a Fixed style bugs (indentation errors, missing punctuation, and unsorting)
in rev.1.61.
2001-10-04 07:25:16 +00:00
Bruce Evans 152bd66c13 Fixed a missing forward declaration and unsorting of prototypes in rev.1.18. 2001-10-04 07:12:37 +00:00
Bruce Evans 212c98aae9 Fixed wrong include in synopsis.
Fixed bitrot in synopsis.  Const'ification of make_dev() and
make_dev_alias() had not reached here.
2001-10-04 06:22:22 +00:00
Mike Barcroft b5c9f90bf5 Include <string.h> to prototype strcpy(3). While I'm here, make use
of the new RCSID macros.

MFC after:	3 days
2001-10-04 04:42:03 +00:00
Luigi Rizzo 19323fdd72 Add functions to lookup in /etc/networks and set interface
addresses, invoke them from /etc/rc
2001-10-04 00:46:44 +00:00
Luigi Rizzo f03ad5f550 Add "networks" file used to lookup netmasks 2001-10-04 00:46:03 +00:00