Converting stack address to shared-memory object name

Utkarsh Rai utkarsh.rai60 at
Wed Jul 8 12:43:38 UTC 2020

For my GSoC project, I have to provide high-level APIs for sharing isolated
The POSIX compliant high-level way of sharing stacks can be to create a
shared memory object of the stack to be shared through shm_open and then
mmap that to the address space of the current stack. My doubt is,
shm_open() takes the path-name of the shared memory object. Since this is a
high-level API, how does the user 'convert' the stack address to a shared
memory object name?

Dr.Gedare mentioned that one way to deal with naming would be something
like Mr.Sebastian has been doing with specifications. From what I could
gather, it is a hierarchical way of representing objects(Though, I am not
very sure if  I understand this accurately). How can something like this be
implemented for naming stack-addresses?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list