httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36410] New: - Problem with cgid when module other than mod_suexec is providing uid/gid
Date Mon, 29 Aug 2005 17:28:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36410>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36410

           Summary: Problem with cgid when module other than mod_suexec is
                    providing uid/gid
           Product: Apache httpd-2.0
           Version: 2.0.54
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cgid
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: fabbe@paniq.net


When trying mod_vhost_ldap (http://alioth.debian.org/projects/modvhostldap/) I
discovered that cgid segfaults when trying to run a simple cgi script. This is
documented in the Debian BTS (http://bugs.debian.org) as bug #323785
(http://bugs.debian.org/323785).

The issue was discussed in the #apache channel on IRC, and it was concluded that
the reason for the segfault is that cgid is unable to access the memory region
where mod_vhost_ldap keeps its module_config structure -- or any other
module_config structure for that matter. For suExec, there is special magic in
mod_cgid that allows its configuration to be passed through the unix socket so
that cgid can use it. However, adding such special cases for every module that
needs them is not really a good way to solve the problem.

So a more generic way of letting mod_cgid access is needed. When discussing the
issue on IRC, colmmacc suggested that there is a more correct way implemented in
os/unix/unixd.c.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message