This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12155] New: MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ (wrongly) have effect in setgid programs
- From: "mtk.manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sat, 23 Oct 2010 13:47:55 +0000
- Subject: [Bug libc/12155] New: MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ (wrongly) have effect in setgid programs
- Auto-submitted: auto-generated
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.