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 |
JerryH1011
|
7a6e4c8155
|
fix:修复共享内存shmat和shmdt接口之间存在的死锁问题
close #I40QOM
Change-Id: Ib3783f5d6b1095bf2100ab024fe0235a64355823
Signed-off-by: JerryH1011 <huangjieliang@huawei.com>
|
2021-07-19 14:55:47 +08:00 |
arvinzzz
|
8cde768588
|
refactor: Refactored the kernel boot process and added a init framework
close: #I3I768
Change-Id: I4f801df4abe1a9afdf43391c28276e96a5e81513
|
2021-05-20 16:45:43 +08:00 |
lnlan
|
89e9820189
|
fixed, to set errno in mq_receive and shm_get
Change-Id: Iecd1a896f92522ecc75d099c23761969a83b1d29
|
2021-04-29 19:41:15 +08:00 |
Caoruihong
|
7e73c929a2
|
remove __cplusplus guards in .c files
Change-Id: I052d930d54e63179b17b77f02c107a015f3cfc3f
|
2021-04-19 18:28:25 +08:00 |
mamingshuai
|
73a7b66116
|
update openharmony 1.0.1
|
2021-03-11 18:43:57 +08:00 |
laokz
|
bd9b180b27
|
修复SYSV shm函数:OsShmRegionFree物理页解映射、共享段删除条件,ShmGet操作标志检查,ShmatVmmAlloc对已存在映射的处理。
|
2020-12-01 18:59:22 +08:00 |
Caoruihong
|
63bd69267a
|
drop unnecessary executable file permission mode
Change-Id: Ia6c1f6302407a707b3ec9b805f4c92d8a7970b86
|
2020-10-13 16:37:25 +08:00 |
wenjun
|
6df931fc98
|
add OpenHarmony 1.0 baseline
|
2020-09-08 17:22:24 +08:00 |