popen2 popen call

From: F. Heitkamp
Date: Thu Aug 27 2009 - 08:20:04 EST


I am using vanilla kernel 2.6.31-rc7, glibc 2.10.x on a Core 2 Duo system.

When the popen call is made in sshd/session.c I get a error from strerror of "Function not Implemented". I googled a bit and found that there is sometimes an problem between the way the kernel and glibc are compiled that causes glibc not to find the popen2 call in the kernel. The fix seemed to imply I need a certain processor choice when compiling the kernel.

Strangely, simple popen test programs seem to work OK.

Can anyone shed some light on this for me? I would like to get this to work, so my X11 forwarding works in ssh.

BTW, kernels before 2.6.27 don't seem to cause the problem to manifest itself.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/