shmat issue.

From: Manoj Iyer (manjo@austin.ibm.com)
Date: Tue Nov 27 2001 - 18:36:40 EST


Is it possible to do a shared memory attach where the attaching address is
an address where a file was mmapped as MAP_SHARED??

I am attaching a testcase that will do this. I was under the impression
that shmat will attach only unmapped memory.

compile the test as cc -oshm_test shm_test.c

Thanks
Manoj

*******************************************************************************
                The greatest risk is not taking one.
*******************************************************************************



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



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:29 EST