could we reallocated a shared memory ? by passing it's address to realloc function , if NO , how I can reallocate the shared memory ?
realloc
You can call mremap(). Alternatively, you can call mmap() again, copy the data, and munmap() the original.
mremap()
mmap()
munmap()