[uClibc] Bug in (probably) shm, cause: IPC patch of 2005.04.24

Peter S. Mazinger ps.m at gmx.net
Mon May 9 16:43:26 UTC 2005


On Sun, 8 May 2005, Joakim Tjernlund wrote:

> > Hello!
> > 
> > The patch that was added on 2005.04.14 (IPC_64) killed all apps that make 
> > use of shared memory.
> > I am using grsecurity patched kernels (tested both 2.4.30 and 2.6.11)
> > 
> > The apps: icewm, xfwm4, mozilla, xfdesktop, xfce4-session, xfce4-panel.
> > 
> > If the apps are rebuilt against the current uclibc, they trigger a stack 
> > smash protection in X (xorg-x11-6.8.2) in ProtShmAttach(). It is not 
> > relevant if X is rebuilt or not.
> > If I undo the above named patch, none of the apps trigger ssp in X, but 
> > fail themselves until they are rebuilt again against the non-IPC uclibc 
> > version.
> > I can't even tell what happens, my box hanged, only the ssp entry is in 
> > the logs.
> 
> Looks like the shm.h files needed to be updated to the newer IPC_64 interface as well.
> I have commited an update with those files, but not tested it. Please report
> how this works out for you.

does not solve the problem, it behaves as earlier

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list