El 30/10/14 a las #4, Cristian Rodríguez escribió:
El 29/10/14 a las #4, Lennart Poettering escribió:
On Wed, 29.10.14 14:29, Cristian Rodríguez (crrodrig...@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.

and the kernel sources confirm it is 318 in x86_64

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/x86/syscalls/syscall_64.tbl

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to