1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2024-07-22 01:58:46 -03:00

16 lines
252 B
C

#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;
}