/external/valgrind/none/tests/ |
H A D | bug234814.stdout.exp | 1 I caught the SIGBUS signal! 2 I caught the SIGBUS signal! 3 I caught the SIGBUS signal!
|
H A D | bug234814.c | 8 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 D | 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) {
|
H A D | 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) {
|
H A D | 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);
|
H A D | 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) {
|
H A D | 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) {
|
H A D | 8-4.c | 26 printf("Caught SIGBUS\n"); 32 raise(SIGBUS); 46 sigaddset(&act.sa_mask, SIGBUS); 56 if (sigaction(SIGBUS, &act, 0) == -1) {
|
H A D | 13-3.c | 31 printf("Caught SIGBUS\n"); 52 if (sigaction(SIGBUS, &act, 0) == -1) { 64 if (raise(SIGBUS) == -1) {
|
H A D | 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) {
|
H A D | 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) {
|
H A D | 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) {
|
H A D | 12-29.c | 30 printf("Caught SIGBUS\n"); 51 if (sigaction(SIGBUS, &act, 0) == -1) { 63 if (raise(SIGBUS) == -1) {
|
H A D | 12-3.c | 32 printf("Caught SIGBUS\n"); 53 if (sigaction(SIGBUS, &act, 0) == -1) { 73 if (raise(SIGBUS) == -1) {
|
H A D | 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");
|
H A D | 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) {
|
H A D | 8-3.c | 31 printf("Caught SIGBUS\n"); 47 if (sigaction(SIGBUS, &act, 0) == -1) { 62 if (raise(SIGBUS) == -1) {
|
H A D | 4-55.c | 10 that attempting to add SIGKILL to the signal mask of SIGBUS will 33 if (sigaction(SIGBUS, &act, 0) == -1) {
|
H A D | 4-81.c | 10 that attempting to add SIGSTOP to the signal mask of SIGBUS will 33 if (sigaction(SIGBUS, &act, 0) == -1) {
|
H A D | 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");
|
/external/chromium-trace/catapult/devil/devil/android/ |
H A D | device_signal.py | 17 SIGBUS = 7 # Bus error variable
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
H A D | device_signal.py | 17 SIGBUS = 7 # Bus error variable
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | 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/ |
H A D | 13-1.c | 13 (0 == SIGBUS) ||
|
/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/ |
H A D | copy_paste_unaligned_common.c | 52 sigaction(SIGBUS, &signal_action, NULL);
|