[Bug 1452402] [NEW] getrandom() stucks when process has no read permission on /dev/urandom

2015-05-06 Thread Mibori Shante
Public bug reported: ubuntu-core/15.04/edge armhf getrandom() stucks when process has no read permission on /dev/urandom. It should return an error. Easy example to reproduce in golang: // package main import ( crypto/rand io ) func main() { p :=

[Bug 1452402] [NEW] getrandom() stucks when process has no read permission on /dev/urandom

2015-05-06 Thread Mibori Shante
Public bug reported: ubuntu-core/15.04/edge armhf getrandom() stucks when process has no read permission on /dev/urandom. It should return an error. Easy example to reproduce in golang: // package main import ( crypto/rand io ) func main() { p :=