WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
170096
[WTF][Linux] Use getrandom once unsupported Linux kernels disappear
https://bugs.webkit.org/show_bug.cgi?id=170096
Summary
[WTF][Linux] Use getrandom once unsupported Linux kernels disappear
Yusuke Suzuki
Reported
2017-03-25 02:09:18 PDT
We can use getrandom after 3.17. I think Ubuntu 14.04's kernel is a bit old...
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2017-03-25 07:55:39 PDT
Kernel is not the limiting factor here, but glibc, which took a very long time to add support for getrandom(). Unless you want to use getrandom() via syscall() directly.
Yusuke Suzuki
Comment 2
2017-03-25 08:04:30 PDT
(In reply to Michael Catanzaro from
comment #1
)
> Kernel is not the limiting factor here, but glibc, which took a very long > time to add support for getrandom(). Unless you want to use getrandom() via > syscall() directly.
If so, syscall(SYS_getrandom, buf, length, 0) should work :)
Yusuke Suzuki
Comment 3
2017-03-28 12:28:23 PDT
OK, so, I'll do this in RandomDevice patch. *** This bug has been marked as a duplicate of
bug 170095
***
Yusuke Suzuki
Comment 4
2017-03-28 13:20:33 PDT
Buildbot seems not supporting SYS_getrandom.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug