Read the memory of other processes

The

scenario is as follows:
process 1 writes some data by three-party code in memory mem.
the existing code cannot be modified, but the existing code can be read within the process.
the requirement is that the data needs to be shared and read by multiple different processes (read only, not write)

the previous implementation is that shmget () in process 1 creates a shared memory shm, copies data in real time from mem to shm
process 2, and shmat () maps to the same shared memory

question:
because of the high frequency of data updates, this implementation is inefficient
is there any good way to expose the mem of process 1

clipboard.png

Mar.28,2021

you can use pipes or local sockets to build a cs architecture to handle


Let's be honest about interprocess communication. The
operating system is directly KO for this out-of-bounds memory read.
meanwhile mark, to see if there is a better answer.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b328fb-2be16.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b328fb-2be16.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?