plateform
stringclasses
1 value
repo_name
stringclasses
2 values
name
stringlengths
1
78
ext
stringclasses
2 values
path
stringlengths
15
1.11k
size
int64
1
8.55M
source_encoding
stringclasses
11 values
md5
stringlengths
32
32
text
stringlengths
0
8.49M
google
android
3-25
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-25.c
1,559
utf_8
1b07723c820ea1fc0904a1e7618ec154
/* * source tree. Test case for assertion #3 of the sigaction system call that shows calling sigaction with a null act argument does not change the signal handler. Steps: 1. Initialize global variable to indicate handler has not been called 2. Set the signal handler for SIGXCPU to handler 3. Call sigacti...
google
android
4-47
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-47.c
2,007
utf_8
d0eb02ee03b7c2d010482a8d34a7ddbd
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGSYS with SIGSTOP added to ...
google
android
6-6
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-6.c
1,389
utf_8
ddd89f536fe46ad150cf2d43ce2f9dff
/* * source tree. Test case for assertion #5 of the sigaction system call that verifies setting the SA_INFO bit in the signal mask for SIGFPE will result in sa_sigaction identifying the signal-catching function. */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd....
google
android
17-25
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-25.c
2,201
utf_8
9ee98bb641f2cdf77a1e780662f073c0
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGXCPU signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to...
google
android
17-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-1.c
2,201
utf_8
f2601c7d4cbedd991d3ec1611a657b0b
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGABRT signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to...
google
android
1-10
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-10.c
1,512
utf_8
2729edde7ff973c76121cce960cb4f3c
/* * source tree. Test case for assertion #1 of the sigaction system call that shows sigaction (when used with a non-null act pointer) changes the action for a signal. Steps: 1. Initialize a global variable to indicate the signal handler has not been called. (A signal handler of the prototype "void...
google
android
6-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-21.c
1,389
utf_8
7d6fd5694a286919e44474b049530650
/* * source tree. Test case for assertion #5 of the sigaction system call that verifies setting the SA_INFO bit in the signal mask for SIGSYS will result in sa_sigaction identifying the signal-catching function. */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd....
google
android
12-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-4.c
1,988
utf_8
ce771e3d33ef0d49ff2705804780778b
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the alternate stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, and an alternate stack has been setup with sigaltstack(). ...
google
android
2-12
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-12.c
1,515
utf_8
37afc9ca24a5da7d0f036b99efe71f95
/* * source tree. Test case for assertion #2 of the sigaction system call that shows sigaction (when used with a non-null oact pointer) changes the action for a signal. Steps: 1. Call sigaction to set handler for SIGSEGV to use handler1 2. Call sigaction again to set handler for SIGSEGV to use handler2, ...
google
android
6-5
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-5.c
1,392
utf_8
a0872c7e03ab24ad0743ed677c390eb2
/* * source tree. Test case for assertion #5 of the sigaction system call that verifies setting the SA_INFO bit in the signal mask for SIGCONT will result in sa_sigaction identifying the signal-catching function. */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd...
google
android
17-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-4.c
2,201
utf_8
42666aa7ff594468bd7e7dbf0ede7a0b
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGCHLD signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to...
google
android
1-5
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-5.c
1,512
utf_8
043d3798619b5e8988105dce6c3b11a6
/* * source tree. Test case for assertion #1 of the sigaction system call that shows sigaction (when used with a non-null act pointer) changes the action for a signal. Steps: 1. Initialize a global variable to indicate the signal handler has not been called. (A signal handler of the prototype "void...
google
android
18-3
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-3.c
2,159
utf_8
f931a4be90ec780c64c5cdd1bae27aeb
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If SA_SIGINFO is not set in sa_flags, sa_handler is used as the signal * handling function. * * The steps are: * -> register a handler for SIGBUS without SA_SIGINFO, and a known function * ...
google
android
23-24
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-24.c
4,250
utf_8
af9eba802a3d657bdab1e91494c5c915
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * This sample test aims to check the following assertions: * * If SA_NODEFER is not set in sa_flags, the caught signal is added to the * thread's signal mask during the handler execution. * The steps are: * -> register a signal handler for SIGVTALRM * -> ...
google
android
4-51
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-51.c
2,011
utf_8
683d5172510c1cbfd9371b20f95dcab3
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGXCPU with SIGSTOP added to ...
google
android
19-24
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-24.c
2,609
utf_8
41b604b2352836c08a180f330fa2b588
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If SA_SIGINFO is set in sa_flags and Real Time Signals extension is supported, * sa_sigaction is used as the signal handling function. * * The steps are: * -> test for RTS extension * -> reg...
google
android
19-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-1.c
2,595
utf_8
9f3d581fe313a4cd610535bf3e3a7f81
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If SA_SIGINFO is set in sa_flags and Real Time Signals extension is supported, * sa_sigaction is used as the signal handling function. * * The steps are: * -> test for RTS extension * -> reg...
google
android
28-22
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-22.c
2,965
utf_8
6b2fddf69c3d2e30112a52b2d2e12729
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If the signal action was set with the signal() function, getting it into oact * then reinstalling it with act must be valid. * * The steps are: * -> register a signal handler for SIGTRAP wit...
google
android
23-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-1.c
4,236
utf_8
8ea06aeb58257edd2ef1000fce23cdf6
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * This sample test aims to check the following assertions: * * If SA_NODEFER is not set in sa_flags, the caught signal is added to the * thread's signal mask during the handler execution. * The steps are: * -> register a signal handler for SIGABRT * -> ra...
google
android
4-59
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-59.c
930
utf_8
7b199b0e2d59f3183de009d56ecfc607
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGHUP will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h"...
google
android
28-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-4.c
2,965
utf_8
1d445c0f20b69163acd96ebb5ea86461
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If the signal action was set with the signal() function, getting it into oact * then reinstalling it with act must be valid. * * The steps are: * -> register a signal handler for SIGCHLD wit...
google
android
12-37
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-37.c
1,765
utf_8
3398d215b153b3523ed1ab9afe019b3b
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, but a new stack has not be set by sigaltstack(). NOTE: This te...
google
android
8-19
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-19.c
1,701
utf_8
58e4483656b7b7ac3185ee3d06ddbaa2
/* * source tree. Test case for assertion #8 of the sigaction system call that verifies that if signals in the sa_mask (passed in the sigaction struct of the sigaction function call) are added to the process signal mask during execution of the signal-catching function. */ #include <signal.h> #include <stdio.h>...
google
android
22-7
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-7.c
2,492
utf_8
0cff7799095a2def75a497f785bc69ea
/* * source tree. Test case for assertion #22 of the sigaction system call that verifies that if the SA_NODEFER flag is set for a given signal, then when the sa_sigaction signal-catching function is entered, then the signal that was caught is not added to the signal mask by raising that signal in the signal ...
google
android
28-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-1.c
2,965
utf_8
8ca601b3e08ff079cb99dda016a218d6
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If the signal action was set with the signal() function, getting it into oact * then reinstalling it with act must be valid. * * The steps are: * -> register a signal handler for SIGABRT wit...
google
android
12-48
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-48.c
1,765
utf_8
320adfdc9762f71f433fef405bab73b8
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, but a new stack has not be set by sigaltstack(). NOTE: This te...
google
android
12-41
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-41.c
1,765
utf_8
2cf2c762208b9f399d0ee69c0fed3e46
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, but a new stack has not be set by sigaltstack(). NOTE: This te...
google
android
12-38
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-38.c
1,765
utf_8
aee7a09b4868d401e20c18d3e4d66d3d
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, but a new stack has not be set by sigaltstack(). NOTE: This te...
google
android
17-20
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-20.c
2,201
utf_8
0afaf56b86a6281c3af7f8109908cabd
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGPROF signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to...
google
android
4-23
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-23.c
1,920
utf_8
de79334752ed2c204f678ef73ed2b476
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGURG with SIGKILL added to ...
google
android
12-11
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-11.c
1,988
utf_8
0c19b4290f1ac2bbf0a7cec07dfbf583
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the alternate stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, and an alternate stack has been setup with sigaltstack(). ...
google
android
4-7
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-7.c
1,920
utf_8
db5e378f6fe858b6d44ca4aebeee1351
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGHUP with SIGKILL added to ...
google
android
3-11
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-11.c
1,559
utf_8
dfb7d4f6eefec1c7fc7feb400c90dc27
/* * source tree. Test case for assertion #3 of the sigaction system call that shows calling sigaction with a null act argument does not change the signal handler. Steps: 1. Initialize global variable to indicate handler has not been called 2. Set the signal handler for SIGQUIT to handler 3. Call sigacti...
google
android
23-25
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-25.c
4,236
utf_8
a5acdc95f9d653a690956cfc994e3035
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * This sample test aims to check the following assertions: * * If SA_NODEFER is not set in sa_flags, the caught signal is added to the * thread's signal mask during the handler execution. * The steps are: * -> register a signal handler for SIGXCPU * -> ra...
google
android
17-7
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-7.c
2,196
utf_8
182e9c603f7b9e5e213dac8404d84e0a
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGHUP signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to ...
google
android
12-42
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-42.c
1,765
utf_8
82c2fdd8868ba2083dd29871e1eaf11c
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, but a new stack has not be set by sigaltstack(). NOTE: This te...
google
android
2-3
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-3.c
1,511
utf_8
c10f15a3f0dc92f605c1cdd8a6dfa47b
/* * source tree. Test case for assertion #2 of the sigaction system call that shows sigaction (when used with a non-null oact pointer) changes the action for a signal. Steps: 1. Call sigaction to set handler for SIGBUS to use handler1 2. Call sigaction again to set handler for SIGBUS to use handler2, ...
google
android
4-17
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-17.c
1,924
utf_8
9e24b02cb2598f2e054bc47e0c0f3940
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGUSR1 with SIGKILL added to ...
google
android
13-12
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-12.c
1,712
utf_8
bf70a13fea0cbc7f8dc32c889a6a651a
/* * source tree. Test case for assertion #13 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is cleared in the sigaction.sa_flags parameter to the sigaction function call. NOTE: This test case does not attempt to verify the proper...
google
android
4-50
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-50.c
2,019
utf_8
36bb93e5c56738cf99504b1e99145ee0
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGVTALRM with SIGSTOP added to ...
google
android
12-24
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-24.c
1,994
utf_8
c7eccf0e1ccdca8b8766d2226b2a293f
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the alternate stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, and an alternate stack has been setup with sigaltstack(). ...
google
android
4-24
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-24.c
1,932
utf_8
8157e1acd18fe55b91a7b71ea117f56e
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGVTALRM with SIGKILL added to ...
google
android
18-12
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-12.c
2,165
utf_8
696e4ad49a7de6c9ba4af836cc79cb51
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If SA_SIGINFO is not set in sa_flags, sa_handler is used as the signal * handling function. * * The steps are: * -> register a handler for SIGSEGV without SA_SIGINFO, and a known function * ...
google
android
25-24
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-24.c
2,504
utf_8
c9843b698f2b55ef2a39bf6f09e457c4
/* * source tree. Test case for assertion #25 of the sigaction system call that verifies that when the sa_sigaction signal-catching function is entered, then the signal that was caught is added to the signal mask by raising that signal in the signal handler and verifying that the handler is not reentered. ...
google
android
1-2
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-2.c
1,512
utf_8
f68a8e5ef152cff3cae689ca69260fe1
/* * source tree. Test case for assertion #1 of the sigaction system call that shows sigaction (when used with a non-null act pointer) changes the action for a signal. Steps: 1. Initialize a global variable to indicate the signal handler has not been called. (A signal handler of the prototype "void...
google
android
18-26
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-26.c
2,165
utf_8
39b7e3ecb7e3c9c917b11773fca6a39f
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If SA_SIGINFO is not set in sa_flags, sa_handler is used as the signal * handling function. * * The steps are: * -> register a handler for SIGXFSZ without SA_SIGINFO, and a known function * ...
google
android
4-65
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-65.c
932
utf_8
db68a8601b7ee803bf66d8be1780c127
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGTERM will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h...
google
android
28-19
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-19.c
2,965
utf_8
e3ec7cd666a6a86c0674fe7769eb4537
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If the signal action was set with the signal() function, getting it into oact * then reinstalling it with act must be valid. * * The steps are: * -> register a signal handler for SIGPOLL wit...
google
android
23-10
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c
4,236
utf_8
ab92a138f6bb93ff4f43c581c0c5c5cd
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * This sample test aims to check the following assertions: * * If SA_NODEFER is not set in sa_flags, the caught signal is added to the * thread's signal mask during the handler execution. * The steps are: * -> register a signal handler for SIGPIPE * -> ra...
google
android
8-26
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-26.c
1,738
utf_8
0acf9d2bc1cb4c9ab91cbf4d82e87e74
/* * source tree. Test case for assertion #8 of the sigaction system call that verifies that if signals in the sa_mask (passed in the sigaction struct of the sigaction function call) are added to the process signal mask during execution of the signal-catching function. */ #include <signal.h> #include <stdio.h>...
google
android
19-16
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-16.c
2,595
utf_8
1037e8229b38364ae524e84fc72015a3
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If SA_SIGINFO is set in sa_flags and Real Time Signals extension is supported, * sa_sigaction is used as the signal handling function. * * The steps are: * -> test for RTS extension * -> reg...
google
android
8-5
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-5.c
1,738
utf_8
b5d3f98498a4928a76b8f06dfa7bbd9b
/* * source tree. Test case for assertion #8 of the sigaction system call that verifies that if signals in the sa_mask (passed in the sigaction struct of the sigaction function call) are added to the process signal mask during execution of the signal-catching function. */ #include <signal.h> #include <stdio.h>...
google
android
22-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-4.c
2,501
utf_8
43173cb1ea2afe0dab9f6d5701ee1a1e
/* * source tree. Test case for assertion #22 of the sigaction system call that verifies that if the SA_NODEFER flag is set for a given signal, then when the sa_sigaction signal-catching function is entered, then the signal that was caught is not added to the signal mask by raising that signal in the signal ...
google
android
3-13
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-13.c
1,559
utf_8
367fe4069649a398cf412215158d308e
/* * source tree. Test case for assertion #3 of the sigaction system call that shows calling sigaction with a null act argument does not change the signal handler. Steps: 1. Initialize global variable to indicate handler has not been called 2. Set the signal handler for SIGTERM to handler 3. Call sigacti...
google
android
4-58
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-58.c
930
utf_8
562ed6a9f71ec949cf259695ce07a240
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGFPE will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h"...
google
android
23-9
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-9.c
4,229
utf_8
2197b23ab833392b0b3830328ec55694
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * This sample test aims to check the following assertions: * * If SA_NODEFER is not set in sa_flags, the caught signal is added to the * thread's signal mask during the handler execution. * The steps are: * -> register a signal handler for SIGINT * -> rai...
google
android
13-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-21.c
1,709
utf_8
241d7033c6371cd87b3f1a9b2470e206
/* * source tree. Test case for assertion #13 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is cleared in the sigaction.sa_flags parameter to the sigaction function call. NOTE: This test case does not attempt to verify the proper...
google
android
12-15
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-15.c
1,988
utf_8
1a024c27981b114cd383a57c57d4caf7
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the alternate stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, and an alternate stack has been setup with sigaltstack(). ...
google
android
1-14
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-14.c
1,512
utf_8
76310c551e79dfa34ee40543d74f2084
/* * source tree. Test case for assertion #1 of the sigaction system call that shows sigaction (when used with a non-null act pointer) changes the action for a signal. Steps: 1. Initialize a global variable to indicate the signal handler has not been called. (A signal handler of the prototype "void...
google
android
23-20
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-20.c
4,236
utf_8
f7accdaac039c1d3700ee38151cbc5c2
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * This sample test aims to check the following assertions: * * If SA_NODEFER is not set in sa_flags, the caught signal is added to the * thread's signal mask during the handler execution. * The steps are: * -> register a signal handler for SIGPROF * -> ra...
google
android
4-102
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-102.c
936
utf_8
ce1d7ad408389ae8faf4c870ec9beadf
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP to the signal mask of SIGVTALRM will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest...
google
android
8-8
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-8.c
1,724
utf_8
df10ebbb4f5e9cfa7f186e0f00ecf441
/* * source tree. Test case for assertion #8 of the sigaction system call that verifies that if signals in the sa_mask (passed in the sigaction struct of the sigaction function call) are added to the process signal mask during execution of the signal-catching function. */ #include <signal.h> #include <stdio.h>...
google
android
12-17
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-17.c
1,988
utf_8
d98844089b9a09fd94c89570662f9cc1
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the alternate stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, and an alternate stack has been setup with sigaltstack(). ...
google
android
4-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-4.c
1,924
utf_8
97a436eb31215d39df0a159ad79e5d1a
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGCHLD with SIGKILL added to ...
google
android
2-17
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-17.c
1,515
utf_8
1a16198247d276daebe2a5ecc77e4222
/* * source tree. Test case for assertion #2 of the sigaction system call that shows sigaction (when used with a non-null oact pointer) changes the action for a signal. Steps: 1. Call sigaction to set handler for SIGUSR1 to use handler1 2. Call sigaction again to set handler for SIGUSR1 to use handler2, ...
google
android
4-83
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-83.c
932
utf_8
8b35b4eeae37262eedb4b9fe6f4ca7e3
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP to the signal mask of SIGCONT will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h...
google
android
19-5
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-5.c
2,595
utf_8
3db28d0a877d876a82888024fb331bcc
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If SA_SIGINFO is set in sa_flags and Real Time Signals extension is supported, * sa_sigaction is used as the signal handling function. * * The steps are: * -> test for RTS extension * -> reg...
google
android
1-22
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-22.c
1,512
utf_8
5abde2eebfe1529757acb678bbf56a61
/* * source tree. Test case for assertion #1 of the sigaction system call that shows sigaction (when used with a non-null act pointer) changes the action for a signal. Steps: 1. Initialize a global variable to indicate the signal handler has not been called. (A signal handler of the prototype "void...
google
android
12-27
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-27.c
1,765
utf_8
9fcb4ebb29b2400d395e542615dab283
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, but a new stack has not be set by sigaltstack(). NOTE: This te...
google
android
4-26
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-26.c
1,924
utf_8
c5b6e720f8627d9df04b332d89477e59
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGXFSZ with SIGKILL added to ...
google
android
3-15
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-15.c
1,559
utf_8
5e3e72d72678b5c0c76fada8e8826077
/* * source tree. Test case for assertion #3 of the sigaction system call that shows calling sigaction with a null act argument does not change the signal handler. Steps: 1. Initialize global variable to indicate handler has not been called 2. Set the signal handler for SIGTTIN to handler 3. Call sigacti...
google
android
17-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-21.c
2,196
utf_8
0f2e1f9abac7f73fbbf55e32c5a261ef
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGSYS signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to ...
google
android
17-10
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-10.c
2,201
utf_8
0b7d973cee32d26433a6ffb1ad3498e5
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGPIPE signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to...
google
android
4-30
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-30.c
2,011
utf_8
e64652cbcc70e17aff427734b8fd2ddb
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGCHLD with SIGSTOP added to ...
google
android
25-22
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-22.c
2,486
utf_8
eb003ecbe3e1e0650653677d695cd09a
/* * source tree. Test case for assertion #25 of the sigaction system call that verifies that when the sa_sigaction signal-catching function is entered, then the signal that was caught is added to the signal mask by raising that signal in the signal handler and verifying that the handler is not reentered. ...
google
android
17-24
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-24.c
2,211
utf_8
39cdc1e1ba1633e6104e1cfdb89a8662
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGVTALRM signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * ...
google
android
12-39
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-39.c
1,765
utf_8
519ca47a3b3ea42664a3ebde0d964f3c
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, but a new stack has not be set by sigaltstack(). NOTE: This te...
google
android
3-22
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-22.c
1,559
utf_8
2d5d04eb14c2779da5e6f91157f35e74
/* * source tree. Test case for assertion #3 of the sigaction system call that shows calling sigaction with a null act argument does not change the signal handler. Steps: 1. Initialize global variable to indicate handler has not been called 2. Set the signal handler for SIGTRAP to handler 3. Call sigacti...
google
android
12-33
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-33.c
1,762
utf_8
197bbd28b4b863037858159d1794679e
/* * source tree. Test case for assertion #12 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is set in the sigaction.sa_flags parameter to the sigaction function call, but a new stack has not be set by sigaltstack(). NOTE: This te...
google
android
4-74
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-74.c
932
utf_8
19166dd99c793be597532bd873a0d285
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGTRAP will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h...
google
android
13-3
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-3.c
1,709
utf_8
62c638deb3b12497f11322ebcc1f7013
/* * source tree. Test case for assertion #13 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is cleared in the sigaction.sa_flags parameter to the sigaction function call. NOTE: This test case does not attempt to verify the proper...
google
android
4-67
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-67.c
932
utf_8
aae819c4c9d52d4407e3f62272ebd982
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGTTIN will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h...
google
android
28-9
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-9.c
2,959
utf_8
e18a083f5f2bcc2df7149a9a6ac5c325
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If the signal action was set with the signal() function, getting it into oact * then reinstalling it with act must be valid. * * The steps are: * -> register a signal handler for SIGINT with...
google
android
4-94
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-94.c
932
utf_8
045c1d060caf6ef4f560ed92fa7e3614
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP to the signal mask of SIGTTOU will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h...
google
android
28-12
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-12.c
2,965
utf_8
98418e913dcd4dba93b0c4fe31a6d74f
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If the signal action was set with the signal() function, getting it into oact * then reinstalling it with act must be valid. * * The steps are: * -> register a signal handler for SIGSEGV wit...
google
android
4-90
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-90.c
932
utf_8
3d9e69fe984cbb499eec971abbf59922
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP to the signal mask of SIGSEGV will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h...
google
android
4-72
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-72.c
932
utf_8
82e606e5c262ab079ca79c46d4c16208
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGPROF will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h...
google
android
4-38
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-38.c
2,011
utf_8
1990c22677551919423b8e549fe2f632
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP can not be added to the signal mask for a signal handler. Steps: 1. Fork a new process 2. (parent) wait for child 3. (child) Setup a signal handler for SIGSEGV with SIGSTOP added to ...
google
android
13-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-1.c
1,712
utf_8
4fde2cf98571c9c9353844828d001afc
/* * source tree. Test case for assertion #13 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is cleared in the sigaction.sa_flags parameter to the sigaction function call. NOTE: This test case does not attempt to verify the proper...
google
android
23-23
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-23.c
4,229
utf_8
d126d4ef3aa59702e95b59ed514d9e19
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * This sample test aims to check the following assertions: * * If SA_NODEFER is not set in sa_flags, the caught signal is added to the * thread's signal mask during the handler execution. * The steps are: * -> register a signal handler for SIGURG * -> rai...
google
android
28-17
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-17.c
2,965
utf_8
4e2ea6cb0ccb1b5fca7ea71af41bb7f9
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If the signal action was set with the signal() function, getting it into oact * then reinstalling it with act must be valid. * * The steps are: * -> register a signal handler for SIGUSR1 wit...
google
android
13-22
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-22.c
1,712
utf_8
6bfec0a1c3c6038bfa637ab419e0400d
/* * source tree. Test case for assertion #13 of the sigaction system call that verifies signal-catching functions are executed on the current stack if the SA_ONSTACK flag is cleared in the sigaction.sa_flags parameter to the sigaction function call. NOTE: This test case does not attempt to verify the proper...
google
android
25-9
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-9.c
2,477
utf_8
1f2adfd55ba8e3f67651a5e9083cbc82
/* * source tree. Test case for assertion #25 of the sigaction system call that verifies that when the sa_sigaction signal-catching function is entered, then the signal that was caught is added to the signal mask by raising that signal in the signal handler and verifying that the handler is not reentered. ...
google
android
28-23
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-23.c
2,959
utf_8
109f3f718f3f1628d3e6dcae4c300ea5
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This sample test aims to check the following assertions: * * If the signal action was set with the signal() function, getting it into oact * then reinstalling it with act must be valid. * * The steps are: * -> register a signal handler for SIGURG with...
google
android
6-17
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-17.c
1,392
utf_8
44a0fb50f4978f92da26de04bd1f50df
/* * source tree. Test case for assertion #5 of the sigaction system call that verifies setting the SA_INFO bit in the signal mask for SIGUSR1 will result in sa_sigaction identifying the signal-catching function. */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd...
google
android
17-8
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-8.c
2,196
utf_8
5573c1f02462d3f116c2362c7e5b6f41
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGILL signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to ...
google
android
3-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-1.c
1,559
utf_8
48ac258d1ea9bd844c8d9417d2bde1f2
/* * source tree. Test case for assertion #3 of the sigaction system call that shows calling sigaction with a null act argument does not change the signal handler. Steps: 1. Initialize global variable to indicate handler has not been called 2. Set the signal handler for SIGABRT to handler 3. Call sigacti...
google
android
17-19
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-19.c
2,172
utf_8
4a77679f456728d3c43fe802e903f4c4
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGALRM signal is setup with the SA_RESTART flag cleared. * 12/18/02 - Adding in include of sys/time.h per * rodrigc REMOVE-THIS AT attbi DOT com input that it needs * to...
google
android
4-75
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-75.c
930
utf_8
6c26ec2215c146993b9c445da8c423c7
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGURG will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h"...
google
android
4-70
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-70.c
932
utf_8
99c72e6f1e91d15c60f5c59998d2f3d2
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGUSR2 will not result in sigaction returning -1 */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> #include "posixtest.h...