public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12155] New: MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ (wrongly) have effect in setgid programs
@ 2010-10-23 13:48 mtk.manpages at gmail dot com
  2010-10-23 13:49 ` [Bug libc/12155] " mtk.manpages at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: mtk.manpages at gmail dot com @ 2010-10-23 13:48 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12155

           Summary: MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ (wrongly)
                    have effect in setgid programs
           Product: glibc
           Version: 2.12
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: mtk.manpages@gmail.com


Almost all of the the MALLOC_*_ environment variables that affect malloc() etc.
are disabled (reasonably, for security) in set-user-ID and set-group-ID
programs. However, while MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ are
disabled for set-user-ID programs, they DO have an effect for set-group-ID
programs. I have inspected the glibc source, and can't see why these variables
have an effect in set-group-ID programs, but my text programs show that they do
have an effect.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-06-30  8:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-23 13:48 [Bug libc/12155] New: MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ (wrongly) have effect in setgid programs mtk.manpages at gmail dot com
2010-10-23 13:49 ` [Bug libc/12155] " mtk.manpages at gmail dot com
2010-10-23 14:02 ` mtk.manpages at gmail dot com
2010-10-23 14:54 ` drepper.fsp at gmail dot com
2010-10-24  7:11 ` mtk.manpages at gmail dot com
2011-07-30 16:29 ` [Bug libc/12155] MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ have different effect for setgid than for setuid programs eerott at gmail dot com
2012-02-21  1:55 ` [Bug malloc/12155] " jsm28 at gcc dot gnu.org
2012-12-19 10:48 ` schwab@linux-m68k.org
2013-10-31 14:42 ` neleai at seznam dot cz
2014-06-30  7:22 ` fweimer at redhat dot com
2014-06-30  8:32 ` mtk.manpages at gmail dot com
2014-06-30  8:33 ` mtk.manpages at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).