diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2016-07-29 12:17:18 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-31 12:50:54 +0200 |
commit | 25f4ae1de711b2001b4958d65e77b6dba222e7b5 (patch) | |
tree | 223fae89584a3cfede3e2df707e0966be8398cce /test/nptl/tst-signal5.c | |
parent | ae01de4d1d1e16e46c5180ba7fb081792081996a (diff) |
arc: clone: Recover PID correctly
Caught by tst-getpid1 test from uClibc's test-suite.
It looks like original implementation was not correct.
The code in question is supposed to recover PID of the new
thread. And by no means that could happen with clone() syscall
while getpid() does exactly this.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Reported-by: Eugeniy Paltsev <paltsev@synopsys.com>
Diffstat (limited to 'test/nptl/tst-signal5.c')
0 files changed, 0 insertions, 0 deletions