zero-copy sharing pinned memory between two linux processes

I am trying to solve a problem of two processes: the first one allocates an opencl pinned memory and the second process uses this buffer to write into using dma access. The equivalent CUDA api is ‘cuMemHostRegister’