Commit Graph

13868 Commits

Author SHA1 Message Date
drochner
9d939b40a9 fix confusing references, from wiz 2012-01-09 16:17:37 +00:00
skrll
d2845d9eb6 Add a mkboot(8) man page. 2012-01-09 16:04:45 +00:00
drochner
d107562abc Make FAST_IPSEC the default IPSEC implementation which is built
into the kernel if the "IPSEC" kernel option is given.
The old implementation is still available as KAME_IPSEC.
Do some minimal manpage adjustment -- kame_ipsec(4) is a copy
of the old ipsec(4) and the latter is now a copy of fast_ipsec(4).
2012-01-09 15:16:30 +00:00
dholland
eb3306a822 Sentences should verbs. From Snader_LB 2012-01-08 04:01:12 +00:00
yamt
9753d46d1c install tprof related commands and man pages. 2012-01-04 16:25:13 +00:00
yamt
db1f5cf7f2 add a missing comma. 2012-01-04 15:48:54 +00:00
wiz
d6829e5b30 Bump date for previous. Move RCS Id to top of file. 2012-01-02 18:07:21 +00:00
wiz
adca3c43ee New sentence, new line. Bump date for previous. 2012-01-02 18:02:00 +00:00
rkujawa
5ec5041c48 Correct the include path. 2012-01-02 15:41:51 +00:00
phx
c3ed2ca16a Add the description for the "mem:<address>" bootname. 2012-01-01 14:48:40 +00:00
riz
df7c01333c Fix typos and style glitches. Remove outdated info about only
Ethernet, SLIP, and PPP being supported, and no network types with
variable-length headers (such as 802.11).
Document BIOCSRSIG and BIOCGRSIG.

From Guy Harris in PR#40703.
2011-12-31 20:16:41 +00:00
alnsn
209a072285 Document that overflow in P[X+k:n] terminates a filter program.
Based on a discussion with Christos on source-changes-d.
2011-12-30 14:12:15 +00:00
wiz
59200cfca6 Remove duplicate RCS Id. New sentence, new line. 2011-12-27 21:47:04 +00:00
christos
cd61872876 PR/45750: Alexander Nasonov: Type of k in bpf_insn is bpf(9) is different
from sys/net/bpf.h
2011-12-27 21:24:25 +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
wiz
612e69e384 New sentence, new line.
Bump date for previous.
2011-12-17 21:21:59 +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
79579731df Fix title. 2011-12-14 13:24:14 +00:00
njoly
2291fd1fba Kill extra El macro. 2011-12-09 10:58:51 +00:00
wiz
a4d43dc119 Remove trailing whitespace and fix a typo. 2011-12-05 10:36:39 +00:00
jym
0d4c568bb2 KAUTH_GENERIC_CANSEE is no more. 2011-12-04 23:59:25 +00:00
jym
47c04e7b5a Update secmodel_examples to better describe the secmodel(9) API. 2011-12-04 23:55:36 +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
rkujawa
617d114527 Extend the mppb(4) man page. 2011-12-03 23:09:42 +00:00
wiz
a0f75bc721 Wording improvements. 2011-12-02 14:38:51 +00:00
yamt
43a6649cf8 some man pages 2011-12-02 12:17:51 +00:00
njoly
8250293e5f Regen to catch up recent changes (x68k/pow and iscsi). 2011-12-02 08:50:18 +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
wiz
8ff9859919 New sentence, new line. Use more markup. Bump date for previous. 2011-11-28 09:38:45 +00:00
tls
a031ce7187 Add support for passing saved entropy (random seed file) to the kernel
from the bootloader.  This can fix the problem of poor quality keys
for other kernel modules which call arc4random() early in kernel startup
(NFS startup, in particular, causes this).

We continue to rely on the etc/rc.d/random_seed script to save entropy
to the seed file at shutdown and erase the seed file at startup.

Boot loader support implemented only for i386 and amd64 ports for now but
it should be easy for other ports to do the same or similar.
2011-11-28 07:56:53 +00:00
skrll
052320efd5 Typo 2011-11-27 09:07:11 +00:00
isaki
9289c438ac Add powsw(4) for x68k power switch. It substitutes for a part about
power switch handler of pow(4) deleted before.
Benefits than pow(4):
- separate a front switch (= powsw0) and an EXPWON line (= powsw1)
  completely. Only powsw0 is enabled in GENERIC by default.
- prevent chattering in some hardware individuals.
  thank you for a report and a test: Yasushi Oshima and Y.Sugahara.
2011-11-27 09:00:32 +00:00
wiz
48d5e162f9 Various improvements. 2011-11-26 22:36:14 +00:00
minoura
f602c9092c Add vioif(4) and viomb(4). 2011-11-26 15:04:45 +00:00
skrll
0df379aa98 Switch hppa to gdb 7. 2011-11-25 22:03:42 +00:00
jmcneill
f3aef68ba3 update audio(9) docs for audiomp changes 2011-11-23 23:11:56 +00:00
apb
6c03a4739d Use :Q to deal with the case that CLEANFILES or CLEANDIRFILES
contains quoted substrings (such as file names with spaces).
Problem reported by Joseph Koshy, who also provided the
important part of the fix.
2011-11-22 18:25:48 +00:00
wiz
ee97be87e2 New sentence, new line. 2011-11-21 15:11:45 +00:00
njoly
c76e625f30 Switch from .nf/.fi groff macros to .Bd -literal/.Ed blocks.
While here, convert .sp macro to .Pp.

ok wiz@.
2011-11-21 14:27:41 +00:00
mbalmer
d03cf6c291 One more. 2011-11-19 17:40:19 +00:00
mbalmer
dbea318e33 Add a few. 2011-11-19 17:38:58 +00:00
isaki
2ccb98927e Obsolete pow(4) and rtcalarm(8). Discussed in port-x68k@.
Probably the combination of pow(4) ioctl and rtcalarm(8) does
not work for a long time, and nobody uses them.
I'll rewrite a part about power switch handler as a new device.
2011-11-19 12:27:42 +00:00