Commit Graph

1433 Commits

Author SHA1 Message Date
pjd
894360e76c Document more bits.
Reviewed by:	brd
2006-06-03 23:39:13 +00:00
imp
b187a35955 Add a stub man page for device_get_sysctl{_ctx,tree}. Needs some
work, but is better than nothing.  Any help appreciated.
2006-05-23 22:11:20 +00:00
pjd
a219cfbd3e Document missing CRYPTO_F_ flags. 2006-05-23 08:43:28 +00:00
pjd
fbc4e2cc40 Update HMAC algorithms. 2006-05-17 18:58:25 +00:00
pjd
7ec29a3365 Update manual page: cri_rnd field is gone, cri_mlen field was added. 2006-05-17 18:44:37 +00:00
keramida
955080c0be Consistently use `superuser privileges' instead of its singular
form here and its plural there.

Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com>
MFC after: 	3 days
2006-05-16 22:58:43 +00:00
wilko
815d2ff3a4 Remove reference to Alpha architecture. 2006-05-15 20:58:05 +00:00
jmg
87a18c121f match w/ prototype...
MFC after:	3 days
2006-05-08 04:25:35 +00:00
keramida
717d157010 Typo. 2006-04-29 00:43:23 +00:00
keramida
713f37c123 Fix a couple of typos and other minor nits
Reviewed by:	rwatson
2006-04-28 23:21:36 +00:00
rwatson
4bbacc2510 Fix typo.
MFC after:	1 month
Submitted by:	Antoine Brodin <antoine dot brodin@laposte dot net>
2006-04-28 19:43:44 +00:00
rwatson
900c1aa177 Add a basic man page for the sysctl(9) macro interfaces. Previously man
pages existed only for the dynamic sysctl interfaces.  There's probably
more complete and accurate content, better advice, etc, that could be added
here.

Per scottl's suggest, add a small piece of moralizing text regarding the
fact that sysctl names quickly get embedded in system configuration files,
libraries, third party applications, and even books, so renaming and
removing names after they've been published is a tricky issue.

MFC after:	1 month
2006-04-28 10:45:27 +00:00
scottl
28ddd4c0ac Add a section about locking protocol for busdma. 2006-04-28 08:36:49 +00:00
jmg
83319e2271 document the various bus_space_*_stream_? functions... 2006-04-22 03:58:41 +00:00
jhb
173aa256de Add MLINKS for rwlock(9). 2006-04-19 21:09:39 +00:00
jhb
23bed816e2 Document rw_try_upgrade() and rw_downgrade(). 2006-04-19 21:09:17 +00:00
jhb
aa021f0145 Various nits and fixups so that the text reads smoother in several places.
Also, more closely match the prototypes in sys/rwlock.h and add a BUGS
section.
2006-04-19 20:43:35 +00:00
jhb
a74c12c708 Trim a couple of xrefs. 2006-04-19 20:41:56 +00:00
jhb
d989c9d478 - Sleep/wakeup operate on threads now, not processes.
- Describe msleep() as the primary sleep function now rather than tsleep()
  and describe tsleep() and msleep_spin() as variations.
- Try to make the description of msleep() a bit closer to English
  (sentences with actual subjects, etc.)
- Document that a priority of 0 now prevents the thread's priority from
  being altered.
- Add a history note for wakeup_one().
2006-04-17 19:11:12 +00:00
maxim
e3ccf599d5 o Fix prototype for SYSCALL_MODULE(9): the third argument
is a pointer to struct sysent.  Correct its description.

PR:		docs/84790
Submitted by:	Dirk Gouders
MFC after:	2 weeks
2006-04-15 12:04:18 +00:00
pjd
65ac7dfb9e Remove redundant 'from'. 2006-04-10 18:19:29 +00:00
pjd
fcb4685f26 Document CRD_F_KEY_EXPLICIT flag. While here more flags description more
readable.

MFC after:	2 weeks
2006-04-10 18:17:43 +00:00
jmg
7ad8a72278 add links for the functions documented in bus_space.9... 2006-04-04 22:56:08 +00:00
peter
3be39fdbda Update pmap_remove_pages(9) doc. 2006-04-03 21:17:36 +00:00
des
10c4f678df Correct the requirements for g_new_consumer().
Approved by:	phk
2006-03-17 13:13:18 +00:00
sam
bf44b23991 promote fast ipsec's m_clone routine for public use; it is renamed
m_unshare and the caller can now control how mbufs are allocated

Reviewed by:	andre, luigi, mlaier
MFC after:	1 week
2006-03-15 21:11:11 +00:00
andre
4cc825f6d4 Import OpenBSD's manual page to the sys/sys/hash.c functions imported two
days earlier.

Obtained from:	OpenBSD
2006-03-14 17:19:09 +00:00
hrs
6223247e90 Fix version number when the feature was added.
Submitted by:	Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR:		docs/93801 and docs/93803
MFC after:	2 days
2006-03-07 18:25:03 +00:00
ru
13e223a46c Fix types of time_second and time_uptime variables. 2006-03-02 19:47:41 +00:00
cognet
cab8c26101 Note that BUS_DMA_COHERENT currently only affects sparc64 and arm.
Suggested by:	scottl
2006-03-01 23:56:18 +00:00
jmg
7f0fea077c update examples to use the correct terms that was never updated when the
earlier descriptions were gone over...

MFC after:	3 days
2006-02-28 19:58:57 +00:00
jmg
e38adb7f1e allow timo to be 0 when mtx is not NULL (KASSERT allowed this as
pointed out by jhb)

Reviewed by:	jhb
MFC after:	3 days
2006-02-22 20:50:33 +00:00
pjd
8c2ee29839 Document how to find a short description of a memory type. 2006-02-17 09:11:41 +00:00
joel
8026c9fd70 .Pp before .Sh is redundant.
Reviewed by:	ru
2006-02-13 21:34:19 +00:00
glebius
bd3f3fcc08 Xref rwlock(9).
Reviewed by:	ru
2006-02-01 20:30:55 +00:00
glebius
70f2cce3e4 Document read/write locks.
Reviewed by:	jhb, ru
2006-02-01 19:39:25 +00:00
brueffer
3f47371bc4 Xref redzone(9) 2006-01-31 17:29:27 +00:00
mlaier
7c376f7072 sys/linker.h needs sys/systm.h as a requirement.
Submitted by:	 gallatin
2006-01-31 16:59:52 +00:00
pjd
645dd7b662 Add buffer corruption protection (RedZone) for kernel's malloc(9).
It detects both: buffer underflows and buffer overflows bugs at runtime
(on free(9) and realloc(9)) and prints backtraces from where memory was
allocated and from where it was freed.

Tested by:	kris
2006-01-31 11:09:21 +00:00
mlaier
719dd1ebed firmware(9) is a subsystem to load binary data into the kernel via a
specially crafted module.  There are several handrolled sollutions to this
problem in the tree already which will be replaced with this.  They include
iwi(4), ipw(4), ispfw(4) and digi(4).

No objection from:	arch
MFC after:		2 weeks
X-MFC after:		some drivers have been converted
2006-01-29 02:52:42 +00:00
imp
a63b8f739d Bump date to Sept 20, the date of the last content change 2006-01-18 05:48:45 +00:00
ru
0f71a5fa9b Fix a misspelled reference. 2006-01-13 11:24:08 +00:00
jhb
834b4a427c - Don't list sleep() in the NAME section as we haven't had a sleep()
function in years.
- Change the 'ident' paramters to 'wchan' to match <sys/systm.h>.
- Use 'otherwise' in place of 'else' in one place so that this reads like
  English rather than C.
- Document the new msleep_spin() function.
- Add history notes for msleep() and msleep_spin().
2006-01-03 17:00:38 +00:00
rwatson
437ca548c4 Back out VFS_LOCK_GIANT.9:1.4, due to losing a race in change/update
against revision 1.3.  No need to include mount.h twice, once will be
quite enough.

Pointed out by:	simon
2006-01-03 14:00:22 +00:00
iedowse
1edbd8766f Add basic documentation for many of the kernel USB functions that
USB device drivers use to talk to USB devices. This is probably
still a bit rough and it does not yet include the functions specific
to HID, ethernet, hubs, host controller drivers, task threads or
debugging.
2005-12-31 03:53:02 +00:00
pjd
43140a0faa Update manual page after last memguard changes.
Glanced at by:	simon
2005-12-30 12:28:19 +00:00
pjd
a7bfc7aa9a Document CTR6() macro. 2005-12-27 11:12:51 +00:00
rwatson
04f8aa4eb0 Add missing mount.h include to VFS_LOCK_GIANT() man page.
Submitted by:	Wojciech A. Koszek <dunstan at freebsd dot czest dot pl>
MFC after:	3 days
2005-12-24 08:25:15 +00:00
phk
4bbae65b4a Make sbuf_copyin() return the number of bytes copied on success.
Submitted by:	"Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
2005-12-23 11:49:53 +00:00
simon
d26ec6ea63 VFS_LOCK_GIANT and VFS_UNLOCK_GIANT are actually defined in sys/mount.h,
so also include sys/mount.h in SYNOPSIS.

PR:		docs/90541
Submitted by:	Wojciech A. Koszek dunstan^freebsd.czest.pl
MFC after:	1 week
2005-12-18 08:07:30 +00:00