Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1168668 > unrolled thread

Re: [musl] musl-libc/MIPS: detached thread exit broken since kernel commit 46e12c07b

Started byRalf Baechle <ralf@linux-mips.org>
First post2015-06-19 12:10 +0200
Last post2015-06-19 12:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [musl] musl-libc/MIPS: detached thread exit broken since kernel  commit 46e12c07b Ralf Baechle <ralf@linux-mips.org> - 2015-06-19 12:10 +0200

#1168668 — Re: [musl] musl-libc/MIPS: detached thread exit broken since kernel commit 46e12c07b

FromRalf Baechle <ralf@linux-mips.org>
Date2015-06-19 12:10 +0200
SubjectRe: [musl] musl-libc/MIPS: detached thread exit broken since kernel commit 46e12c07b
Message-ID<pD1pf-4ew-1@gated-at.bofh.it>
On Thu, Jun 18, 2015 at 10:50:32PM -0400, Rich Felker wrote:

> This is kernel ABI breakage that should be fixed -- people running old
> kernel versions with old musl binaries might suffer a regression when
> upgrading, and perhaps more importantly the failure mode is just
> really bad. But I think we can also work around it on the userspace
> side in musl by pointing the stack pointer at some rodata (or even at
> pc, e.g. copying $25 to $sp) before making the syscall.

Just to be on the safe side, make sure it is something that's readable.  Core
might me mapped execute-only, that is not readable and that is a feature
which the affected kernels do support on suitable hardware.

  Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web