public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] random.4: Update description about O_NONBLOCK flag
@ 2022-08-02  3:53 GUO Zihua
  2022-08-02 11:15 ` Alejandro Colomar
  2022-08-03  7:27 ` Florian Weimer
  0 siblings, 2 replies; 4+ messages in thread
From: GUO Zihua @ 2022-08-02  3:53 UTC (permalink / raw)
  To: linux-man; +Cc: alx.manpages, mtk.manpages, Jason, ebiggers

The O_NONBLOCK flag has been removed since Linux 5.6 and this patch
states this change in man page.

The commit that introduce this change in the Linux kernel is
30c08efec888 ("random: make /dev/random be almost like /dev/urandom")

Signed-off-by: GUO Zihua <guozihua@huawei.com>
---
 man4/random.4 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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
-- 
2.36.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-03  7:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-02  3:53 [patch] random.4: Update description about O_NONBLOCK flag GUO Zihua
2022-08-02 11:15 ` Alejandro Colomar
2022-08-03  7:27 ` Florian Weimer
2022-08-03  7:43   ` Guozihua (Scott)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox