note a leak that needs fixing eventually
[trinity.git] / syscalls / exit.c
blob7c7cdf34b9d2ad0cb35418dad684332b02c7797a
1 /*
2 * SYSCALL_DEFINE1(exit, int, error_code)
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_exit = {
7 .name = "exit",
8 .num_args = 1,
9 .flags = AVOID_SYSCALL, // No args to fuzz, confuses fuzzer
10 .arg1name = "error_code",
11 .arg1type = ARG_RANDOM_LONG,