Commit Graph

2302 Commits

Author SHA1 Message Date
mrg
8fb03546dc - add some comments for post-usbmp
- basic documentation for:
    usbd_clear_endpoint_toggle()
    usbd_device2interface_handle()
    usbd_interface2device_handle()
    usbd_pipe2device_handle()
    usbd_interface2endpoint_descriptor()
    usbd_endpoint_count()
- usbd_close_pipe() has documentation already
- bump date
2012-06-01 00:16:28 +00:00
wiz
144042a0cd Remove trailing whitespace. 2012-05-17 07:28:29 +00:00
mrg
c344fad04f clarify some descriptions. document a couple more functions.
make a big commented list of the functions that are lacking real
descriptions.
2012-05-17 02:58:14 +00:00
mrg
47006ff476 fix a broken sentence. bump date. 2012-05-13 19:29:59 +00:00
mlelstv
ec681a5cfa Fix tag for usbd_get_buffer 2012-05-13 12:10:18 +00:00
wiz
35ade9d47a Move DESCRIPTION below SYNOPSIS.
Remove function descriptions from SYNOPSIS.
Some cleanup while here.
XXX: most functions lack descriptions.
2012-05-13 11:57:39 +00:00
wiz
ce85630baa Fix typo and remove superfluous Pp. 2012-05-13 11:57:05 +00:00
mrg
11f0cb34e4 convert the ugly .Bl/.El list of functions to a real one inside the
.Sh SYNOPSIS section.

XXX, the .Sh DESCRIPTION needs to move under the .Sh SYNOPSIS.
2012-05-13 10:57:09 +00:00
mrg
3f86678fb0 document a large chunk of the USB interface. some of this is kind of
generic and depends upon understanding USB itself (and since i don't
really that well, i might have gotten some wrong.)
2012-05-13 09:00:51 +00:00
plunky
d1525add95 language improvement 2012-04-02 09:56:58 +00:00
njoly
8dfc5e0c6d Small typo. 2012-03-17 14:42:13 +00:00
wiz
948a1519b1 Bump date for previous.
Spell "file system" like in other man pages.
Fix typos.
2012-03-14 11:51:54 +00:00
wiz
a9bca96bca Remove trailing whitespace. Fix typo. Sort. 2012-03-14 11:44:42 +00:00
elad
0c9d8d15c9 Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.
2012-03-13 18:40:26 +00:00
njoly
bed7cf5a54 Use Lk macro instead of Pa when dealing with URLs, to produce links
with HTML output. And while here update some dead URL links.
First part of PR/29238.
2012-03-11 23:42:06 +00:00
njoly
26ecbbc0b8 Adjust cpu_switch(9) -> cpu_switchto(9) in xrefs. 2012-02-22 19:04:38 +00:00
plunky
555be44f20 document config_detach_children(9) 2012-02-17 09:44:12 +00:00
yamt
dbf67aa479 fix a description of PMAP_PREFER argument. 2012-02-16 12:10:10 +00:00
wiz
7f2677a5a5 Bump date for previous. 2012-02-13 13:23:29 +00:00
njoly
5e9c51f65d Fix copyin/copyout sections in xrefs. 2012-02-13 13:01:39 +00:00
wiz
f85441243b Add locking description to some functions.
Add FILES section referencing source code.
From Julian Fagir in PR 45988.
2012-02-13 12:49:35 +00:00
dholland
62cfdf3316 Quota-related docs fixes:
- Remove old quotactl(2); replace with new __quotactl(2).
- Document quota_getrestrictions(3), the semantic restriction codes,
  and quota_quotaon/off(3).
- Update VFS_QUOTACTL(9), which was still describing the pre-proplib API.

Approved by releng for the freeze.
2012-02-13 01:24:00 +00:00
wiz
8292e96d35 Bump date for previous, per mbalmer. 2012-02-08 09:32:47 +00:00
wiz
9f4d0385b5 xref rwlock instead of deprecated lockmgr.
From Julian Fagir in PR 45944.
2012-02-08 08:25:05 +00:00
drochner
75699fcff7 document pci_aprint_devinfo(9) (not the _fancy variant yet because
it is still experimental)
2012-01-30 19:20:13 +00:00
wiz
b377f34442 Fix word duplication in previous. 2012-01-28 13:26:12 +00:00
rmind
be9b34c425 Update ltsleep(9) man page. 2012-01-28 13:12:52 +00:00
rmind
f1f4283156 Replace pcq(9) with the implementation from ad@ and minor changes by me.
PR/40516, PR/45631.
2012-01-22 02:55:47 +00:00
cegger
a02b2c29fa fix secmodel implementation of CPU_UCODE.
ok wiz@ for the manpages
ok elad@
2012-01-17 10:47:26 +00:00
wiz
7af0bef7e5 Use more markup. Increase table width since longest string changed. 2012-01-13 23:12:32 +00:00
wiz
c18fbdcf42 New sentence, new line. Use more markup. Bump date for previous. 2012-01-13 23:09:51 +00:00
macallan
be47469bba document some rasops_info flags that have been added recently ( and not so
recently )
2012-01-13 16:50:28 +00:00
macallan
19ea84bf71 document recent changes 2012-01-13 16:06:20 +00:00
wiz
d6829e5b30 Bump date for previous. Move RCS Id to top of file. 2012-01-02 18:07:21 +00:00
rkujawa
5ec5041c48 Correct the include path. 2012-01-02 15:41:51 +00:00
rmind
32d19c916b Amend previous. 2011-12-23 20:53:31 +00:00
rmind
40947a78e4 Sync with reality a little. 2011-12-23 20:51:50 +00:00
wiz
707b092c0c New sentence, new line. Fix some markup. Bump date for previous. 2011-12-17 21:25:12 +00:00
wiz
1a45da71c8 Use more markup. Bump date for previous. 2011-12-17 21:24:40 +00:00
tls
6e1dd068e9 Separate /dev/random pseudodevice implemenation from kernel entropy pool
implementation.  Rewrite pseudodevice code to use cprng_strong(9).

The new pseudodevice is cloning, so each caller gets bits from a stream
generated with its own key.  Users of /dev/urandom get their generators
keyed on a "best effort" basis -- the kernel will rekey generators
whenever the entropy pool hits the high water mark -- while users of
/dev/random get their generators rekeyed every time key-length bits
are output.

The underlying cprng_strong API can use AES-256 or AES-128, but we use
AES-128 because of concerns about related-key attacks on AES-256.  This
improves performance (and reduces entropy pool depletion) significantly
for users of /dev/urandom but does cause users of /dev/random to rekey
twice as often.

Also fixes various bugs (including some missing locking and a reseed-counter
overflow in the CTR_DRBG code) found while testing this.

For long reads, this generator is approximately 20 times as fast as the
old generator (dd with bs=64K yields 53MB/sec on 2Ghz Core2 instead of
2.5MB/sec) and also uses a separate mutex per instance so concurrency
is greatly improved.  For reads of typical key sizes for modern
cryptosystems (16-32 bytes) performance is about the same as the old
code: a little better for 32 bytes, a little worse for 16 bytes.
2011-12-17 20:05:38 +00:00
njoly
2291fd1fba Kill extra El macro. 2011-12-09 10:58:51 +00:00
jym
0d4c568bb2 KAUTH_GENERIC_CANSEE is no more. 2011-12-04 23:59:25 +00:00
jym
bdb161bba3 GETPARAMS => GETPARAM
SETPARAMS => SETPARAM
2011-12-04 21:52:37 +00:00
jym
f3effc5ec2 Improvements in secmodel(9). Document secmodel_register(9), _deregister(9)
and _eval(9).

Add secmodel_extensions(9), and indicate the new sysctl(7) to let
ordinary users control the CPU affinity (user_set_cpu_affinity).
2011-12-04 21:08:37 +00:00
jym
d96481c6de - add the bool type for IMMEDIATE flag.
- minor tweak to the handler example: it leaks 't' (on stack)
  when passed to sysctl_lookup(9), as it copyout its content via
  sysctl_data. That would not be the case if CTLFLAG_IMMEDIATE flag
  was set for this node but the example does not preclude that.
2011-12-04 18:34:20 +00:00
tls
7db676852a Add (links for) missing "cross-references" from cprng(9). Some of the
functions replaced by cprng were never documented at all.
2011-11-29 03:40:41 +00:00
wiz
c9317429b9 Spelling. 2011-11-28 23:29:45 +00:00
wiz
b85c6e9d1b Whitespace fixes; new sentence, new line; better macro usage.
Sort SEE ALSO.
2011-11-28 23:27:59 +00:00
tls
2a139c3401 Add cprng(9) manual page, remove arc4random(9) manual page 2011-11-28 20:19:25 +00:00
jmcneill
f3aef68ba3 update audio(9) docs for audiomp changes 2011-11-23 23:11:56 +00:00