已开启
共享内存 attach/detach IPC 请求未携带名称 #56
yangqi创建于 5 天前
5 天前 将 hlinbo、shw030915、Gao_Victor、qmyyxtl、caowaterman、yangqi12138 设为负责人
5 天前 添加了label:sig/sig-UB-ServiceCore
openeuler-ci-bot
5 天前 评论:
5 天前 评论:
Welcome To openEuler Community
Hey @yangqi12138 , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
Contact Guide
If you have any questions, please contact the SIG: sig-UB-ServiceCore ,
and any of the maintainers: @Gao_Victor, @caowaterman, @hlinbo, @qmyyxtl, @shw030915 ,
and any of the committers: @deepsleep_mem, @liu1103xwxw .


缺陷描述
ShmIpcCommand::IpcCallShmAttach和ShmIpcCommand::IpcCallShmDetach创建 IPC request 后,未将函数入参写入 request 的name_字段。服务端处理请求时无法获得目标共享内存名称。此外,
ubsmem_shmem_attach和ubsmem_shmem_detach已实现并使用默认可见性导出,但公共头文件ubs_mem.h缺少声明,外部调用者无法通过公开接口正常使用。影响分支
masteropenEuler-24.03-LTS-SP4修复方案
request->name_ = name。ubs_mem.h的extern "C"区域声明ubsmem_shmem_attach和ubsmem_shmem_detach。验证
git diff --check通过。制品仓关联