Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 15113] New: popen: function not implemented (glibc, linux-headers)

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 15113] New: popen: function not implemented (glibc, linux-headers)
  • Date: 17 Mar 2009 10:41:41 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15113

Summary: popen: function not implemented (glibc, linux-headers)
Product: Codex
Version: test grimoire
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: drjschn AT gmx.de


I noted this when exec() calls stopped working from php. Curiously a small
test
progrogram showed that exec/fork/popen/... actually worked.

>From the results you can find by searching the web for: glibc popen "not
implemented" i found this one to be most concise and least confused:

http://sources.redhat.com/bugzilla/show_bug.cgi?id=9685

#include <grp.h>
#include <stdio.h>
main()
{
getgrnam("root");
if (!popen("ls", "r"))
perror("popen()");
}

YMMV but it seems the relevant versions are glibc-9 and linux-2.27 ...
linux-2.28. The fix that works here is to compile glibc with sanitized linux
headers:

GLIBC_SANITIZE_HEADERS="y"

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page