Closed
Description
Hi,
Rust code panics on linux 3.10:
[admin@lcstr-qnap lanlord]# uname -a
Linux lcstr-qnap 3.10.20-al-2.5.3 #39 SMP PREEMPT Tue Jul 10 04:05:13 CST 2018 armv7l unknown
Panic message:
thread 'main' panicked at 'unexpected getrandom error: 14', libstd/sys/unix/rand.rs:56:21
Rustc from rustup, version 1.27.0
The code is running on Qnap NAS
Rust core library relies on SYS_getrandom
which was introduced only in kernel version 3.4.17
.