This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12155] New: MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ (wrongly) have effect in setgid programs


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]