Searched refs:SIGBUS (Results 1 - 25 of 140) sorted by relevance

123456

/external/valgrind/none/tests/
H A Dbug234814.stdout.exp1 I caught the SIGBUS signal!
2 I caught the SIGBUS signal!
3 I caught the SIGBUS signal!
H A Dbug234814.c8 const char kSigbus[] = "I caught the SIGBUS signal!\n";
23 if (sigaction(SIGBUS, &sa, NULL) == -1) {
27 kill(getpid(), SIGBUS); local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D3-3.c15 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) {
H A D1-3.c17 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) {
H A D28-3.c24 * -> 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);
H A D22-3.c18 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) {
H A D25-3.c17 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) {
H A D8-4.c26 printf("Caught SIGBUS\n");
32 raise(SIGBUS);
46 sigaddset(&act.sa_mask, SIGBUS);
56 if (sigaction(SIGBUS, &act, 0) == -1) {
H A D13-3.c31 printf("Caught SIGBUS\n");
52 if (sigaction(SIGBUS, &act, 0) == -1) {
64 if (raise(SIGBUS) == -1) {
H A D2-3.c14 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) {
H A D4-3.c16 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) {
H A D6-3.c9 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) {
H A D12-29.c30 printf("Caught SIGBUS\n");
51 if (sigaction(SIGBUS, &act, 0) == -1) {
63 if (raise(SIGBUS) == -1) {
H A D12-3.c32 printf("Caught SIGBUS\n");
53 if (sigaction(SIGBUS, &act, 0) == -1) {
73 if (raise(SIGBUS) == -1) {
H A D18-3.c24 * -> 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");
H A D4-29.c16 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) {
H A D8-3.c31 printf("Caught SIGBUS\n");
47 if (sigaction(SIGBUS, &act, 0) == -1) {
62 if (raise(SIGBUS) == -1) {
H A D4-55.c10 that attempting to add SIGKILL to the signal mask of SIGBUS will
33 if (sigaction(SIGBUS, &act, 0) == -1) {
H A D4-81.c10 that attempting to add SIGSTOP to the signal mask of SIGBUS will
33 if (sigaction(SIGBUS, &act, 0) == -1) {
H A D19-3.c25 * -> 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");
/external/chromium-trace/catapult/devil/devil/android/
H A Ddevice_signal.py17 SIGBUS = 7 # Bus error variable
/external/libmojo/third_party/catapult/devil/devil/android/
H A Ddevice_signal.py17 SIGBUS = 7 # Bus error variable
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dallow_user_segv.cc17 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/
H A D13-1.c13 (0 == SIGBUS) ||
/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/
H A Dcopy_paste_unaligned_common.c52 sigaction(SIGBUS, &signal_action, NULL);

Completed in 651 milliseconds

123456