Commit Graph

766 Commits

Author SHA1 Message Date
Chad David
37bc3d021d Update the .Fn line for MTX_SYSINIT to include the parameter types. 2002-04-12 03:54:44 +00:00
Chad David
8d7cbc2dea Fix typo and change Fn to Xr. 2002-04-05 08:05:11 +00:00
Andrew R. Reiter
80cc42da6b - Add notes about SX_SYSINIT and MTX_SYSINIT in order to document the
recent additions of these macros.
- Add in a MLINK to create SX_SYSINIT.9 and MTX_SYSINIT.9.
2002-04-02 17:21:00 +00:00
John Baldwin
cfa028281a - Update to new suser() API.
- Spell privilege properly.
- Grammar nits.
2002-04-02 16:41:11 +00:00
Dima Dorfman
82d0caaef1 mdoc(7) police: remove whitespace at EOL. 2002-03-28 12:57:48 +00:00
Dima Dorfman
a254506ee5 Add mtx_pool(9) to the SEE ALSO section.
Submitted by:	Garrett Rooney <rooneg@electricjellyfish.net>
2002-03-28 12:51:06 +00:00
Dima Dorfman
aa43564a2c Add a manual page for the mtx_pool_* routines.
PR:		36350
Submitted by:	Garrett Rooney <rooneg@electricjellyfish.net>
Reviewed by:	dillon
2002-03-28 12:50:17 +00:00
David E. O'Brien
c05da6d338 'char *' can be a large entity now (on 64-bit platforms). Thus move it up
to make the example match the text requirements.
2002-03-24 17:02:16 +00:00
Chad David
ffa2379289 Fixed bad wording/spelling in few paragraphs. 2002-03-24 00:31:38 +00:00
Ruslan Ermilov
a689555c72 mdoc(7) police: tidy up. 2002-03-18 16:52:32 +00:00
Ruslan Ermilov
21bb400da0 mdoc(7) police: tidy up. 2002-03-18 16:40:07 +00:00
Ruslan Ermilov
63856f9683 mdoc(7) police: pedantry. 2002-03-18 11:08:53 +00:00
Ruslan Ermilov
ef7e25bc75 mdoc(7) police: markup nit. 2002-03-18 11:03:57 +00:00
Ruslan Ermilov
b6acc60d91 mdoc(7) police: tidy up. 2002-03-18 10:59:58 +00:00
Ruslan Ermilov
c2f7105cd0 mdoc(7) police: fixed some wording, kill whitespace at EOL. 2002-03-18 10:52:09 +00:00
Ruslan Ermilov
2ca6ad76af mdoc(7) police: macroize UNIX. 2002-03-18 10:43:49 +00:00
Jens Schweikhardt
341229f512 Typo: s/dependant/dependent/
MFC after:	3 days
2002-03-16 18:12:49 +00:00
Jens Schweikhardt
559ff927b2 Typo: s/conjuction/conjunction/ 2002-03-16 18:10:40 +00:00
Jens Schweikhardt
46612f8261 Plural bogon: s/childs/children/
MFC after:	3 days
2002-03-16 18:07:07 +00:00
Jens Schweikhardt
9d0e429cbe Typo; s/Filesytems/Filesystems/
MFC after:	3 days
2002-03-16 17:26:07 +00:00
Ruslan Ermilov
2eff01c7e0 mdoc(7) police: Kill the (now extraneous) empty line. Previously,
.Bd erroneously defaulted to -compact mode in the SYNOPSIS section.
2002-03-15 12:04:49 +00:00
Robert Watson
b45deeb2a5 NAI DBA update. 2002-03-14 21:58:58 +00:00
Jens Schweikhardt
ac20ab0d2d Grammar bogon: s/structure a route/structure of a route/
MFC after:	3 days
2002-03-14 18:43:09 +00:00
Archie Cobbs
44a8ff315e Add realloc() and reallocf(), and make free(NULL, ...) acceptable.
Reviewed by:	alfred
2002-03-13 01:42:33 +00:00
Mike Barcroft
8a1791edf4 Create a manual to document the new kernel byte order conversion
functions.

Reviewed by:	tmm
2002-03-06 01:53:35 +00:00
Dima Dorfman
0db0f1925a Document cru2x(). 2002-03-03 03:27:28 +00:00
Mark Murray
7d6ad52aa0 Fix required includes in accordance with recent source fixes.
Submitted by:	bde
2002-03-01 18:43:15 +00:00
Chad David
25416dcedf Note the the process group is returned locked. 2002-02-28 07:06:31 +00:00
Warner Losh
ad30894246 The do { } while (0) macro example was missing a space after the 'e'. 2002-02-27 23:16:34 +00:00
Robert Watson
2f2f40f261 Language clarification: s/an or/a/ 2002-02-18 00:21:05 +00:00
Dima Dorfman
44c63b6447 The routine is dev_depends(); consistently spell it that way.
PR:		34047
Submitted by:	Maxime Henrion <mux@sneakerz.org>
Pointy hat to:	dd
2002-02-11 01:21:29 +00:00
Robert Watson
8466e2ba43 Reinforce locking requirement for VOP_REVOKE: the lock must not be held.
Discussed with:	phk
2002-02-10 20:48:22 +00:00
Robert Watson
b3b414b604 Revert 1.14: VOP_GETATTR() really does require a vnode lock.
Confirmed by:	mckusick
2002-02-10 19:28:34 +00:00
Brian Feldman
c3c2d89da9 Correct copyright. 2002-02-07 19:07:36 +00:00
Mark Murray
be6b96ea0b Document entropy device bits. 2002-02-06 21:38:20 +00:00
Josef Karthauser
e105123179 Update the physio man page to better reflect reality.
PR:		docs/30603
Reviewed by:	phk
MFC after:	3 days
2002-02-05 21:32:57 +00:00
Brian Feldman
a15fa068ab Add a manpage for VOP_REVOKE(9).
Sponsored by:	DARPA, NAI Labs
2002-02-05 16:08:49 +00:00
Brian Feldman
6dad2ea974 Document that VOP_GETATTR(9) does not actually expect to hold an
exclusive lock on entry.

Sponsored by:	DARPA, NAI Labs
2002-02-05 15:26:28 +00:00
Warner Losh
3bd49456b1 Note new status of __P. Don't use it.
Reviewed by: arch@, mckusick (in principle)
2002-02-01 01:26:24 +00:00
David E. O'Brien
1bb7d81107 There is no need to wrap vendor id bits with '#if 0' if they come pre-wrapped. 2002-02-01 01:17:22 +00:00
Bruce Evans
96cb532cb8 Modified the rules for vendor ids:
- explictly say not to edit infrastructure for vendor ids (not just the
  ids).
- say to enclose vendor ids and their infrastucture in ``#if 0'', and
  partly explain why.
- don't set a bad example by mangling the Berkeley id infrastructure from
  ``static char sccsid[] ...'' to ``__RCSID(...)''.
- show a blank line between the vendor id cruft and the FreeeBSD if cruft
  in the example.
- relaxed the rule about adding "From: " to say that "From: " is actually
  useful if the file has been renamed.
- minor English improvements.

Discussed with:	obrien
2002-01-31 13:26:29 +00:00
Andrew R. Reiter
fa027af9d9 - Spelling fix: "functons" -> "functions". 2002-01-26 21:41:28 +00:00
Chad David
5385e8bfab Merged all of the lockmgr functions into a single file (lock.9); as well,
some content and layout changes were made.

lock.9 had existed before but was never added to Makefile, so it was
never installed.  That is why the duplicate files were created in the
first place.

Reviewed by:	ru, alfred
2002-01-26 00:09:41 +00:00
Ruslan Ermilov
c6a51f1c4a mdoc(7) police: removed raw troff from previous delta.
Objected to by:	mpp, jhb
2002-01-17 15:57:43 +00:00
Bruce Evans
df2aa36d5a Fixed missing return type in the prototoype for the hook function. 2002-01-11 13:18:32 +00:00
Ruslan Ermilov
1e55b8c749 mdoc(7) police: tidy up the markup.
Reviewed by:	davidc
2002-01-10 17:47:38 +00:00
Ruslan Ermilov
e4c7f9b607 mdoc(7) police: tidy up the markup. 2002-01-10 13:09:00 +00:00
Ruslan Ermilov
ced699e370 mdoc(7) police: get rid of WEOL and HSB introduced in rev 1.6. 2002-01-10 13:02:55 +00:00
Ruslan Ermilov
b6ff0012db mdoc(7) police: finish up the "proc" -> "thread" conversion. 2002-01-10 12:55:36 +00:00
Ruslan Ermilov
3b0536fa2a mdoc(7) police: tidy up the previous delta a bit. 2002-01-10 12:53:51 +00:00
Ruslan Ermilov
8271a1025c mdoc(7) police: tidy up the markup. 2002-01-10 12:32:38 +00:00
Ruslan Ermilov
48ad35449f get_cyclecounter.9 has been repo-copied to get_cyclecount.9. 2002-01-10 12:21:06 +00:00
Ruslan Ermilov
00594efed6 mdoc(7) police: tidy up the markup, fix some minor bugs. 2002-01-10 11:57:10 +00:00
Ruslan Ermilov
52f1d68ff8 mdoc(7) police: tidy up the markup.
This manpage should be repo-copied to get_cyclecount.9.
2002-01-10 10:48:39 +00:00
Ruslan Ermilov
2be6c09fd5 mdoc(7) police:
- make SYNOPSIS look better with some troff magic
- tidy up the markup
2002-01-10 10:36:04 +00:00
Ruslan Ermilov
fdedf9fd70 mdoc(7) police: function typedefs are similar to the
function declarations so use that idea to fix markup.
2002-01-10 09:34:33 +00:00
Ruslan Ermilov
0cf7294092 mdoc(7) police:
- logically sort the SYNOPSIS section
- add missing markup bits
- "brackets" -> "parentheses"
2002-01-10 09:20:07 +00:00
Mike Pritchard
b82af3f5e4 ispell sweep of share/man/man9/*. 2002-01-09 11:43:48 +00:00
Chad David
2e693d1919 Fairly major cleanup of the text.
PR: docs/32241
2002-01-09 08:42:43 +00:00
Chad David
23257a0057 Removed <sys/queue.h> from the list of required include files and
corrected the name of the function (get_cyclecount()).

Requested by: bde
2002-01-06 23:56:12 +00:00
Kelly Yancey
371c0c842a Document sbuf_trim() and sbuf_vprintf(); add MLINKs.
Clarify that the contents of a caller-supplied buffer are undefined and
should not be examined directly.

Reviewed by:	des
2002-01-06 08:40:42 +00:00
John Baldwin
e5b4afac08 Fully catch up to the recent critical section API change. Update the
content of the manpage and document cpu_critical_enter/exit.
2002-01-04 23:56:17 +00:00
Alfred Perlstein
0df3708ddb Make it explicit that the opening brace of a function body be on a line
by itself.
2001-12-27 20:05:47 +00:00
Chad David
f16b3c0de4 Update function definitions and required include files to reflect
the current state of the system.

Approved by: alfred
2001-12-26 23:14:04 +00:00
Chris Costello
67ea1c2412 Cross-reference acl.3, vaccess.9, and vaccess_acl_posix1e.9.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-22 03:46:33 +00:00
Chris Costello
12f96c9b6c Add cross-references to vaccess(9) and vaccess_acl_posix1e(9).
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-22 03:20:24 +00:00
Andrew R. Reiter
0ec7e3efa9 - typo 'f' should be 't' 2001-12-16 07:46:15 +00:00
Jake Burkholder
c645e17a12 Note that the atomic ops on char and short data types may not be available
on all architectures.  Sparc64 does not implement them.
2001-12-15 21:28:02 +00:00
Julian Elischer
90d83886e1 Make the man page reflec t the code a bit better.
Specifically, note the condition of the memory on initial
and subsequent allocations is different.
2001-12-14 19:19:31 +00:00
Ruslan Ermilov
13c8bbf31f Fixed prototype.
Reviewed by:	davidc
2001-12-14 09:25:11 +00:00
Ruslan Ermilov
3bdb698642 mdoc(7) police: don't xref to itself. 2001-12-14 09:22:34 +00:00
Ruslan Ermilov
1f620c2ead mdoc(7) police: markup, grammar and spelling nits.
Reviewed by:	davidc
2001-12-14 09:11:13 +00:00
Warner Losh
6951ce0d97 Add missing "the". 2001-12-13 01:31:41 +00:00
Warner Losh
2b6f1df3bd Add two clarifying commnets:
1) Note that this file is also by example.
	2) Note that you should not use files from /usr/include in
	   kernel files.
2001-12-13 01:29:34 +00:00
David E. O'Brien
b4ea18e338 Per the CSRG's type.h, 'typedef' has a <tab> after it.
Also add two simpler examples of typedefs to show their formatting.
2001-12-09 18:59:08 +00:00
Andrew R. Reiter
e05f3134d1 - Cross reference the section 9 printf man page since it contains
information with regards to in-kernel format directives that are
  not in printf.3
2001-12-09 08:12:06 +00:00
Ruslan Ermilov
af29f9a287 mdoc(7) police: fix markup, sort xrefs, grammar nit. 2001-12-08 18:15:29 +00:00
Ruslan Ermilov
f16217a013 mdoc(7) police: Style style(9). 2001-12-08 17:48:18 +00:00
Ruslan Ermilov
d6b892be5c mdoc(7) police: change xref to vfs_mountedon(9). 2001-12-08 16:06:02 +00:00
Chad David
9264a4f3f4 buf.9 incorrectly uses 'BUF' as an arg to .Nm where it should be 'buf'.
Because of this apropos notes a BUF(9) page that does not exist.

Reviewed by: alfred
2001-12-08 04:15:37 +00:00
Chad David
f4af1f0785 Add a man page describing the fuctions directly related to network domains.
Reviewed by: alfred
2001-12-07 20:58:07 +00:00
Warner Losh
eedd038914 Be exsplicit about the parentheses around return statements. It is
documented by example.  Since most of this file is documented by
example, it is confusing.  Make things a little less confusing.
2001-12-07 11:40:22 +00:00
John Polstra
9d981897e4 Fix speling errur. 2001-12-05 02:55:23 +00:00
Dag-Erling Smørgrav
11cee4a681 Mention access control. 2001-12-04 14:28:38 +00:00
Alfred Perlstein
ffc0b97fd0 More kernel vfs docco.
Xref vfs_mount(9) from vfs_mount(9)

Submitted by: Chad David <davidc@acns.ab.ca>
PR: docs/32431
2001-12-03 00:25:04 +00:00
Chris D. Faulhaber
8a2d4f5134 o Update copyright.
o Updates content to reflect the changes to acl.h for
  internal/external acl_t representations.

Approved by:	rwatson
Obtained from:	TrustedBSD Project
2001-12-02 04:27:13 +00:00
Alfred Perlstein
2164257702 Add manpages describing various vfs and vm APIs.
Submitted by: Chad David <davidc@acns.ab.ca>
2001-12-02 02:13:35 +00:00
Valentino Vaschetto
ba03376142 Spelling error: dependant -> dependent
PR
2001-11-30 07:18:23 +00:00
Ruslan Ermilov
57813e7f3f Bring the ucred(9) manpage in sync with the source.
Specifically, document the crshared() function and
fix the prototype and description of the crcopy()
function.

PR:		docs/32275
Submitted by:	Chad David <davidc@acns.ab.ca>
Reviewed by:	jhb
2001-11-26 18:37:50 +00:00
Ruslan Ermilov
bc19fadce7 mdoc(7) police: cosmetique. 2001-11-21 12:07:24 +00:00
Ruslan Ermilov
598b225ec7 mdoc(7) police: general cleanup. 2001-11-21 12:02:28 +00:00
Ruslan Ermilov
5f6a3b99a1 mdoc(7) police: WITNESS is a #define, mark it as such. 2001-11-21 11:47:55 +00:00
Ruslan Ermilov
d1919ca628 mdoc(7) police: cosmetique. 2001-11-21 11:44:36 +00:00
Andrew R. Reiter
c25081010f - Fix a number of man pages broken by the KSE merger. 2001-11-20 18:19:19 +00:00
Andrew R. Reiter
be8989d516 - Fix man page that was broke during KSE merger. This is the first in a
few commits relating to VOP_* calls and moving in struct thread.

Reviewed by: rwatson
2001-11-20 17:48:55 +00:00
Dima Dorfman
dbb10b1eaa Catch up to proc->thread changes.
PR:		31428
Submitted by:	Chad David <davidc@acns.ab.ca>
2001-11-05 00:41:39 +00:00
Bruce Evans
778b81a315 Fixed some English errors, mainly ones not fixed in the previous commit.
The previous commit message should have said this too (the only BSDism
fixed was punctuation for non-sentences).  Neither these changes nor
the ones in the previous commit were exactly as submitted by me.
2001-10-25 11:20:15 +00:00
Julian Elischer
79596dc40f Merge in BSDisms. Slight rewordings in some cases.
Submitted by:	bde@freebsd.org
Reviewed by:	jhb@freebsd.org
2001-10-24 22:57:39 +00:00
John Baldwin
7fe151bee5 Document sx_assert(9). 2001-10-23 22:51:59 +00:00
Julian Elischer
67a5f3cdc2 Alter the suggested way of writing structurtes to make them actuallys
readble when there are compound sub-elements (e.g. other structs).

Reviewed by:	{peter,dillon,des,imp,jlemon}@freebsd.org
MFC after:	1 week
2001-10-23 17:40:37 +00:00