Re: [patch] random.4: Update description about O_NONBLOCK flag

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

 



On 2022/8/3 15:27, Florian Weimer wrote:
* GUO Zihua:

diff --git a/man4/random.4 b/man4/random.4
index bea860e7f0d7..5b2094931449 100644
--- a/man4/random.4
+++ b/man4/random.4
@@ -68,7 +68,12 @@ high quality randomness, and can afford indeterminate delays.
  .PP
  When the entropy pool is empty, reads from \fI/dev/random\fP will block
  until additional environmental noise is gathered.
-If
+Since Linux 5.6, the
+.B O_NONBLOCK
+flag is removed as
+.I /dev/random
+will no longer block except during
+early boot process. In eariler versions, if
  .BR open (2)
  is called for
  .I /dev/random

Is ”is removed” correct here?  Should it be “is ignored” instead?

Thanks,
Florian

.

Hi Florian

Indeed this could be even more precise.

--
Best
GUO Zihua



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux