OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:sigsuspend
(Results
1 - 25
of
292
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
46-1-buildonly.c
3
int
sigsuspend
(const sigset_t *);
14
dummyvar =
sigsuspend
;
/external/valgrind/none/tests/
sigsusp.c
11
sigsuspend
(&mask);
21
sleep(1); // Should be enough to have the thread in
sigsuspend
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigsuspend/
coverage.txt
1
This document defines the coverage for function
sigsuspend
().
3-1.c
11
This program checks to see that
sigsuspend
does not return when sent a signal
18
is to terminate the program.
sigsuspend
() should not return, and if it does, then have the
45
if (
sigsuspend
(&tempmask) != -1) {
46
perror("
sigsuspend
error");
51
("Test FAILED: Should not have returned from
sigsuspend
\n");
76
("Test UNRESOLVED:
sigsuspend
in child process was not successful\n");
82
("Test FAILED:
sigsuspend
did not suspend the child\n");
assertions.xml
14
sigsuspend
shall never return if the action is to terminate the process.
17
sigsuspend
( ) shall return after the signal-catching
19
to the set that existed prior to the
sigsuspend
()
27
sigsuspend
() suspends thread execution indefinitely, and therefore there is no
34
the
sigsuspend
( ) function shall fail if and set errno to EINTR.
1-1.c
13
1.
sigsuspend
() replaces the original signal mask (containing SIGUSR1)
15
by having the child call
sigsuspend
, and then have the parent send the
23
resume execution. If the SIGUSR2 is only delivered after
sigsuspend
25
the child was suspended, and therefore that proves that
sigsuspend
()
106
if (
sigsuspend
(&tempmask) != -1)
107
perror("
sigsuspend
error");
125
("Test FAILED:
sigsuspend
did not add SIGUSR2 to the temporary mask\n");
148
("Test UNRESOLVED: Either
sigsuspend
did not successfully block SIGUSR2, OR
sigsuspend
returned before handling the signal SIGUSR1\n");
154
("Test FAILED:
sigsuspend
did not suspend the child\n")
[
all
...]
4-1.c
13
This is its original signal mask. Now suspend the child, passing
sigsuspend
another
17
3. Once the
sigsuspend
returns, have the child probe the signal mask using the is_changed()
19
before the call to
sigsuspend
. I.e. SIGUSR1 in the mask and SIGUSR2 not in the mask. Have
104
if (
sigsuspend
(&tempmask) != -1)
105
perror("
sigsuspend
error");
113
("signal mask was not restored properly after
sigsuspend
returned\n");
6-1.c
15
3. In the child process, make sure that
sigsuspend
returns a -1 and pass that info
58
if (
sigsuspend
(&tempmask) != -1) {
59
perror("
sigsuspend
error");
/external/strace/tests/
sigsuspend.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (
sigsuspend
-a19 -esignal=none); do not edit.
siginfo.c
84
sigsuspend
(&unblock_mask);
115
sigsuspend
(&unblock_mask);
142
sigsuspend
(&unblock_mask);
152
sigsuspend
(&unblock_mask);
163
sigsuspend
(&unblock_mask);
sigsuspend.c
2
* Check decoding of
sigsuspend
syscall.
104
perror_msg_and_skip("
sigsuspend
");
106
printf("
sigsuspend
(~[%s]) = ? ERESTARTNOHAND"
/external/strace/tests-m32/
sigsuspend.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (
sigsuspend
-a19 -esignal=none); do not edit.
siginfo.c
84
sigsuspend
(&unblock_mask);
115
sigsuspend
(&unblock_mask);
142
sigsuspend
(&unblock_mask);
152
sigsuspend
(&unblock_mask);
163
sigsuspend
(&unblock_mask);
sigsuspend.c
2
* Check decoding of
sigsuspend
syscall.
104
perror_msg_and_skip("
sigsuspend
");
106
printf("
sigsuspend
(~[%s]) = ? ERESTARTNOHAND"
/external/strace/tests-mx32/
sigsuspend.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (
sigsuspend
-a19 -esignal=none); do not edit.
siginfo.c
84
sigsuspend
(&unblock_mask);
115
sigsuspend
(&unblock_mask);
142
sigsuspend
(&unblock_mask);
152
sigsuspend
(&unblock_mask);
163
sigsuspend
(&unblock_mask);
sigsuspend.c
2
* Check decoding of
sigsuspend
syscall.
104
perror_msg_and_skip("
sigsuspend
");
106
printf("
sigsuspend
(~[%s]) = ? ERESTARTNOHAND"
/external/ltp/testcases/kernel/syscalls/sigsuspend/
sigsuspend01.c
24
* Verify that
sigsuspend
() succeeds to change process's current signal
29
*
sigsuspend
() should return after the execution of signal catching
110
* Call
sigsuspend
() to replace current signal mask
114
TEST(
sigsuspend
(&signalset));
125
tst_resm(TFAIL, "
sigsuspend
failed to "
129
"
sigsuspend
() successful");
133
"
sigsuspend
() returned value %ld",
/external/ltp/testcases/kernel/controllers/cgroup_fj/
cgroup_fj_proc.c
61
sigsuspend
(&signalset);
63
err(1, "
sigsuspend
()");
/external/ltp/testcases/kernel/controllers/cpuctl_fj/
cpuctl_fj_cpu-hog.c
60
sigsuspend
(&signalset);
62
err(1, "
sigsuspend
()");
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/
cpuset_mem_hog.c
80
sigsuspend
(&signalset);
99
sigsuspend
(&signalset);
/external/compiler-rt/test/tsan/
sigsuspend.cc
35
sigsuspend
(&all_but_one);
/external/ltp/testcases/kernel/syscalls/
Makefile
44
sigrelse
sigsuspend
sigtimedwait sigwait sigwaitinfo stime \
/bionic/tests/
ScopedSignalHandler.h
38
#define sigsuspend64
sigsuspend
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
cpuset_cpu_hog.c
188
sigsuspend
(&signalset);
278
sigsuspend
(&signalset);
300
sigsuspend
(&signalset);
Completed in 701 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>