Overview

Request 510283 accepted

u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch
If arc4random_buf() is not available for generating cookies:
* use getentropy(), if available (which was only recently added to
glibc)
* use getrandom() via syscall(), if available (there was no glibc
wrapper for this syscall for a long time)
* if all else fails, directly read from /dev/urandom as before, but
employ O_CLOEXEC, do an OsAbort() in case the random data couldn't be
read to avoid unsecure situations. Don't know if that's too hard a
measure but it shouldn't actually occur except on maximum number of
FDs reached
(bsc#1025084)

Request History
Stefan Dirsch's avatar

sndirsch created request

u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch
If arc4random_buf() is not available for generating cookies:
* use getentropy(), if available (which was only recently added to
glibc)
* use getrandom() via syscall(), if available (there was no glibc
wrapper for this syscall for a long time)
* if all else fails, directly read from /dev/urandom as before, but
employ O_CLOEXEC, do an OsAbort() in case the random data couldn't be
read to avoid unsecure situations. Don't know if that's too hard a
measure but it shouldn't actually occur except on maximum number of
FDs reached
(bsc#1025084)


Maintenance Bot's avatar

maintbot added xorg-x11-server as a reviewer

Submission for xorg-x11-server by someone who is not maintainer in the devel project (X11:XOrg). Please review


Maintenance Bot's avatar

maintbot accepted review

accepted


Stefan Dirsch's avatar

sndirsch accepted review

Looks good! ;-)


Stefan Dirsch's avatar

sndirsch approved review

Looks good! ;-)


Andreas Stieger's avatar

AndreasStieger moved maintenance target to openSUSE:Maintenance:6980


Andreas Stieger's avatar

AndreasStieger accepted request

ok

openSUSE Build Service is sponsored by