Hi Cedric,
    Thanks for your reminding. I understand.
Maybe it is better to add the following in these cases.

if (tst_kvercmp(3, 17, 0) < 0)
        tst_brkm(TCONF, NULL, "getrandom is not supported");

    Regards.
        Yuan

On 2015/6/25 14:32, Cédric Hnyda wrote:
Hi!

On 06/25/2015 04:50 AM, Yuan Sun wrote:
> Hi Cedric,
>      I encounter the following error in ubuntu14.04. Your patch
> "syscall/getrandom: Add tests for getrandom" leads to the error.
>      Do I need to install new libraries?


getrandom() was introduced in version 3.17 of the Linux kernel.
Ubuntu 14.04 gets shipped with kernel 3.13.

Try to upgrade your kernel to a more recent version to get the syscall.

Best,
Cédric Hnyda