mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Domen Stangar" <domen.stangar@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: IPC SHM changed; shmat does not return same shared memory address for all processes (virtual) after 2.6.8 ?
Date: Sat, 22 Apr 2006 09:24:46 +0200	[thread overview]
Message-ID: <34af3d780604220024u1aba2fc8y54337b75cfadedae@mail.gmail.com> (raw)

Hello,

can anyone please explain me why there is a change in shmat so that
each process gets different address(looks like virtual) to shared
memory ?
(even though i give parameter shmaddr)

E.g. 8 processes sharing same XImage including xserver on local machine.
If i get different address on each process then xserver fails to
access the image.
This worked fine to kernel version 2.6.8.

Is there any solution to this ?
Will it stay like this in future ?

Thanks,
Domen

                 reply	other threads:[~2006-04-22 18:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34af3d780604220024u1aba2fc8y54337b75cfadedae@mail.gmail.com \
    --to=domen.stangar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®