HomeSort by relevance Sort by last modified time
    Searched refs:SIGUSR1 (Results 76 - 100 of 603) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
12-43.c 30 printf("Caught SIGUSR1\n");
51 if (sigaction(SIGUSR1, &act, 0) == -1) {
63 if (raise(SIGUSR1) == -1) {
18-17.c 24 * -> register a handler for SIGUSR1 without SA_SIGINFO, and a known function
26 * -> raise SIGUSR1, and check the function has been called.
68 /* Install the signal handler for SIGUSR1 */
69 ret = sigaction(SIGUSR1, &sa, 0);
82 ret = raise(SIGUSR1);
85 perror("Failed to raise SIGUSR1");
4-43.c 16 3. (child) Setup a signal handler for SIGUSR1 with SIGSTOP added to
18 4. (child) raise SIGUSR1
53 if (sigaction(SIGUSR1, &act, 0) == -1) {
59 if (raise(SIGUSR1) == -1) {
8-17.c 31 printf("Caught SIGUSR1\n");
47 if (sigaction(SIGUSR1, &act, 0) == -1) {
62 if (raise(SIGUSR1) == -1) {
8-19.c 46 if (sigaction(SIGUSR1, &act, 0) == -1) {
62 if (raise(SIGUSR1) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/
5-1.c 20 #define SIGTOTEST SIGUSR1
36 if (sigaction(SIGUSR1, &act, 0) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigsuspend/
6-1.c 13 2. From the parent, send the child a SIGUSR1 signal so that the child returns from
51 if (sigaction(SIGUSR1, &act, 0) == -1) {
74 printf("parent sending child a SIGUSR1 signal\n");
75 kill(pid, SIGUSR1);
  /external/strace/tests/
qual_inject-error-signal.c 54 if (sigaction(SIGUSR1, &act, NULL))
59 sigaddset(&mask, SIGUSR1);
rt_sigreturn.c 66 if (sigaction(SIGUSR1, &sa, NULL))
69 if (raise(SIGUSR1))
sigreturn.c 73 if (signal(SIGUSR1, handler) == SIG_ERR)
76 if (raise(SIGUSR1))
  /external/strace/tests-m32/
qual_inject-error-signal.c 54 if (sigaction(SIGUSR1, &act, NULL))
59 sigaddset(&mask, SIGUSR1);
rt_sigreturn.c 66 if (sigaction(SIGUSR1, &sa, NULL))
69 if (raise(SIGUSR1))
sigreturn.c 73 if (signal(SIGUSR1, handler) == SIG_ERR)
76 if (raise(SIGUSR1))
  /external/strace/tests-mx32/
qual_inject-error-signal.c 54 if (sigaction(SIGUSR1, &act, NULL))
59 sigaddset(&mask, SIGUSR1);
rt_sigreturn.c 66 if (sigaction(SIGUSR1, &sa, NULL))
69 if (raise(SIGUSR1))
sigreturn.c 73 if (signal(SIGUSR1, handler) == SIG_ERR)
76 if (raise(SIGUSR1))
  /external/valgrind/memcheck/tests/
sigaltstack.c 35 res = sigaction(SIGUSR1,&act,0);
38 raise(SIGUSR1);
  /external/valgrind/none/tests/
syscall-restart1.c 41 sigaction(SIGUSR1, &sa, NULL);
54 kill(pid, SIGUSR1);
syscall-restart2.c 41 sigaction(SIGUSR1, &sa, NULL);
54 kill(pid, SIGUSR1);
  /prebuilts/go/darwin-x86/misc/cgo/testsanitizers/src/
tsan11.go 39 if (sigaction(SIGUSR1, &sa, NULL) != 0) {
40 perror("failed to register SIGUSR1 handler");
51 C.register_handler(C.int(syscall.SIGUSR1))
52 syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
  /prebuilts/go/linux-x86/misc/cgo/testsanitizers/src/
tsan11.go 39 if (sigaction(SIGUSR1, &sa, NULL) != 0) {
40 perror("failed to register SIGUSR1 handler");
51 C.register_handler(C.int(syscall.SIGUSR1))
52 syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
  /external/ltp/testcases/kernel/controllers/cpuctl_fj/
run_cpuctl_test_fj.sh 289 /bin/kill -s SIGUSR1 $pid
291 /bin/kill -s SIGUSR1 $pid
317 /bin/kill -s SIGUSR1 $pid
319 /bin/kill -s SIGUSR1 $pid
345 /bin/kill -s SIGUSR1 $pid
347 /bin/kill -s SIGUSR1 $pid
373 /bin/kill -s SIGUSR1 $pid
375 /bin/kill -s SIGUSR1 $pid
401 /bin/kill -s SIGUSR1 $pid
403 /bin/kill -s SIGUSR1 $pi
    [all...]
  /external/ltp/testcases/kernel/io/disktest/
signals.c 105 case SIGUSR1:
107 handled_signal = SIGUSR1;
142 signal(SIGUSR1, sig_handler);
149 sigaddset(&signal_set, SIGUSR1);
  /external/ltp/testcases/kernel/syscalls/sigaction/
sigaction01.c 28 * Use sigaction(2) to set a signal handler for SIGUSR1 with a certain
39 * 2) Set SA_RESETHAND. When the handler runs, SIGUSR1 should be
44 * set to include SIGUSR1. Ensure that SIGUSR1 is indeed masked even if
98 err = sigaction(SIGUSR1, NULL, &oact);
189 * Establish a signal handler for SIGUSR1 with the specified flags and
201 TEST(sigaction(SIGUSR1, &sa, NULL));
253 (void)kill(getpid(), SIGUSR1);
259 SIGUSR1);
  /external/ltp/testcases/kernel/syscalls/sigaltstack/
sigaltstack01.c 34 * Pause for SIGUSR1 if option specified.
117 /* Set up the signal handler for 'SIGUSR1' */
120 if ((sigaction(SIGUSR1, &act, &oact)) == -1) {
128 kill(my_pid, SIGUSR1);
172 * Capture SIGUSR1 on the main stack.
187 /* Capture SIGUSR1 on the main stack */
189 if ((sigaction(SIGUSR1, &act, &oact)) == -1) {
195 kill(my_pid, SIGUSR1);
213 * This functions is called when the signal 'SIGUSR1' is delivered to

Completed in 456 milliseconds

1 2 34 5 6 7 8 91011>>