[libcxx-commits] [PATCH] D94571: [libcxx] random_device, for OpenBSD specify optimal entropy properties

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 19 11:48:25 PST 2021


ldionne added a comment.

In D94571#2506880 <https://reviews.llvm.org/D94571#2506880>, @brad wrote:

> @ldionne I don't understand how a Linux specific diff would help with another operating system. I could update this after D94953 <https://reviews.llvm.org/D94953> goes in and eliminate the first chunk.

I thought OpenBSD and Linux might behave the same in that regard. It does look like OpenBSD has `ioctl`, but not `RNDGETENTCNT`: https://man.openbsd.org/ioctl.2. Can you confirm this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94571/new/

https://reviews.llvm.org/D94571



More information about the libcxx-commits mailing list