Commit Graph

1168 Commits

Author SHA1 Message Date
Warner Losh
899eeaa62f It appears that cdevsw_add/remove were removed quite a while ago, so
remove them from here.
2004-08-07 04:59:16 +00:00
Pawel Jakub Dawidek
51385a3c00 - Add two fields to bio structure: 'bio_cflags' which can be used by
consumer and 'bio_pflags' which can be used by provider.
- Remove BIO_FLAG1 and BIO_FLAG2 flags. From now on new fields should be
  used for internal flags.
- Update g_bio(9) manual page.
- Update some comments.
- Update GEOM_MIRROR, which was the only one using BIO_FLAGs.

Idea from:	phk
Reviewed by:	phk
2004-08-04 21:35:05 +00:00
John-Mark Gurney
47df0a78eb after reading the commit mail, I better understand what cnt_hold is for..
improve the verbage in the manpage so others are more likely to understand
it...

Reviewed by:	rwatson
2004-07-27 04:23:00 +00:00
John-Mark Gurney
b5e60d3288 document that times are in microseconds, yes it's at the end in the NOTES
section, but this makes it easier to find.
2004-07-26 21:21:08 +00:00
Colin Percival
56f21b9d74 Rename suser_cred()'s PRISON_ROOT flag to SUSER_ALLOWJAIL. This is
somewhat clearer, but more importantly allows for a consistent naming
scheme for suser_cred flags.

The old name is still defined, but will be removed in a few days (unless I
hear any complaints...)

Discussed with:	rwatson, scottl
Requested by:	jhb
2004-07-26 07:24:04 +00:00
Colin Percival
75877b7564 Document the SUSER_RUID flag.
Reminded by:	pjd
2004-07-17 15:21:34 +00:00
Colin Percival
ebf89b8e17 Add a BUGS entry pointing out that the ASU flag isn't being set. This was
disabled by rwatson in revision 1.60 of sys/kern/kern_prot.c in August 2000.
2004-07-17 15:14:43 +00:00
Poul-Henning Kamp
65a311fcb2 Give kldunload a -f(orce) argument.
Add a MOD_QUIESCE event for modules.  This should return error (EBUSY)
of the module is in use.

MOD_UNLOAD should now only fail if it is impossible (as opposed to
inconvenient) to unload the module.  Valid reasons are memory references
into the module which cannot be tracked down and eliminated.

When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is
not given, MOD_QUIESCE failing will also prevent the unload.

For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as
success.

Document that modules should return EOPNOTSUPP for unknown events.
2004-07-13 19:36:59 +00:00
Alfred Perlstein
2e168c9b37 Document thread parameter passed to VFS_ROOT and vflush. 2004-07-12 09:06:51 +00:00
Darren Reed
52865ee591 Document that sx_unlock() exists as a macro.
Remove redundant include file, <sys/kernel.h>, and clean up the function
list at the top with the addition of a "Sx utility macro" section.
2004-07-11 16:08:25 +00:00
Warner Losh
cd4d01d8a0 Modernize description of physio. Make explicit that this creates a
request that's passed to the driver's strategy.
2004-07-10 01:10:17 +00:00
Alfred Perlstein
cf92b47413 document vfs_suser. 2004-07-09 22:33:43 +00:00
Dag-Erling Smørgrav
9f5965dded Bump document date.
Reminded by:	ru
2004-07-09 11:44:49 +00:00
Dag-Erling Smørgrav
4aa90de352 The type and name of sbuf_b{cat,cpy}()'s second argument have changed. 2004-07-09 11:38:59 +00:00
Ruslan Ermilov
092cc6b2ab Revise markup. 2004-07-08 10:47:13 +00:00
Alfred Perlstein
c438d25d9e There is no VOP_TRUNCATE anymore.
style(9) (parenthesis around return values) the example.
2004-07-08 00:43:50 +00:00
Alfred Perlstein
ad5d91b7b1 s/proc/thread 2004-07-08 00:38:28 +00:00
Alfred Perlstein
f6bd5d1e6d Update comments in example as well. 2004-07-08 00:36:58 +00:00
Alfred Perlstein
dc7bf98cd1 Update because struct componentname now has a thread pointer instead
of a proc pointer.
2004-07-08 00:11:43 +00:00
Alfred Perlstein
7f67dadf9f Update in the face of NDFREE.
Basically the advice on freeing the componentname buffers is no
longer correct.
Update the example code.
2004-07-08 00:08:18 +00:00
Ruslan Ermilov
2410103c1d mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
Maxim Konovalov
9193b9a5a1 MT_TAG is dead. 2004-07-07 16:48:16 +00:00
Ruslan Ermilov
65bb31b863 Slight content fixes. 2004-07-07 13:21:46 +00:00
Ruslan Ermilov
2e77778053 Fixed document title (should be in all uppercase).
List all functions in the NAME section so they appear in whatis(1).
Assorted fixes (mostly markup).
2004-07-07 12:59:39 +00:00
Ruslan Ermilov
db79bbff16 Sweep formatting and assorted fixes. 2004-07-07 07:56:58 +00:00
Ruslan Ermilov
ceba39a73b Tabs here upset my automatic checker, so replaced them with spaces. 2004-07-07 07:56:36 +00:00
Ruslan Ermilov
6f39ea8888 Tiny markup fixes. 2004-07-06 08:21:12 +00:00
Ruslan Ermilov
6ac051ece6 Fixed markup. 2004-07-06 07:39:50 +00:00
Ruslan Ermilov
3f7440e2ee mdoc(7) fixes. 2004-07-06 07:33:49 +00:00
Ruslan Ermilov
c8cbcbce5c mdoc(7) fixes. 2004-07-06 07:26:23 +00:00
Ruslan Ermilov
2c5470d09e Correct typos in the function name.
mdoc(7) tweaks.
2004-07-06 07:12:34 +00:00
Ruslan Ermilov
b4ca3754a4 Fixed the .Os call (missing or wrong). 2004-07-06 07:02:31 +00:00
Ruslan Ermilov
a970c85ca9 mdoc(7) fixes. 2004-07-06 06:53:42 +00:00
Ruslan Ermilov
1772ac3f49 Slightly improve the markup. 2004-07-05 18:13:50 +00:00
Ruslan Ermilov
51f98e585b Fix the NAME section making whatis(1) happy in particular. 2004-07-05 17:12:53 +00:00
Ruslan Ermilov
1c85060a13 Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
Bruce M Simpson
df550d3259 Add documentation for the ieee80211_node.c functions.
Submitted by:	Darron Broad
2004-07-04 18:07:58 +00:00
Scott Long
ab0b83b529 Document that boundaries cannot be smaller than the max segment size. 2004-07-04 04:50:00 +00:00
Ruslan Ermilov
651aa6348e Merge junk. 2004-07-03 22:53:50 +00:00
Ruslan Ermilov
5203edcdc5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
Ruslan Ermilov
d37ea99837 Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
Scott Long
2da554d8f2 Small grammar fix. 2004-07-02 15:52:44 +00:00
Bruce Evans
00ff1f7c0a Fixed a style bug in the previous commit. 2004-06-26 09:02:44 +00:00
David E. O'Brien
7549cb8489 Embellish the getopt(3) example with mixed case.
Reviewed by:	bde
2004-06-26 05:15:00 +00:00
Lukas Ertl
05344e57f6 Catch up with the dev_t -> struct cdev change. 2004-06-22 20:18:15 +00:00
Mike Pritchard
2988974b58 Spelling fixes. 2004-06-21 14:11:45 +00:00
Ruslan Ermilov
d07b8cff88 Markup fixes. 2004-06-16 15:57:59 +00:00
Ruslan Ermilov
fa08fb73a5 Tiny markup fixes. 2004-06-16 15:47:45 +00:00
Ruslan Ermilov
bf7f20c2b6 Assorted markup, spelling, and grammar fixes. 2004-06-16 08:33:57 +00:00
Ruslan Ermilov
1c83e80830 Overhaul the markup. 2004-06-15 19:26:11 +00:00