Lines Matching full:sa
48 struct real_sigaction sa; in main() local
60 memset(&sa, 0, sizeof(sa)); in main()
61 sa.handler = handler_with_siginfo; in main()
62 sa.flags = SA_SIGINFO; in main()
63 sa.restorer = NULL; /* request kernel-provided restorer */ in main()
65 printf("[RUN]\tRaise a signal, SA_SIGINFO, sa.restorer == NULL\n"); in main()
67 if (syscall(SYS_rt_sigaction, SIGUSR1, &sa, NULL, 8) != 0) in main()
79 printf("[RUN]\tRaise a signal, !SA_SIGINFO, sa.restorer == NULL\n"); in main()
81 sa.flags = 0; in main()
82 sa.handler = handler_without_siginfo; in main()
83 if (syscall(SYS_sigaction, SIGUSR1, &sa, 0) != 0) in main()