iwings added the comment:
I did not report this to QNAP yet. but there's already a thread on their forum.
https://forum.qnap.com/viewtopic.php?t=124650 (registration required)
- ENOSYS is not listed in that man page, but it occurs.
- EPERM is not listed in that man page, but it can be returned
New submission from iwings:
On QNAP's Linux Station (lxc based virtual environment), getrandom() syscall
returns EPERM not ENOSYS when it's not available.
(HOST) uname -a
Linux **-NAS 3.12.6 #1 SMP Thu Sep 1 00:57:44 CST 2016 x86_64 unknown
(HOST) /lib64/libc-2.19.so
GNU C Library (Ubuntu