Port the Samba 4 shm_setup to QNX.