Re: [Linux-ia64] Shared memory

From: Christoph Rohland <cr_at_sap.com>
Date: 2000-05-25 04:32:32
Hi Ronen,

roneng@ca.ibm.com writes:
> Has anyone had a problem using the shmctl function to change the access
> mode of a shared memory
> block?
> 
> What I am doing is allocating shared memory using mode 666, and writing to
> it, then I use shmctl to change its
> mode to 600, switch to another userid using su, and try and read from the
> shared memory block. on ia32 linux
> I get an permission denied error, on ia64 with the latest turbolinux kernel
> and glibc i can read from that memory
> block.

That's an arch independent bug in the shm code. I will try to make a
fix beginning next week.

Thanks for spotting this,
                		Christoph

-- 
Received on Wed May 24 11:35:31 2000

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:19:59 EST