| 1 |
/* COVERAGE: exit_group */ |
| 2 |
|
| 3 |
#define _GNU_SOURCE |
| 4 |
#include <unistd.h> |
| 5 |
#include <linux/unistd.h> |
| 6 |
#include <sys/syscall.h> |
| 7 |
|
| 8 |
int main () |
| 9 |
{ |
| 10 |
// There is no glibc wrapper for this syscall. |
| 11 |
syscall(SYS_exit_group, -1); |
| 12 |
//staptest// exit_group (-1) = |
| 13 |
return 0; |
| 14 |
} |