linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch v2] random.4: Update description about O_NONBLOCK flag
@ 2022-08-03  1:48 GUO Zihua
  0 siblings, 0 replies; only message in thread
From: GUO Zihua @ 2022-08-03  1:48 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>
---

v2:
  Fix formating issue.

---
 man4/random.4 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/man4/random.4 b/man4/random.4
index bea860e7f0d7..85fe97556d46 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] only message in thread

only message in thread, other threads:[~2022-08-03  1:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-03  1:48 [patch v2] random.4: Update description about O_NONBLOCK flag GUO Zihua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).