HomeSort by relevance Sort by last modified time
    Searched refs:SIGBUS (Results 1 - 25 of 276) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/none/tests/
bug234814.stdout.exp 1 I caught the SIGBUS signal!
2 I caught the SIGBUS signal!
3 I caught the SIGBUS signal!
bug234814.c 8 const char kSigbus[] = "I caught the SIGBUS signal!\n";
23 if (sigaction(SIGBUS, &sa, NULL) == -1) {
27 kill(getpid(), SIGBUS);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
3-3.c 15 2. Set the signal handler for SIGBUS to handler
17 4. raise SIGBUS
40 if (sigaction(SIGBUS, &act, 0) == -1) {
46 if (sigaction(SIGBUS, 0, &oact) == -1) {
52 if (raise(SIGBUS) == -1) {
1-3.c 17 2. Use sigaction to setup a signal handler for SIGBUS
18 3. Raise SIGBUS.
40 if (sigaction(SIGBUS, &act, 0) == -1) {
46 if (raise(SIGBUS) == -1) {
28-3.c 24 * -> register a signal handler for SIGBUS with signal().
65 if (signal(SIGBUS, handler_1) == SIG_ERR) {
85 ret = sigaction(SIGBUS, &sa, &save);
93 ret = raise(SIGBUS);
106 ret = sigaction(SIGBUS, &save, 0);
114 ret = raise(SIGBUS);
22-3.c 18 3. (child) Setup a signal handler for SIGBUS with SA_NODEFER set
20 4. (child) raise SIGBUS
22 6. (child, signal handler) if count is 1 then raise SIGBUS
44 printf("SIGBUS caught\n");
54 printf("Raising SIGBUS\n");
55 raise(SIGBUS);
56 printf("Returning from raising SIGBUS\n");
72 if (sigaction(SIGBUS, &act, 0) == -1) {
78 if (raise(SIGBUS) == -1) {
25-3.c 17 3. (child) Setup a signal handler for SIGBUS
18 4. (child) raise SIGBUS
20 6. (child, signal handler) if count is 1 then raise SIGBUS
41 printf("SIGBUS caught\n");
52 printf("Raising SIGBUS\n");
53 raise(SIGBUS);
54 printf("Returning from raising SIGBUS\n");
70 if (sigaction(SIGBUS, &act, 0) == -1) {
76 if (raise(SIGBUS) == -1) {
8-4.c 26 printf("Caught SIGBUS\n");
32 raise(SIGBUS);
46 sigaddset(&act.sa_mask, SIGBUS);
56 if (sigaction(SIGBUS, &act, 0) == -1) {
13-3.c 31 printf("Caught SIGBUS\n");
52 if (sigaction(SIGBUS, &act, 0) == -1) {
64 if (raise(SIGBUS) == -1) {
2-3.c 14 1. Call sigaction to set handler for SIGBUS to use handler1
15 2. Call sigaction again to set handler for SIGBUS to use handler2,
42 if (sigaction(SIGBUS, &act, 0) == -1) {
50 if (sigaction(SIGBUS, &act, &oact) == -1) {
4-3.c 16 3. (child) Setup a signal handler for SIGBUS with SIGKILL added to
18 4. (child) raise SIGBUS
54 if (sigaction(SIGBUS, &act, 0) == -1) {
60 if (raise(SIGBUS) == -1) {
6-3.c 9 setting the SA_INFO bit in the signal mask for SIGBUS will result
37 if (sigaction(SIGBUS, &act, 0) == -1) {
43 if (raise(SIGBUS) == -1) {
12-29.c 30 printf("Caught SIGBUS\n");
51 if (sigaction(SIGBUS, &act, 0) == -1) {
63 if (raise(SIGBUS) == -1) {
12-3.c 32 printf("Caught SIGBUS\n");
53 if (sigaction(SIGBUS, &act, 0) == -1) {
73 if (raise(SIGBUS) == -1) {
18-3.c 24 * -> register a handler for SIGBUS without SA_SIGINFO, and a known function
26 * -> raise SIGBUS, and check the function has been called.
68 /* Install the signal handler for SIGBUS */
69 ret = sigaction(SIGBUS, &sa, 0);
82 ret = raise(SIGBUS);
85 perror("Failed to raise SIGBUS");
4-29.c 16 3. (child) Setup a signal handler for SIGBUS with SIGSTOP added to
18 4. (child) raise SIGBUS
53 if (sigaction(SIGBUS, &act, 0) == -1) {
59 if (raise(SIGBUS) == -1) {
8-3.c 31 printf("Caught SIGBUS\n");
47 if (sigaction(SIGBUS, &act, 0) == -1) {
62 if (raise(SIGBUS) == -1) {
4-55.c 10 that attempting to add SIGKILL to the signal mask of SIGBUS will
33 if (sigaction(SIGBUS, &act, 0) == -1) {
4-81.c 10 that attempting to add SIGSTOP to the signal mask of SIGBUS will
33 if (sigaction(SIGBUS, &act, 0) == -1) {
19-3.c 25 * -> register a handler for SIGBUS with SA_SIGINFO, and a known function
27 * -> raise SIGBUS, and check the function has been called.
54 if (info->si_signo != SIGBUS) {
88 /* Install the signal handler for SIGBUS */
89 ret = sigaction(SIGBUS, &sa, 0);
102 ret = raise(SIGBUS);
105 perror("Failed to raise SIGBUS");
  /bionic/tests/
BionicDeathTest.h 32 for (int signo : { SIGABRT, SIGBUS, SIGSEGV, SIGSYS }) {
39 for (int signo : { SIGABRT, SIGBUS, SIGSEGV, SIGSYS }) {
  /external/chromium-trace/catapult/devil/devil/android/
device_signal.py 17 SIGBUS = 7 # Bus error
  /external/libmojo/third_party/catapult/devil/devil/android/
device_signal.py 17 SIGBUS = 7 # Bus error
  /external/compiler-rt/test/asan/TestCases/Posix/
allow_user_segv.cc 17 if (signum == SIGBUS)
48 // Let's install handlers for both SIGSEGV and SIGBUS, since pre-Yosemite
49 // 32-bit Darwin triggers SIGBUS instead.
51 if (InstallHandler(SIGBUS, &original_sigaction_sigbus)) return 1;
  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
13-1.c 13 (0 == SIGBUS) ||

Completed in 265 milliseconds

1 2 3 4 5 6 7 8 91011>>