]> code.ossystems Code Review - openembedded-core.git/commit
ltp: recent glibc calls syscall directly
authorHongzhi.Song <hongzhi.song@windriver.com>
Mon, 8 Oct 2018 03:31:51 +0000 (20:31 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Oct 2018 11:02:41 +0000 (12:02 +0100)
commitbfd32c0d1c335e9c9cf8340f999e15054917577e
tree386921a6c32c99a08b3e3a80f376be1aa2965c9b
parentdd644ee9991e953474d41dbbf713a7e33b4c9141
ltp: recent glibc calls syscall directly

The case of sigwaitinfo related to sigwaitinfo API failed.

glibc commit
  8b0e795aaa44 ("Simplify Linux sig{timed}wait{info} implementations")
  changed sigwaitinfo to call sigtimedwait, which calls rt_sigtimedwait
  syscall directly.

So, an invalid pointer no longer crashes child process and test
reports failure. Fix it by accepting either crash or EFAULT.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp/0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch [new file with mode: 0644]
meta/recipes-extended/ltp/ltp_20180515.bb