public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* shmat -- wtf owns it?
@ 2004-01-24  5:53 john moser
  2004-01-24  6:00 ` William Lee Irwin III
  0 siblings, 1 reply; 2+ messages in thread
From: john moser @ 2004-01-24  5:53 UTC (permalink / raw)
  To: linux-kernel

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.

_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: shmat -- wtf owns it?
  2004-01-24  5:53 shmat -- wtf owns it? john moser
@ 2004-01-24  6:00 ` William Lee Irwin III
  0 siblings, 0 replies; 2+ messages in thread
From: William Lee Irwin III @ 2004-01-24  6:00 UTC (permalink / raw)
  To: john moser; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-24  6:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-24  5:53 shmat -- wtf owns it? john moser
2004-01-24  6:00 ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox