nptl: rseq failure after registration on main thread is fatal
authorFlorian Weimer <fweimer@redhat.com>
Thu, 9 Dec 2021 08:49:32 +0000 (09:49 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 9 Dec 2021 08:49:32 +0000 (09:49 +0100)
commita41c8e92350e744a4bc639df5025153d05263e7f
treecf0cd4d0cdc757f83409f2c0c867a0b2a2ae6828
parentc901c3e764d7c7079f006b4e21e877d5036eb4f5
nptl: rseq failure after registration on main thread is fatal

This simplifies the application programming model.

Browser sandboxes have already been fixed:

  Sandbox is incompatible with rseq registration
  <https://bugzilla.mozilla.org/show_bug.cgi?id=1651701>

  Allow rseq in the Linux sandboxes. r=gcp
  <https://hg.mozilla.org/mozilla-central/rev/042425712eb1>

  Sandbox needs to support rseq system call
  <https://bugs.chromium.org/p/chromium/issues/detail?id=1104160>

  Linux sandbox: Allow rseq(2)
  <https://chromium.googlesource.com/chromium/src.git/+/230675d9ac8f1>

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
nptl/pthread_create.c