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-8
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-8.c
1,554
utf_8
2712ade78b111d918f7da77fb1fd4a5d
/* * 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 SIGILL to handler 3. Call sigactio...
google
android
17-5
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-5.c
2,201
utf_8
09a1a5c1b0e47ebc5112a59168dcc224
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGCONT 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-73
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-73.c
930
utf_8
76a47de5f66467c55f99ca019d15ae67
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGSYS 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-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-4.c
2,595
utf_8
ecf9d571a6719b0d73014553f21a2230
/* * 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
22-20
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-20.c
2,501
utf_8
dd9b9be2d8125b4701e6f24cc3c1d3cb
/* * 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
4-68
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-68.c
932
utf_8
a20c9ea08fd8eb73d211c18713ae38a7
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL 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
12-46
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-46.c
1,765
utf_8
c780118c20f78bd4f5c6867c7a307078
/* * 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
19-23
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-23.c
2,588
utf_8
2457e90e857e9eaeee99b5a6e2e07847
/* * 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
4-16
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-16.c
1,924
utf_8
dbb15b03b99d1b074e9a69cc8edf2450
/* * 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 SIGTTOU with SIGKILL added to ...
google
android
1-16
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-16.c
1,512
utf_8
4aff565197f65fe7e16144291b18d19c
/* * 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
4-52
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-52.c
2,011
utf_8
54c4551f010c62fe8f075b96dfba6ffb
/* * 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 SIGXFSZ with SIGSTOP added to ...
google
android
23-18
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-18.c
4,236
utf_8
eb817b842581ce9f125965adaadbca3d
/* * 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 SIGUSR2 * -> ra...
google
android
4-86
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-86.c
930
utf_8
ea8dc69a6b93ee6332d4278f780a89a0
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP to the signal mask of SIGILL 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
3-7
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-7.c
1,554
utf_8
dfd32c0db5fc4c9bfa71fa455178f3b1
/* * 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 SIGHUP to handler 3. Call sigactio...
google
android
23-7
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-7.c
4,229
utf_8
a9cae67691761a02bb198ca2aecb5869
/* * 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 SIGHUP * -> rai...
google
android
6-23
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-23.c
1,389
utf_8
2e53330fe18188bf9daa4afacd03bc0f
/* * source tree. Test case for assertion #5 of the sigaction system call that verifies setting the SA_INFO bit in the signal mask for SIGURG 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
1-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-1.c
1,512
utf_8
7697ea9bc885a1ffe56f6be89f80d8e6
/* * 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
8-2
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-2.c
1,738
utf_8
2e38686ed3748132cbd007a7605f0d61
/* * 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
4-36
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-36.c
2,011
utf_8
cb48bf54d795b6eecdc122f65e5ab0f3
/* * 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 SIGPIPE with SIGSTOP added to ...
google
android
3-24
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-24.c
1,569
utf_8
ffed9d7b8e429d15a0961eef65acebdc
/* * 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 SIGVTALRM to handler 3. Call sigac...
google
android
25-26
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-26.c
2,486
utf_8
ddd1f10a7e2880df2d3745c250ca10f0
/* * 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
13-2
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-2.c
1,712
utf_8
d6f4e0b4ec94e2c8fc801a33d0ed545f
/* * 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
1-17
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-17.c
1,512
utf_8
bde3ae84368a1b98d0c3d9cea9d52a1c
/* * 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
2-13
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-13.c
1,515
utf_8
4ec8cf1720f1f1615df95c3699f9552a
/* * 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 SIGTERM to use handler1 2. Call sigaction again to set handler for SIGTERM to use handler2, ...
google
android
13-20
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-20.c
1,712
utf_8
92f267b14af5039769c1d187ebf455f6
/* * 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
28-15
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-15.c
2,965
utf_8
037cdb9ea22c1f0baa568788e21b3f8e
/* * 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 SIGTTIN wit...
google
android
12-18
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-18.c
1,988
utf_8
36cd960c18fcdd8a7910ba7383a98806
/* * 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-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-4.c
1,512
utf_8
04e468cc23f7ff8ba834663a4e78d019
/* * 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
4-81
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-81.c
930
utf_8
cd860425186a575024f54aef1dbc2dc1
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP to the signal mask of SIGBUS 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-26
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-26.c
2,595
utf_8
472cb4ef24e46985442a6f043ed76035
/* * 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
6-25
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-25.c
1,392
utf_8
135c8845c2759e3446c5c34ab880542c
/* * source tree. Test case for assertion #5 of the sigaction system call that verifies setting the SA_INFO bit in the signal mask for SIGXCPU 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
4-92
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-92.c
932
utf_8
f89a7bc04ceec2ee4cfece750b5b9d85
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP to the signal mask of SIGTSTP 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
25-10
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-10.c
2,486
utf_8
cb5d597763c7b6670a0b346af74ec0a1
/* * 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
12-30
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-30.c
1,765
utf_8
18497e6511a535df533c9a4b73fa6979
/* * 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
18-13
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-13.c
2,165
utf_8
c573438957793db0a9b0553a10f1898c
/* * 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 SIGTERM without SA_SIGINFO, and a known function * ...
google
android
12-10
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-10.c
1,988
utf_8
f88a62db103bb6abe7a42e35ce423cc3
/* * 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
17-15
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-15.c
2,201
utf_8
b585c8917f90590c7b364469b6e89453
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGTTIN 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
23-17
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-17.c
4,236
utf_8
46b81922cfc70ffe62c88eb3165bf52e
/* * 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 SIGUSR1 * -> ra...
google
android
4-40
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-40.c
2,011
utf_8
a33a41f074e214117c6dc03d55cfb8ba
/* * 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 SIGTSTP with SIGSTOP added to ...
google
android
1-11
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-11.c
1,512
utf_8
d898b08921685befe08b1e782d91e6f2
/* * 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-14
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-14.c
1,988
utf_8
4d5f8d55031fa302c31f198c6e002a75
/* * 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
12-6
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-6.c
1,985
utf_8
ba74aa75154661b7306aea553ea47eca
/* * 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-33
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-33.c
2,007
utf_8
18abad0a7861e532193341f71d36b82e
/* * 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 SIGHUP with SIGSTOP added to ...
google
android
4-84
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-84.c
930
utf_8
ccd971277151259655bae8a68de89720
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP 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-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-4.c
4,236
utf_8
c95914a4ecfb4947a931ead3053b1d3f
/* * 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 SIGCHLD * -> ra...
google
android
12-49
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-49.c
1,762
utf_8
2f74f51eaf2f7bf85fd38c2866ac2dce
/* * 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
18-14
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-14.c
2,165
utf_8
1f14cac5282cc952a6b73fad04086709
/* * 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 SIGTSTP without SA_SIGINFO, and a known function * ...
google
android
8-22
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-22.c
1,729
utf_8
57d01f2c0421c74c79946b626699bbb9
/* * 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
18-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-1.c
2,165
utf_8
3ee6ace5a7e3c22db0437f217d1e9c7d
/* * 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 SIGABRT without SA_SIGINFO, and a known function * ...
google
android
4-18
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-18.c
1,924
utf_8
f1eb24d565023e17823c8d7522cce2c1
/* * 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 SIGUSR2 with SIGKILL added to ...
google
android
2-16
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-16.c
1,515
utf_8
bf57d67a819b2facaff9d904c026ca3a
/* * 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 SIGTTOU to use handler1 2. Call sigaction again to set handler for SIGTTOU to use handler2, ...
google
android
13-15
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-15.c
1,712
utf_8
b66d26b445913947f7957f0c65993db3
/* * 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-6
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-6.c
4,229
utf_8
42b606df6ac101cda7cc61719de56d69
/* * 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 SIGFPE * -> rai...
google
android
4-48
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-48.c
2,011
utf_8
8a1ea42257e66d6e747362728617d134
/* * 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 SIGTRAP with SIGSTOP added to ...
google
android
23-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-21.c
4,229
utf_8
ff7322737e3536bab433a0719b1b31a3
/* * 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 SIGSYS * -> rai...
google
android
1-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-21.c
1,508
utf_8
0661b2b64801773e11b22c46044d89ab
/* * 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
4-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-21.c
1,920
utf_8
f20358b0362acb2b6f677caf558dcab3
/* * 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 SIGSYS with SIGKILL added to ...
google
android
17-22
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c
2,201
utf_8
f07da0d087e62b16d2f04d3c50fa202d
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGTRAP 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-15
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-15.c
1,512
utf_8
7c7099d3460e5d55f14eb1e6a2f9dd67
/* * 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
4-20
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-20.c
1,924
utf_8
8f4f5aa419fce2394e9e14787c351a51
/* * 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 SIGPROF with SIGKILL added to ...
google
android
19-3
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-3.c
2,588
utf_8
3b2f47e9b75d1073a23e32cad22e68b4
/* * 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
4-37
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-37.c
2,011
utf_8
65978f37f83e427e4e3ad39e11a31d15
/* * 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 SIGQUIT with SIGSTOP added to ...
google
android
28-10
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-10.c
2,965
utf_8
27a81a9cc3b80358930798166fb4d35d
/* * 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 SIGPIPE wit...
google
android
12-20
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-20.c
1,988
utf_8
b9e4448acf35202a1aff1ffe8a0f730c
/* * 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
19-22
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-22.c
2,595
utf_8
2df59ce3b61de16bd2b4991325765853
/* * 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
13-25
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-25.c
1,712
utf_8
bd7808bf26e3c9cf82cbcc9c5830133c
/* * 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
18-18
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-18.c
2,165
utf_8
1869f307ad6fb4ada77145de68980717
/* * 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 SIGUSR2 without SA_SIGINFO, and a known function * ...
google
android
2-2
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-2.c
1,515
utf_8
09d5bba78fff82aa52f0d178c5963296
/* * 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 SIGALRM to use handler1 2. Call sigaction again to set handler for SIGALRM to use handler2, ...
google
android
25-1
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-1.c
2,486
utf_8
0f094ae0b33a70d6882e09bbb2d20076
/* * 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
13-11
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-11.c
1,712
utf_8
ca21a67134d700da6db2d3e834769433
/* * 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
3-4
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-4.c
1,559
utf_8
9897a64fe7e5305045b4274f3c63ffc9
/* * 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 SIGCHLD to handler 3. Call sigacti...
google
android
19-11
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-11.c
2,595
utf_8
a10b6bc99badcbbf2b8a9b01865ccf8e
/* * 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
3-14
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-14.c
1,559
utf_8
8f1ffb3838352f26a20a6197b423e8d9
/* * 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 SIGTSTP to handler 3. Call sigacti...
google
android
28-20
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-20.c
2,965
utf_8
9a6e8cdfe8009350fc946b118abc768b
/* * 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 SIGPROF wit...
google
android
22-19
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-19.c
2,501
utf_8
e093d8f2f7dbefac97844e0ea2121784
/* * 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
19-2
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-2.c
2,596
utf_8
266a1ce2a808f9d7ba6a47ecdb6ddfa9
/* * 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
6-11
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-11.c
1,392
utf_8
d104d4e0e89c44cc859c01188388e773
/* * source tree. Test case for assertion #5 of the sigaction system call that verifies setting the SA_INFO bit in the signal mask for SIGQUIT 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
28-14
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-14.c
2,965
utf_8
b94a8d558309c97d2468a6c162ccb76e
/* * 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 SIGTSTP wit...
google
android
25-19
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-19.c
2,486
utf_8
d3801fa77b7ecfba4adb3655079ffbce
/* * 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
19-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-21.c
2,588
utf_8
19acacc22c5638ada32566da8c2b29ac
/* * 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
6-19
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-19.c
1,392
utf_8
3cf05646c8d84f77a138e00d824edbed
/* * source tree. Test case for assertion #5 of the sigaction system call that verifies setting the SA_INFO bit in the signal mask for SIGUSR2 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
22-10
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-10.c
2,501
utf_8
58f8e19e978f7cd38bc218106444600a
/* * 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
1-26
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-26.c
1,512
utf_8
db4db218cecb6355cbd3f12a264f8870
/* * 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
28-13
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-13.c
2,965
utf_8
2b8e4b451fe689741a4405bcc61d506b
/* * 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 SIGTERM wit...
google
android
28-26
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-26.c
2,965
utf_8
b386ceffb4ee80415157ddc0e391fef2
/* * 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 SIGXFSZ wit...
google
android
4-56
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-56.c
932
utf_8
5c1d78f6a2c23402abfce75d0e3d5478
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGCHLD 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
2-9
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-9.c
1,511
utf_8
12536744ebdbfcd0d9fde737ec7e8e75
/* * 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 SIGINT to use handler1 2. Call sigaction again to set handler for SIGINT to use handler2, ...
google
android
4-34
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-34.c
2,007
utf_8
18296d674f4fc2c0cb08d5a4e920da9e
/* * 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 SIGILL with SIGSTOP added to ...
google
android
12-16
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-16.c
1,988
utf_8
76978fd40d2fef855ac2e0d5c34510a5
/* * 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
17-17
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-17.c
2,201
utf_8
f42a1f093e453dfa76298708e5b0829e
/* * source tree. Test assertion #17 by verifying that select returns -1 with errno set to EINTR if a handler for the SIGUSR1 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
13-19
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-19.c
1,712
utf_8
d6f4e0b4ec94e2c8fc801a33d0ed545f
/* * 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
18-19
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-19.c
2,165
utf_8
67b2b33fea64f6ff69d34cac59342876
/* * 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 SIGPOLL without SA_SIGINFO, and a known function * ...
google
android
28-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-21.c
2,959
utf_8
d9e18f96b8332541074d3b67d6f66dff
/* * 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 SIGSYS with...
google
android
4-88
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-88.c
932
utf_8
97009136136046eac266efd7d0f21c33
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGSTOP to the signal mask of SIGPIPE 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-27
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-27.c
2,011
utf_8
8e0609c54c5eceeba8bd334521a331d6
/* * 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 SIGABRT with SIGSTOP added to ...
google
android
2-25
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-25.c
1,515
utf_8
cf6f91f376d1e95f575aa34024f2ee0f
/* * 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 SIGXCPU to use handler1 2. Call sigaction again to set handler for SIGXCPU to use handler2, ...
google
android
8-21
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-21.c
1,733
utf_8
6d1d2327b26e2258977b12e7a80b40bb
/* * 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
4-78
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-78.c
932
utf_8
fc05abfa29a9874bef3bff0d08940338
/* * source tree. Test case for assertion #4 of the sigaction system call that shows that attempting to add SIGKILL to the signal mask of SIGXFSZ 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
8-12
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-12.c
1,738
utf_8
ce6154af8ac8c3e84f33ab18daa3f30d
/* * 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-10
.c
platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-10.c
2,595
utf_8
16c3e0b212a724ce9686fce7d956b92f
/* * 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...