Commit Graph

644 Commits

Author SHA1 Message Date
JING 3d77526160 add umask open/create test 2021-04-29 17:30:43 +08:00
mucor 749420308e fix:shell cmd rm -r crash when open target dir failed
Change-Id: I1146ab12b02aeef3f9a2a0422ee45936f5e4c105
2021-04-29 16:52:13 +08:00
openharmony_ci 8592e04c78 !198 优化quickstart宏定义
Merge pull request !198 from boxi/master
2021-04-29 14:09:51 +08:00
boxi cb140a4442 fix: Optimiz macro of quickstart cmd
Optimiz macro of quickstart cmd.

Close #I3OSYT

Change-Id: I5b96823c6ec7f7eab2c0a80eda8ad30bcf2b9d32
2021-04-29 11:40:01 +08:00
openharmony_ci 1d0a3f022b !186 将VnodeInUseIter和VnodeFreeAll函数改为非递归
Merge pull request !186 from Far/dev
2021-04-29 10:04:50 +08:00
openharmony_ci 6467ebb2dd !194 PathCacheMemoryDump内存占用统计错误
Merge pull request !194 from Far/master
2021-04-29 09:58:45 +08:00
openharmony_ci 67f9f7506c !192 format函数错误分支未释放锁
Merge pull request !192 from Far/fatfs
2021-04-29 09:57:58 +08:00
openharmony_ci 673918d0fc !196 修改quickstart中codingstyle
Merge pull request !196 from boxi/master
2021-04-28 21:14:17 +08:00
boxi 2e011b672f fix: Fix quickstart codingstyle
Fix quickstart codingstyle

Close #I3OPOM

Change-Id: I062e569b64e7cb3eb5e2d59ecadfe58b9055ef2d
2021-04-28 20:37:29 +08:00
openharmony_ci b78b185e07 !193 新增/dev/quickstart节点,作为用户态根进程与其他进程的启动同步通信节点
Merge pull request !193 from boxi/master
2021-04-28 19:46:42 +08:00
boxi 46b63f7153 feat: Add /dev/quickstart to support synchronous communication between processes in user mode startup.
Add /dev/quickstart to support synchronous communication between processes in user mode startup.
Support ioctl cmd:
 QUICKSTART_LISTEN,QUICKSTART_STAGE1,QUICKSTART_STAGE2,QUICKSTART_STAGE3,QUICKSTART_UNREGISTER only for init process;
 QUICKSTART_NOTIFY for other app process.

Close #I3OHO5

Change-Id: If6a56123be93a5bc6b6d1069abda8d872b15fae1
2021-04-28 19:42:06 +08:00
openharmony_ci 77fca10032 !191 remove redundant code in fs
Merge pull request !191 from 野生毛霉君/master
2021-04-28 17:38:26 +08:00
openharmony_ci d5eaed63c0 !191 remove redundant code in fs
Merge pull request !191 from 野生毛霉君/master
2021-04-28 17:38:25 +08:00
Far 5f6656cb36 fix: VnodeInUseIter and VnodeFreeAll used to be recursive
Function VnodeInUseIter and VnodeFreeAll used to be recursive.
Now we traverse the current in-use vnode list to find the vnode in
1 filesystem

Close #I3NN3U
2021-04-28 14:35:29 +08:00
Far 87da7c794c fix: PathCacheMemoryDump miscalculate the RAM usage of PathCache
PathCacheMemoryDump miscalculate the RAM usage of PathCache for not
counting the name field of PathCache, which is allocated with PathCache

Close #I3OBXY
2021-04-28 14:31:31 +08:00
mucor aa34ffe7c7 fix:remove redundant code
Change-Id: I8662952ac9d7912aaf2e2e72f779b3def41d14c4
2021-04-28 09:57:32 +08:00
openharmony_ci 28df6989f9 !185 多核情况下当系统持有调度锁异常时,无异常信息输出
Merge pull request !185 from zhangfanfan2/master
2021-04-28 08:53:15 +08:00
openharmony_ci e5cb9cb56e !187 remove redundant field regions in VmSpace structure
Merge pull request !187 from Harylee/dev
2021-04-28 08:52:49 +08:00
Far 9b2b700fa0 fix: some branch in format does not release the vnode mutex properly
if fatfs_mkfs returns a error, format may return without drop the vnode mutex, which may cause deadlock

Close #I3OFAY
2021-04-27 16:49:23 +08:00
openharmony_ci 34f35524aa !184 add testsuites
Merge pull request !184 from lnlan/master
2021-04-27 09:53:19 +08:00
openharmony_ci 7e698f4b22 !189 添加BOOTENV存放在RAM中的单独配置宏
Merge pull request !189 from boxi/master
2021-04-26 20:46:20 +08:00
openharmony_ci db6ac1f57a !188 fix an inappropriate errno in FatFs.
Merge pull request !188 from JING/master
2021-04-26 20:27:13 +08:00
boxi e28e06b08f fix: Provide a separate configuration macro for boot environment in RAM. 2021-04-26 20:15:46 +08:00
YOUR_NAME 5bf4d1c712 fix: no exception information output, when the system is abnormal
after holding the scheduling lock in SMP.

Change-Id: I6f148d7b36d7aa6d0df09300949f53ea3c3d63b7
2021-04-26 20:13:13 +08:00
boxi bc67393a67 fix: Provide a separate configuration macro for boot environment in RAM. 2021-04-26 19:55:31 +08:00
zhushengle 6d63f75e7f fix:Solve the coupling between the kernel and the structure under ARCH.
Close #I3OAFR

Change-Id: Icea238e20adf402d0ec1fc7e47ff4e58124a5e83
2021-04-26 19:54:49 +08:00
boxi f13b90e430 fix: Provide a separate configuration macro for boot environment in RAM.
Provide a separate configuration macro for boot environment in RAM.
Depends on: Need to copy boot environment data to the specified ram by boot.

Closes #I3OADR

Change-Id: Ie36a92c0a44f245482d1602c3a6851395944776d
2021-04-26 19:39:52 +08:00
chenjing af61187587 fix: fix the inappropriate errno in FatFs
The errno of unrecognized fat filesystem changes from ENOENT to ENOTSUP.

Close #I3O8IF
2021-04-26 16:18:51 +08:00
Haryslee 20754539e4 remove redundant field regions in VmSpace structure
Change-Id: I626a96376fe6bee69b10ee9b56495d62849c19b7
2021-04-26 14:39:45 +08:00
YOUR_NAME 28aa777191 fix: no exception information output, when the system is abnormal
after holding the scheduling lock in SMP.

Change-Id: Ib10128fede9aa3e00269f1265089a917ffd96d88
2021-04-25 20:53:33 +08:00
YOUR_NAME 0ed8adfe3a fix: no exception information output, when the system is abnormal after holding
the scheduling lock in SMP.

Change-Id: Idb793a5446126e638af52ff78b43bb7f8271317c
2021-04-25 20:16:51 +08:00
lnlan 778c5e17c3 add testsuites
Change-Id: Ice1193d1ae7f2e0d12a2a38a306a6399407f5037
2021-04-25 17:35:47 +08:00
openharmony_ci 806ce4eb26 !183 fix: dereference NULL point bug fix
Merge pull request !183 from MGY917/signal_bug_fix
2021-04-25 14:20:21 +08:00
Guangyao Ma deaa564a66 fix: dereference NULL point bug fix
Change-Id: Ib068696c9280105e209469e875c187d741b704d2
2021-04-25 11:47:05 +08:00
openharmony_ci be40fa1381 !178 当从hashtable中获取Vnode缓存时,需要刷新Vnode的parent指针
Merge pull request !178 from Far/fatfs
2021-04-24 11:30:01 +08:00
openharmony_ci fbdb808d11 !169 los_disk_cache_clear错误日志缺少换行符
Merge pull request !169 from Far/dev
2021-04-24 09:39:54 +08:00
openharmony_ci 677c5624e6 !175 编译qemu工程中制作rootfs镜像时,目标目录不存在
Merge pull request !175 from SimonLi/master
2021-04-24 09:39:09 +08:00
openharmony_ci 9e7af58b2d !181 修复PathCache结构器中的name域被错误地尝试free
Merge pull request !181 from Far/master
2021-04-24 09:33:33 +08:00
Far 9f47faff73 fix: PathCacheFree try to free name field in struct PathCache
The name field of struct PathCache is not allocated. It should not try to free it by free(nc->name)

Close #I3NTH9
2021-04-23 15:28:44 +08:00
openharmony_ci 06576f4c07 !180 用户态异常栈回溯过程LR解析的值不正确
Merge pull request !180 from zhangfanfan2/master
2021-04-23 15:17:41 +08:00
zhangfanfan2 9ab63a41b3 fix:LR value is incorrectly parsed when the user mode exception stack is backtracked 2021-04-23 11:53:06 +08:00
openharmony_ci e93ff481bb !172 【轻量级 PR】:expand HILOG_BUFFER to reduce the probability of hilog loss
Merge pull request !172 from shenchenkai/N/A
2021-04-22 20:17:23 +08:00
openharmony_ci 6085048a95 !179 liteos_a仓中.gitignore文件对打patch生成的冲突文件做了不必要的屏蔽
Merge pull request !179 from boxi/master
2021-04-22 17:22:18 +08:00
boxi 35f7957975 fix: Show conflicting files for git apply or patch -p command
Modify the .gitignore file to display the conflicting files of git apply or patch -px.

Close #I3NNUS

Change-Id: I0ca0e312d0a83326e661d997181167e61b63e4b4
2021-04-22 16:44:46 +08:00
Far f32caa52c6 fix: parent point of vnode found by VfsHashGet should be updated
When fatfs_lookup find a vnode from hashlist, the field parent of vnode should be updated,
because the old parent may be reclaimed.

Close #I3NNFA
2021-04-22 16:24:08 +08:00
openharmony_ci dc90400456 !171 ftruncate新增支持FAT12与FAT16
Merge pull request !171 from JING/ftruncate
2021-04-22 15:21:21 +08:00
openharmony_ci 3e5dec4dc9 !170 若/userdata目录已存在,继续挂载userdata分区
Merge pull request !170 from JING/master
2021-04-22 15:19:54 +08:00
openharmony_ci ba778ec212 !176 当从hashtable中获取vnode缓存时,需要刷新vnode缓存的parent指针
Merge pull request !176 from 野生毛霉君/master
2021-04-22 11:48:58 +08:00
openharmony_ci 0c1ff2ef76 !174 将NORETURN声明放到函数前,KEIL不支持放在函数后
Merge pull request !174 from Caoruihong/fix_noreturn
2021-04-22 11:26:46 +08:00
mucor e8178d5917 refresh parent vnode when get vnode from hash table
Change-Id: I3cc042b1fcd00022bc6ba48e2a05d70f351b83de
2021-04-22 11:23:25 +08:00