lkml.org 
[lkml]   [2000]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 2.3.51 -- I am still seeing the"shmget: shm filesystem not mounted" error

Jamie Lokier wrote:

> It's more secure too -- and it
> properly fails if your X connection is via a proxy: the current shm
> method can even cause the X server to connect to the _wrong_ shm segment
> under some circumstances (multiple hosts, coincidental ids).

This can easily be worked around: The creator of the segments puts a
random number at the beginning of the segment, sort of a "signature",
and when he communicates the shmid to other processes, he also tells
them the signature. The attaching processes then check whether the
signature they find in the segment is the same as the one they got
communicated.

This technique is employed in XFree86 4.0.


Bruno

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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.026 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site