Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看到使用 sys v api ( ) 在用户空间进程之间共享内存段非常容易shmget(), shmat(), shmdt(),是否有任何解决方案可以使用相同的 api 从内核到用户空间共享内存。
shmget(), shmat(), shmdt()
我认为在不修改 kenel 文件的情况下无法做到这一点,看看这个 stackoverflow帖子,我指的是这篇文章