Re: /dev/random blocks forever on 2.2.12 and 2.2.16

Russell King (rmk@arm.linux.org.uk)
Tue, 8 Aug 2000 17:14:19 +0100 (BST)


Oscar Roozen writes:
> From signal.h:
> #define SA_SAMPLE_RANDOM SA_RESTART
>
> I'm getting scared now... This means to me that setting SA_RESTART also
> sets SAMPLE_RANDOM and vice versa.

SA_RESTART is the "signal" version of that flag, and is not used for
interrupt handlers (only used by userspace).
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/