kernel_liteos_a/kernel
Haryslee 9fdb80f85f fix: 共享内存问题修复
Signed-off-by: Haryslee <lihao189@huawei.com>
背景:父进程移除共享内存并标记SHM_SEG_REMOVE,当子进程资源回收时在
ShmFindSeg接口中判断该共享内存具有SHM_SEG_REMOVE时返回空,但是此时
seg->ds.shm_nattch不为0,不应返回空。
方案:ShmFindSeg接口中增加seg->ds.shm_nattch为0的判断。

close #I47X2Z

Change-Id: I8735cd11ac237b17fa745c50313da0fd0649bb9f
2021-09-23 21:04:36 +08:00
..
base fix: 共享内存问题修复 2021-09-23 21:04:36 +08:00
common !534 pagecache从filep改为使用vnode 2021-09-15 03:51:50 +00:00
extended fix: close file when process interpretor failed 2021-09-18 15:02:22 +08:00
include refactor: 内核目录结构整理 2021-09-08 16:36:28 +08:00
user chore(make): simplify build scripts 2021-09-09 18:56:47 +08:00
BUILD.gn chore: output liteos binaries to target_out_dir 2021-07-22 18:52:24 +08:00
Kconfig refactor: 内核目录结构整理 2021-09-08 16:36:28 +08:00