On Thu, 2010-04-15 at 15:25 -0700, David Miller wrote: > From: Stephen Smalley <sds@xxxxxxxxxxxxx> > Date: Thu, 15 Apr 2010 08:43:05 -0400 > > > Your eu-readelf output showed why SELinux is checking execmem - the data > > segment has flags RWE and thus a private file mapping is being created > > with PROT_WRITE and PROT_EXEC. That's a problem with the compiler > > toolchain - report it to them please. This was a problem with ppc32 > > binaries before secure-plt was introduced. > > I don't really intend to implement secure-plt any time soon on sparc > because there simply is no way to do it efficiently. > > And when you talk about "toolchain issues" that all goes my way > anyways, so just direct such queries to me directly since I handle > both the kernel and toolchain bits entirely myself these days. > > So you'll always have to deal with the PLT section on sparc having > write and execute permission. Ok. Can someone with sparc hardware try the patch I posted to see if it suffices? -- Stephen Smalley National Security Agency -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html