summaryrefslogtreecommitdiff
path: root/test/crypt/crypt.c
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2016-07-29 12:17:18 +0300
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-31 12:50:54 +0200
commit25f4ae1de711b2001b4958d65e77b6dba222e7b5 (patch)
tree223fae89584a3cfede3e2df707e0966be8398cce /test/crypt/crypt.c
parentae01de4d1d1e16e46c5180ba7fb081792081996a (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/crypt/crypt.c')
0 files changed, 0 insertions, 0 deletions