[systemd-devel] [PATCH] missing: Correct and extend getrandom syscall defines
Cristian Rodríguez
crrodriguez at opensuse.org
Wed Oct 29 20:28:44 PDT 2014
El 29/10/14 a las #4, Lennart Poettering escribió:
> On Wed, 29.10.14 14:29, Cristian Rodríguez (crrodriguez at opensuse.org) wrote:
>
>> Add syscall numbers for 32 bit x86 and arm and Correct
>> the system call number for x86_64 (it is 318 not 278)
>
> Hmm? I did my testing on x86_64 3.18rc2, 278 is what worked
> here... Did you test 318? Where does that number come from?
#include <stdio.h>
#include <sys/syscall.h>
int main(void)
{
printf("%d", __NR_getrandom);
return 0;
}
that's with kernel headers from 3.17 in x86_64.
More information about the systemd-devel
mailing list