Hi!

On Wed, Mar 20, 2013 at 09:25:07AM +0200, Alex Efros wrote:
> https://bugs.gentoo.org/show_bug.cgi?id=462430
> 
> Any ideas which grsec/pax option may result in this (subj) behavior?

Looks like PAX_RANDMMAP is broken (or improved too much). If trivial tools
like tcpserver on 32-bit system instead of 2MB will randomly use up to
300MB just as result of RANDMMAP - this isn't good. Even if it doesn't
really allocate all these memory it still break things like ulimit/softlimit.

Also it looks like on 64-bit system it use up to 60MB instead of 4MB for
tcpserver. Maybe there is typo in some constant in PaX code and because of
this it allocate up to 300MB instead of, say, up to 32MB?

-- 
                        WBR, Alex.

Reply via email to