Re: PIE breaks detection of available stack depth with getrlimit?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/16/13 at 05:59pm, Tom Lane wrote:
> Pursuant to the recent discussion about using _hardened_build in more
> packages, I tried turning it on in postgresql.  I was unpleasantly
> surprised to find that that causes the package's regression tests to
> fail, at least when running a 32-bit build in mock under a 64-bit
> kernel.  The cause appears to be that getrlimit(RLIMIT_STACK) reports
> an inflated value for the process's available stack space.
>
> So is this a kernel bug, or a userspace bug, and if the latter what
> component should I file it against?

I am wondering why Ubuntu didn't hit this bug earlier since they have
been shipping PIE enabled postgresql for a long time now.

Does this problem occurs only under Linux 3.9 kernel (and not under
Linux <= 3.8 kernel versions) ?

--
Dhiru
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux