Commit Graph

65693 Commits

Author SHA1 Message Date
iedowse
721b742b1e 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
wpaul
6c9e575b19 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
bmah
17c1322590 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
sos
f5ccb524fc 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
bmah
b61c05c0f2 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
des
0e3cf8a851 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
des
931b23f574 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
dwmalone
757a2ccad7 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
des
f11f58a22b 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
mp
2135391d66 Add nmdm driver.
PR:		31027
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
MFC after:	1 day
2001-10-04 15:37:55 +00:00
dfr
e77d9fc842 Add eficlock.c and remove sscclock.c. 2001-10-04 15:28:56 +00:00
dfr
618109d59e Don't pretend the argument to clockattach is a device - it isn't. 2001-10-04 15:28:27 +00:00
dfr
874825c3ca * 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
dfr
62360262bb Use EFI (or some reasonable simulation) to read the RTC. 2001-10-04 15:26:05 +00:00
dfr
7ed4fe7528 Fake the EFI runtime call GetTime. 2001-10-04 15:24:52 +00:00
ru
7af6b8b2fa Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
dwmalone
86cf053ae0 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
ru
a41aa2f6cf <mntopts.h> -> "mntopts.h" in SYNOPSIS.
Submitted by:	bde
2001-10-04 13:11:11 +00:00
dwmalone
4be03ca19c Allow sbcreatecontrol to make cluster sized control messages. 2001-10-04 12:59:53 +00:00
roberto
04d18a7151 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
roberto
7be036f2de 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
ru
6c45f70bf2 Unbreak standalone `make depend' in gnu/usr.bin/perl.
Noticed by:	bde
2001-10-04 11:45:38 +00:00
jhb
825c3e09f6 Remove extraneous semicolon.
Submitted by:	Maxime Henrion <mux@qualys.com>
2001-10-04 10:39:56 +00:00
bde
18b78355b8 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
jhb
5adad7bfe9 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
jhb
7d9178b7e1 Whitespace fixes. 2001-10-04 10:18:00 +00:00
bde
5bfc140e1b 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
bde
b96f5fd1cb 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
bde
08ae13ee7f 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
bde
8e73a1ca4c Fixed many wrong arg types and 1 missing arg in synopsis. 2001-10-04 09:08:59 +00:00
ru
3837a9604c 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
bde
17f224e149 Fixed wrong include in synopsis. 2001-10-04 09:01:49 +00:00
bde
75e6e0a441 Fixed (C) syntax error in synopsis. 2001-10-04 09:01:15 +00:00
bde
5936a4656b Fixed bitrot in synopsis. Const'ification of m_copydata() had not reached
here.
2001-10-04 09:00:38 +00:00
bde
13d639d638 Fixed missing include in synopsis. 2001-10-04 08:59:53 +00:00
bde
4f49b7afb3 Fixed wrong arg type in synopsis. 2001-10-04 08:58:56 +00:00
dfr
f75497bb3b Add a couple of low-level acpi support files. 2001-10-04 08:45:54 +00:00
dfr
b5a44e4761 Add low-level ACPI support code and make a start on parsing the ACPI
interrupt information.
2001-10-04 08:45:19 +00:00
dfr
9c65ee6d6b Add busspace hacks for ia64. 2001-10-04 08:33:16 +00:00
dfr
974d6a2329 Use return_PTR, not return_VALUE when returning pointers. 2001-10-04 08:32:18 +00:00
dfr
158d043f88 Check the compatible ID as well as the hardware ID in acpi_MatchHid. 2001-10-04 08:31:17 +00:00
bde
c5bb23781e Fixed pedantic syntax error (trailing semicolon in enum). 2001-10-04 07:51:42 +00:00
bde
7e16402646 Fixed some style bugs. 2001-10-04 07:39:14 +00:00
bde
55491453e2 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
bde
1e25e4053d Fixed style bugs (indentation errors, missing punctuation, and unsorting)
in rev.1.61.
2001-10-04 07:25:16 +00:00
bde
d46fa27980 Fixed a missing forward declaration and unsorting of prototypes in rev.1.18. 2001-10-04 07:12:37 +00:00
bde
e344ce4b2a 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
aebf871de5 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
0a6d2bba3a 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
800c8cb93d Add "networks" file used to lookup netmasks 2001-10-04 00:46:03 +00:00