Inquiry about the removal of flag O_NONBLOCK on /dev/random
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Inquiry about the removal of flag O_NONBLOCK on /dev/random
- From: "Guozihua (Scott)" <guozihua@xxxxxxxxxx>
- Date: Thu, 14 Jul 2022 15:33:47 +0800
- Cc: <luto@xxxxxxxxxx>, <tytso@xxxxxxx>
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0
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.
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]