public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: john moser <bluefoxicy@linux.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: shmat -- wtf owns it?
Date: Fri, 23 Jan 2004 22:00:03 -0800	[thread overview]
Message-ID: <20040124060003.GA1025@holomorphy.com> (raw)
In-Reply-To: <20040124055328.008343950@sitemail.everyone.net>

On Fri, Jan 23, 2004 at 09:53:28PM -0800, john moser wrote:
> Okay I've been back and forth through ipc/shm.c and shm.h about 3 or
> 4 times. Yes, rather cursory of me to not read it 40 times.  But,
> seriously.
> Who the FUCK owns a shm segment?  I can't see a way to check the
> creator of a segment of shm in sys_shmat() in ipc/shm.c and I really
> tried too.

There are uid's and gid's associated with shm segments.

c.f. struct ipc_perm


-- wli

      reply	other threads:[~2004-01-24  6:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-24  5:53 shmat -- wtf owns it? john moser
2004-01-24  6:00 ` William Lee Irwin III [this message]

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=20040124060003.GA1025@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=bluefoxicy@linux.net \
    --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