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 | 13-7 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-7.c | 1,709 | utf_8 | d0977e781fd4816df65c6076b7263a35 | /*
* 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 | 6-7 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-7.c | 1,389 | utf_8 | 34a7bb158beb9f2f3647d8b94e4cc12e | /*
* source tree.
Test case for assertion #5 of the sigaction system call that verifies
setting the SA_INFO bit in the signal mask for SIGHUP 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-18 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-18.c | 2,201 | utf_8 | 3d5b7c87a900b3f848a514d6a702c93e | /*
* source tree.
Test assertion #17 by verifying that select returns -1 with
errno set to EINTR if a handler for the SIGUSR2 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-12 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-12.c | 4,236 | utf_8 | 8cd5d513db5292d9e4512ac72a68c11a | /*
* 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 SIGSEGV
* -> ra... |
google | android | 23-14 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-14.c | 4,236 | utf_8 | f59494a2146d8d3a6c44a7c4757c054e | /*
* 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 SIGTSTP
* -> ra... |
google | android | 1-25 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-25.c | 1,512 | utf_8 | a3b3a17f07a5ef9c81ccb72d4cc76bd6 | /*
* 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 | 22-23 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-23.c | 2,492 | utf_8 | d0e71de3f1b5c714eb41bffbae1f2d1b | /*
* 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 | 6-4 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-4.c | 1,392 | utf_8 | 6ab978b89364fcbf6f3ce18e4ff0a21f | /*
* source tree.
Test case for assertion #5 of the sigaction system call that verifies
setting the SA_INFO bit in the signal mask for SIGCHLD 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 | 19-7 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-7.c | 2,588 | utf_8 | 10f27029d6c713d8abb43525afe2e370 | /*
* 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 | 25-7 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-7.c | 2,477 | utf_8 | 92536a2e0286226a467766e7708a0226 | /*
* 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 | 3-19 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-19.c | 1,559 | utf_8 | ac4bb63df4ab7a7971a3e37d840d8e6e | /*
* 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 SIGUSR2 to handler
3. Call sigacti... |
google | android | 6-16 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-16.c | 1,392 | utf_8 | 87d097f8ae5ab9f1e528222f0e8b890f | /*
* source tree.
Test case for assertion #5 of the sigaction system call that verifies
setting the SA_INFO bit in the signal mask for SIGTTOU 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 | 25-18 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-18.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 | 22-25 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-25.c | 2,501 | utf_8 | d171e9f9c11a3bbbd431bc5886f59f51 | /*
* 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-16 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-16.c | 2,965 | utf_8 | 2e45ae06e0814a850fd257b485f7adbe | /*
* 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 SIGTTOU wit... |
google | android | 4-9 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-9.c | 1,920 | utf_8 | e331a4082a6b985b775953f2933a3c81 | /*
* 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 SIGINT with SIGKILL added to
... |
google | android | 22-24 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-24.c | 2,519 | utf_8 | f827f4eec88bb8d0c4ff66bdc34cde41 | /*
* 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 | 2-26 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-26.c | 1,515 | utf_8 | 26b5b82aaf11ae13b716d740cca35d81 | /*
* 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 SIGXFSZ to use handler1
2. Call sigaction again to set handler for SIGXFSZ to use handler2,
... |
google | android | 25-14 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-14.c | 2,486 | utf_8 | 51ac2430b5498fed51011c5f376aa87a | /*
* 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 | 3-21 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-21.c | 1,554 | utf_8 | 1912d23568cafdba311027030be9c3a8 | /*
* 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 SIGSYS to handler
3. Call sigactio... |
google | android | 22-5 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-5.c | 2,501 | utf_8 | 1b6f3a4d76a4716832bb8f9d8f3d8928 | /*
* 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 | 25-17 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-17.c | 2,486 | utf_8 | 10b1af47efe3a3b0c852e4abdf91ef5f | /*
* 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-5 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-5.c | 1,712 | utf_8 | 71ec11bcc457ba9fe69af5443d747368 | /*
* 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-6 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-6.c | 1,508 | utf_8 | 595bb92eea4742bfc39ba097f9ca1c39 | /*
* 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-2 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-2.c | 2,165 | utf_8 | 4bbe1687e384a72f326145bd6199e18d | /*
* 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 SIGALRM without SA_SIGINFO, and a known function
* ... |
google | android | 4-60 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-60.c | 930 | utf_8 | ed2cb685131648d9ba61fb85e2d54c7e | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGKILL 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 | 25-13 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-13.c | 2,486 | utf_8 | c54dfe1889a1b76835ab78cc602e1107 | /*
* 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 | 18-25 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-25.c | 2,165 | utf_8 | c5c745ea5cfb7c574f08032b9ece6785 | /*
* 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 SIGXCPU without SA_SIGINFO, and a known function
* ... |
google | android | 8-13 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-13.c | 1,738 | utf_8 | f5366d323e856a700fa18f46659a5dff | /*
* 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 | 23-5 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-5.c | 4,236 | utf_8 | 6f264da5a3c37a436928cb3cb65fa579 | /*
* 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 SIGCONT
* -> ra... |
google | android | 22-13 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-13.c | 2,501 | utf_8 | 914b8e55458bf556016e0faf8f9c13ac | /*
* 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 | 12-29 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-29.c | 1,762 | utf_8 | 92aab7ef97365f3c4498d4672ab1d69a | /*
* 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-15 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-15.c | 1,924 | utf_8 | 2dfb51c7d03524fe784e14b60a9de197 | /*
* 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 SIGTTIN with SIGKILL added to
... |
google | android | 19-20 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-20.c | 2,595 | utf_8 | 80331205f48b9d08f9c818eab56bb4bb | /*
* 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-19 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-19.c | 1,513 | utf_8 | 282a9c9d504d2c1a29a7298eb31315ac | /*
* 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 | 13-10 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-10.c | 1,712 | utf_8 | 83cf930ad00394159c80538531ae9ff7 | /*
* 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 | 6-26 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-26.c | 1,392 | utf_8 | 9d03e54eeb68e8e41bece697d9a61d41 | /*
* source tree.
Test case for assertion #5 of the sigaction system call that verifies
setting the SA_INFO bit in the signal mask for SIGXFSZ 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-12 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-12.c | 1,512 | utf_8 | 036397e177f39acc9e61b60e4a00d4cb | /*
* 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 | 22-14 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-14.c | 2,501 | utf_8 | b3b0faae6afb10b285162f4832b08134 | /*
* 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 | 25-2 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-2.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 | 22-6 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-6.c | 2,492 | utf_8 | 2c27d3fd2c4d699a96f1e8d3e33d9191 | /*
* 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-20 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-20.c | 1,559 | utf_8 | c43c80740dc752dd199d66491567ea8d | /*
* 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 SIGPROF to handler
3. Call sigacti... |
google | android | 13-16 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-16.c | 1,712 | utf_8 | 8582c25737ade3c3935ce6fd2b2800fc | /*
* 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-13 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-13.c | 1,924 | utf_8 | 7356ee16da8f7286f98cdcfc63c3ba30 | /*
* 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 SIGTERM with SIGKILL added to
... |
google | android | 25-3 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-3.c | 2,477 | utf_8 | 3133f242823492d6338bf4b9c20dfeb4 | /*
* 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 | 3-5 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-5.c | 1,559 | utf_8 | 466bec5cacc951b261217fb8eb0b7840 | /*
* 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 SIGCONT to handler
3. Call sigacti... |
google | android | 28-2 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-2.c | 2,965 | utf_8 | 387a0d88d08bdb586a2d270764fc9d4c | /*
* 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 SIGALRM wit... |
google | android | 22-3 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-3.c | 2,492 | utf_8 | 6ad8f46a8c3b3af026d941d1bb83c184 | /*
* 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-25 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-25.c | 2,595 | utf_8 | 5532f7714b019dfa8196e2203f472460 | /*
* 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 | 10-1 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/10-1.c | 2,408 | utf_8 | 20d3ed140ed63db109f62bdb32279d7d | /*
Test assertion #10 by verifying that SIGCHLD signals are sent to a parent
when their children are stopped.
* 12/18/02 - Adding in include of sys/time.h per
* rodrigc REMOVE-THIS AT attbi DOT com input that it needs
* to be included whenever the timeval struct is used.
*
*/
#include <si... |
google | android | 4-99 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-99.c | 930 | utf_8 | 9e6be52ac0cc9ce9f1c20807eff9f132 | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGSTOP 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 | 4-66 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-66.c | 932 | utf_8 | f30c80baf2cc9b2e790a0ba5b3d8bbf8 | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGKILL 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 | 17-13 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-13.c | 2,201 | utf_8 | ab6dc92e2bc3e0fbbbcfbf96eb096d0a | /*
* source tree.
Test assertion #17 by verifying that select returns -1 with
errno set to EINTR if a handler for the SIGTERM 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-19 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-19.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 | 6-24 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-24.c | 1,398 | utf_8 | 40dedca4cc49d2dc6b5314e89f8c9008 | /*
* source tree.
Test case for assertion #5 of the sigaction system call that verifies
setting the SA_INFO bit in the signal mask for SIGVTALRM will result
in sa_sigaction identifying the signal-catching function.
*/
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <unis... |
google | android | 6-2 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-2.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 | 8-25 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-25.c | 1,756 | utf_8 | 0a22e06f1c9e69b40673d4e4f4c438aa | /*
* 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 | 25-25 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-25.c | 2,486 | utf_8 | 437166036e975f028c8a03f45c2ad53d | /*
* 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-11 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-11.c | 2,201 | utf_8 | 191d833420fd600dc70070ecc884d6f6 | /*
* source tree.
Test assertion #17 by verifying that select returns -1 with
errno set to EINTR if a handler for the SIGQUIT 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-85 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-85.c | 930 | utf_8 | ed7ca95383c586e3e7122560695b433f | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGSTOP 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 | 2-10 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/2-10.c | 1,515 | utf_8 | 4f9cd9faf8854f5bc0ea9f9801846d5c | /*
* 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 SIGPIPE to use handler1
2. Call sigaction again to set handler for SIGPIPE to use handler2,
... |
google | android | 3-9 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/3-9.c | 1,554 | utf_8 | 252e4ce7e7aeeb44dcd4689a41bfcaf1 | /*
* 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 SIGINT to handler
3. Call sigactio... |
google | android | 1-7 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-7.c | 1,508 | utf_8 | f6296616d31304a50eb88e8382102f65 | /*
* 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-21 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-21.c | 2,159 | utf_8 | ee3a6b69ea7133e21b621c4d5d75e7fa | /*
* 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 SIGSYS without SA_SIGINFO, and a known function
* ... |
google | android | 1-3 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-3.c | 1,508 | utf_8 | d23a92acffde15333178b0b2bde09312 | /*
* 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 | 13-9 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/13-9.c | 1,709 | utf_8 | ea5f98607764b524b862fe04897d6daf | /*
* 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-82 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-82.c | 932 | utf_8 | 7634beca3c4cbcf97869dc93a7011713 | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGSTOP 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 | 4-31 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-31.c | 2,011 | utf_8 | 0ab9ae07fee3797027a3896f7a4e3288 | /*
* 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 SIGCONT with SIGSTOP added to
... |
google | android | 4-93 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-93.c | 932 | utf_8 | 4e3e7198c297542b62cd90ee3a79c41a | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGSTOP 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-6 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-6.c | 2,959 | utf_8 | 307f37798aefd4a99ff464176e01574d | /*
* 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 SIGFPE with... |
google | android | 4-98 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-98.c | 932 | utf_8 | 4320bbf20d355e919bb3a4568d1b1f02 | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGSTOP 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 | 17-16 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-16.c | 2,201 | utf_8 | b5750bbeb311c657a411026cb79a081a | /*
* source tree.
Test assertion #17 by verifying that select returns -1 with
errno set to EINTR if a handler for the SIGTTOU 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 | 25-8 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-8.c | 2,477 | utf_8 | 86b024d346b339ea98ced0603d236083 | /*
* 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-7 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-7.c | 1,985 | utf_8 | 2592eb93ddfedbdb610bd621332c8c4c | /*
* 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 | 22-15 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-15.c | 2,501 | utf_8 | b74edbdb652ef504454ad09c64885b47 | /*
* 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 | 17-14 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-14.c | 2,201 | utf_8 | c38cf2fdf07b91793b834ce9e7bb7c11 | /*
* source tree.
Test assertion #17 by verifying that select returns -1 with
errno set to EINTR if a handler for the SIGTSTP 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-31 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-31.c | 1,765 | utf_8 | c46ad3c93c444f637640eca31cc6d6ee | /*
* 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 | 28-11 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-11.c | 2,965 | utf_8 | df4791031c7c638041b66f47023c3275 | /*
* 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 SIGQUIT wit... |
google | android | 25-20 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-20.c | 2,486 | utf_8 | eb819cbbdfaecd7ef315aeea86ad6b1a | /*
* 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 | 4-43 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-43.c | 2,011 | utf_8 | 486fdc1c48f8ab255eea142338c16f8c | /*
* 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 SIGUSR1 with SIGSTOP added to
... |
google | android | 6-10 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/6-10.c | 1,392 | utf_8 | 2d4bd1ddde47833a7e9a61d4c76395f8 | /*
* source tree.
Test case for assertion #5 of the sigaction system call that verifies
setting the SA_INFO bit in the signal mask for SIGPIPE 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 | 8-20 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-20.c | 1,738 | utf_8 | 2b36ab83ce3cf117f9dec8e1fbd01391 | /*
* 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 | 23-8 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-8.c | 4,229 | utf_8 | f2ca2be749397a179ffe4b56ba260c95 | /*
* 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 SIGILL
* -> rai... |
google | android | 4-42 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-42.c | 2,011 | utf_8 | 6fa5038d4268809fbde00fa8d361e3b7 | /*
* 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 SIGTTOU with SIGSTOP added to
... |
google | android | 23-2 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-2.c | 4,236 | utf_8 | 30a986e39345c42d8c13dc294a1eda26 | /*
* 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 SIGALRM
* -> ra... |
google | android | 19-8 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-8.c | 2,588 | utf_8 | e7e369d83de3c38cd2fe6a1aaeedbe03 | /*
* 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-18 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/1-18.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 | 4-64 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-64.c | 932 | utf_8 | 40682b63d4cbafa2356e4ae3ebb0827b | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGKILL 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 | 28-8 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/28-8.c | 2,959 | utf_8 | fb4852bb89c9a90f43456adae74a8394 | /*
* 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 SIGILL with... |
google | android | 8-10 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-10.c | 1,729 | utf_8 | 76a924cf8f256646850b6e7c8e17c93f | /*
* 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-21 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/22-21.c | 2,492 | utf_8 | 3e801f44633f5d6c1dc86fe95457ddb0 | /*
* 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-14 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-14.c | 2,595 | utf_8 | b14f50ce7021b093ec23c660b0738120 | /*
* 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-13 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/19-13.c | 2,595 | utf_8 | 7fef951840b0683bbd97596fe44c2c04 | /*
* 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 | 29-1 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/29-1.c | 5,488 | utf_8 | d95e62abbc30c61bce6b86e07eaed937 | /*
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* This sample test aims to check the following assertions:
*
* If SA_SIGINFO is set and realtime signals extension is supported, queueable
* signals generated by sigqueue or some other functions are delivered in FIFO
* order.
* The steps are:
* -> Test fo... |
google | android | 25-15 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/25-15.c | 2,486 | utf_8 | 3230920d7807d5185ad5700c6b71261d | /*
* 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 | 8-7 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/8-7.c | 1,724 | utf_8 | 020372f51112a93c1736ba808281a7d0 | /*
* 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-1 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-1.c | 1,988 | utf_8 | 82aa519fadb0d505df693f1dd9cd52a9 | /*
* 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 | 18-17 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/18-17.c | 2,165 | utf_8 | 03e5db5ec37a55f15b26592a365ad007 | /*
* 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 SIGUSR1 without SA_SIGINFO, and a known function
* ... |
google | android | 4-101 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-101.c | 930 | utf_8 | 400b5a92969a74fe37776bb685ad45a7 | /*
* source tree.
Test case for assertion #4 of the sigaction system call that shows
that attempting to add SIGSTOP 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 | 12-50 | .c | platform/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/12-50.c | 1,771 | utf_8 | 349d81d18348d22dbd70754c4dc327f1 | /*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.