Lines Matching +full:sig +full:- +full:dir
17 # --- syscall (0, FreeBSD ELF64, nosys), rip = 0x82222e7da, rsp = 0x820d68d88, rbp = 0x820d68f00 ---
22 # FreeBSD 14.0-CURRENT #0 main-n255847-d46174cd8838b: Sat May 28 20:56:08 CEST 2022
26 [ `uname -p` != "amd64" ] && exit 0
32 // Reported-by: syzbot+6c484f116b9dc88f7db1@syzkaller.appspotmail.com
59 static void segv_handler(int sig, siginfo_t* info, void* ctx __unused)
61 uintptr_t addr = (uintptr_t)info->si_addr;
66 if (sig == SIGBUS) {
72 exit(sig);
100 while (waitpid(-1, status, 0) != pid) {
129 static void __attribute__((noinline)) remove_dir(const char* dir)
131 DIR* dp = opendir(dir);
134 if (rmdir(dir))
142 if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0)
145 snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name);
157 if (rmdir(dir))
185 if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
188 if (current_time_ms() - start < 5000) {
204 if (res != -1)
249 syscall(SYS_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x1012ul, -1, 0ul);
256 mycc -o /tmp/syzkaller57 -Wall -Wextra -O0 /tmp/syzkaller57.c || exit 1
258 kldstat | grep -q sctp || { kldload sctp.ko && loaded=1; }
264 rm -rf /tmp/syzkaller57 /tmp/syzkaller57.c /tmp/syzkaller57.core \