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

From: Russell King (rmk@arm.linux.org.uk)
Date: Tue Aug 08 2000 - 11:14:19 EST


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/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:15 EST