Skip to content

/dev/random cleanup

Oliver Xymoron lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7/dev/random cleanup: 01-xfer-bugdrivers/char/random.c+14 -230 replies
2/7/dev/random cleanup: 02-untrusteddrivers/char/random.c include/linux/random.h include/linux/sysctl.h+68 -1050 replies
3/7/dev/random cleanup: 03-entropy-estimationdrivers/char/random.c include/linux/random.h+112 -1330 replies
4/7/dev/random cleanup: 04-pool-cleanupdrivers/char/random.c+96 -1290 replies
5/7/dev/random cleanup: 05-urandom-pooldrivers/char/random.c+57 -600 replies
6/7/dev/random cleanup: 06-update-usersarch/alpha/kernel/irq.c arch/arm/kernel/irq.c arch/cris/kernel/irq.c +33 more+57 -2120 replies
7/7/dev/random cleanup: 07-remove-legacydrivers/char/random.c include/linux/random.h+2 -2950 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] /dev/random cleanup

[resent with current l-k address]

Linus,

The following patches against 2.5.39 clean up the RNG support substantially. Please pay special attention to the first patch, which fixes two major bugs in the reseeding logic. They can be easily demonstrated by running 'cat /dev/random | hexdump' on a quiescent system. When it blocks, lightly tapping the mouse generates a large stream of additional output, despite very little entropy being added.

The second and third patches introduce my fixes for the more theoretical issues and should address all the issues that have been raised.

The fourth and fifth make the pool and reseeding logic much more clear and create a new pool for /dev/urandom that avoids starving /dev/random readers.

Six and seven propagate the new API to the rest of the kernel and remove dead code.

Please apply.

Signature · 1 line
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.."