You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "tests.h"
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
#include <asm/unistd.h>
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
assert(syscall(__NR_times, 0x42) == -1);
|
|
printf("times(0x42) = -1 EFAULT (%m)\n");
|
|
puts("+++ exited with 0 +++");
|
|
|
|
return 0;
|
|
}
|