Re: Inquiry about the removal of flag O_NONBLOCK on /dev/random

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022/7/14 15:33, Guozihua (Scott) wrote:
Hi Community,

Recently we noticed the removal of flag O_NONBLOCK on /dev/random by commit 30c08efec888 ("random: make /dev/random be almost like /dev/urandom"), it seems that some of the open_source packages e.g. random_get_fd() of util-linux and __getrandom() of glibc. The man page for random() is not updated either.

Correction: I mean various open source packages are still using O_NONBLOCK flag while accessing /dev/random

Would anyone please kindly provide some background knowledge of this flag and it's removal? Thanks!

--
Best
GUO Zihua



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux