openharmony_ci
43bdf2f1d3
!372 信号管道用例ItPosixPipe005由于偶现性问题暂时下线
...
Merge pull request !372 from phchang/fix_pipe
2021-06-26 10:00:22 +00:00
openharmony_ci
eb1900d4db
!374 设置qemu默认userfs大小/修改qemu驱动目录
...
Merge pull request !374 from MGY917/qemu_opti
2021-06-26 09:30:05 +00:00
Guangyao Ma
1d952a254a
fix: 设置qemu默认userfs大小/修改qemu驱动目录
...
驱动目录位置不合理,需要调整到/device/qemu/drivers下面
close #I3XW96 #I3XWXD
Change-Id: Ied6b90d2d0631c99f2209f5b72bbd12cdff6b1d5
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
2021-06-26 15:38:19 +08:00
vcbchang
bb6abd8c6b
test: 信号管道用例ItPosixPipe005由于偶现性问题暂时下线
...
【背景】信号管道用例ItPosixPipe005偶尔会失败,经查找,发现是CPU调度所致,延时时间与期望调度不符合,增加延时时间即可
【修改方案】修复了此问题,但是考虑pipe用例整体不稳定,并且pipe用例的pipe函数存在问题,先暂时下线,等pipe部分全部修改完毕后再上线。
re #I3XXPH
Signed-off-by: vcbchang <vcbchang@qq.com>
Change-Id: I21831c9f5ef5700f3b3c8da02f945e0c37f31a6a
2021-06-26 15:27:31 +08:00
openharmony_ci
3cddcb9f66
!355 SIOCGIFCONF iotcl,用户态到内核态申请内存大小错误
...
Merge pull request !355 from 刘建东/master
2021-06-26 06:50:12 +00:00
YOUR_NAME
bfd27e78b2
fix: SIOCGIFCONF ioctl malloc size error in kernel
...
use struct ifconf and ifc_buf size malloc memory
close: #I3XEZ3
Signed-off-by: liujiandong <liujiandong1@huawei.com>
2021-06-26 10:26:40 +08:00
openharmony_ci
5db839acef
!362 修复在Liteos-a在FATFS中创建的文件夹在Ubuntu中不可见的BUG
...
Merge pull request !362 from Far/fatfs
2021-06-25 07:20:10 +00:00
openharmony_ci
f4626985fd
!368 fix: Identical condition 'ret<0', second condition is always false. 🐛
...
Merge pull request !368 from Joker2770/master
2021-06-25 07:13:33 +00:00
openharmony_ci
68da7aefc5
!369 修复README_zh-HK.md的链接错误
...
Merge pull request !369 from SimonLi/fix-doc
2021-06-25 06:20:46 +00:00
SimonLi
f1b4c87bc4
fix(doc): 修复README_zh-HK.md的链接错误
...
Signed-off-by: SimonLi <likailong@huawei.com>
2021-06-25 14:13:32 +08:00
Joker2770
1348809807
fix: Identical condition 'ret<0', second condition is always false. 🐛
...
Signed-off-by: Joker2770 <1214220480@qq.com>
2021-06-25 11:26:34 +08:00
openharmony_ci
eb72f78cf1
!363 userfs分区的起始地址与大小改为通过bootargs配置
...
Merge pull request !363 from JING/rootfs
2021-06-25 01:05:16 +00:00
openharmony_ci
12577eade5
!358 feat: L1支持低功耗投票框架
...
Merge pull request !358 from zhushengle/pm_v
2021-06-25 00:26:41 +00:00
openharmony_ci
de6db86df3
!364 GetFileMappingList函数实现未加void导致gcc编译报错
...
Merge pull request !364 from 野生毛霉君/master
2021-06-24 12:47:37 +00:00
mucor
56b8ecaf17
fix: add (void) to GetFileMappingList method
...
close: #I3XPXY
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-24 20:32:47 +08:00
openharmony_ci
1e345f18b3
!338 修复rwlock门禁用例多次测试出现的超时不通过的问题
...
Merge pull request !338 from phchang/rwlock
2021-06-24 10:55:21 +00:00
vcbchang
f793dc1097
test:修复rwlock用例在循环处会卡死的问题
...
【背景】修复rwlock门禁用例多次测试出现的程序会卡死在某一个地方的问题,经查找程序会卡在循环里面
【修改方案】
1.经测试,发现用例在创建线程后对退出标志位做了初始化,但卡在循环中不动的原因是在创建线程后立刻发生了调度,没有来得及初始化,则发生了错误,故会出现卡在循环中的情况。
而且,由于卡在循环中时线程是同一优先级,可能不会发生调度,故在循环里面加了一句可以调度的语句,防止在一处循环卡的太久。
2.将该用例挪出门禁,待稳定后恢复。
【影响】
对其它用例无影响。
re #I3VUX4
Signed-off-by:vcbchang<vcbchang@qq.com>
Change-Id: Ie0f908001f59bfc832c2519104aa2e3188206910
Signed-off-by: vcbchang <vcbchang@qq.com>
2021-06-24 17:17:27 +08:00
openharmony_ci
112cdebe41
!357 修改/proc/mounts显示格式
...
Merge pull request !357 from JING/mount
2021-06-24 08:27:32 +00:00
openharmony_ci
a28dcc38c9
!360 增加清除文件系统缓存的维测接口
...
Merge pull request !360 from 野生毛霉君/master
2021-06-24 07:34:45 +00:00
mucor
3d1cf683f3
feat: add clear cache cmd to /proc/fs_cache
...
write "clear pathcahe" to clear pathcaches and vnodes
write "clear pagecache" to clear pagecaches
write "clear all" to clear both pathcaches and pagechaches
the cache in use will not be cleared
close: #I3XLPH
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-24 15:11:50 +08:00
Far
a9fc1e0e5d
fix: Liteos-a创建的文件夹在Ubuntu中不可见
...
Linux的文件夹需要包含"."和".."才会被视为一个有效的目录
通过在新建的文件夹中创建"."和".."目录项修复这个BUG
Close #I3XMY6
Signed-off-by: Far <yesiyuan2@huawei.com>
2021-06-24 15:09:12 +08:00
chenjing
2e2b14205f
fix: userfs分区的起始地址与大小改为通过bootargs配置
...
在内核解析bootargs参数时,加入对userAddr与userSize两个字段的解析。
1、如果bootargs中配置了userAddr与userSize,则使用配置值划分storage分区。
2、如果bootargs中未配置这两个字段,则storage分区默认紧接在rootfs分区后。
close #I3XNEY
Signed-off-by: chenjing <chenjing139@huawei.com>
Change-Id: Iba63ccd7fc3f7efc1d726c4b38beee5df1d64122
2021-06-24 15:03:53 +08:00
openharmony_ci
b8e18ffdf1
!323 fix: 修复内核堆完整性检查逻辑中访问非法指针导致系统异常问题。
...
Merge pull request !323 from Harylee/mem
2021-06-24 06:45:45 +00:00
zhushengle
21d8ac8752
feat: L1支持低功耗投票框架
...
功能描述:
在proc目录下增加power目录,添加powr_mode,power_lock,power_unlock和power_count节点,
power_mode:节点用于查询和设置系统支持的功耗模式
power_lock:用于查询和获取低功耗锁,持锁后,将会阻止系统进入低功耗状态
power_unlock: 用于释放已经持有的低功耗锁,也可查询当前有那些持有低功耗锁
power_count:用于查询当前持有低功耗锁的个数
Close #I3VS5N
Change-Id: I2e2881cc968eab3c5fa6f9dbd7e8c5e448609407
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-06-24 14:27:23 +08:00
openharmony_ci
008fa8660d
!337 fix: fatfs memory leak
...
Merge pull request !337 from jianjian/master
2021-06-24 05:36:29 +00:00
chenjing
6860246cfa
fix: 修改/proc/mounts显示格式
...
显示信息内容及格式修改为与posix标准一致,内容包括:
1、挂载设备名
2、挂载点路径
3、文件系统类型
4、挂载选项(此项暂不支持,打印())
5、dump频率(此项暂不支持,值为0)
6、fsck检查次序(此项暂不支持,值为0)
close #I3XGCS
Signed-off-by: chenjing <chenjing139@huawei.com>
Change-Id: I2a8cb093e7c5316feb55fb196bc1b4301d8d0249
2021-06-23 17:10:29 +08:00
openharmony_ci
8a3d188240
!347 修改lwip_enhanced编译脚本,更新lwip_enhanced lwip版本到2.1.2
...
Merge pull request !347 from 刘建东/master
2021-06-23 02:27:55 +00:00
openharmony_ci
8f0d25225e
!351 remove HAVE_VENDOR_CONFIG from hdf Makefile in liteos_a
...
Merge pull request !351 from yuanbo/master
2021-06-23 02:06:49 +00:00
openharmony_ci
8fe0cc7770
!344 对proc文件系统内的节点增加uid/gid管理
...
Merge pull request !344 from LeonChan/proc-uid
2021-06-23 01:21:12 +00:00
openharmony_ci
ee4cf83121
!345 add /proc/fd file to dump pid/fd information
...
Merge pull request !345 from LeonChan/proc_fd
2021-06-23 00:42:13 +00:00
openharmony_ci
702d8d9dde
!352 mqueue144与mutex18门禁用例不稳定暂时下线
...
Merge pull request !352 from phchang/fix_test
2021-06-22 12:14:05 +00:00
vcbchang
290a3c6f92
test: mqueue144与mutex18门禁用例不稳定暂时下线
...
【背景】mqueue144与mutex18门禁用例不稳定暂时下线
【修改方案】
将ItPosixQueue144.cpp与ItTestPthreadMutex018.cpp门禁用例暂时放入全量用例里面
re: #I3X4PR
Signed-off-by: vcbchang <vcbchang@qq.com>
Change-Id: I470c6bde70aa2b5956ac50a93f56776901774618
2021-06-22 18:53:03 +08:00
chenwei
600dded31e
feat: add /proc/fd file to dump the pid/fd/path information
...
1, for users with privilege, display all users' fd info with the template "Pid Fd SysFd Path"
2, for normal user, display its own fd info with the template "Pid Fd Path"
close #I3WB5U
Signed-off-by: chenwei <chenwei26@huawei.com>
2021-06-22 17:27:25 +08:00
chenwei
67806596a3
feat: add uid/gid for ProcFs
...
close: #I3WGVP
Signed-off-by: chenwei <chenwei26@huawei.com>
2021-06-22 15:40:00 +08:00
yuanbo
88fe4eb3e1
fix: add product_path parameter for driver build
...
Driver use product_path in hb env as hcs config root path
by default. If it's not exit, try to use device config path.
close: #I3PQ10
Signed-off-by: yuanbo <yuanbo@huawei.com>
2021-06-22 15:18:54 +08:00
openharmony_ci
ca40c79761
!350 增加/proc/fs_cache显示文件系统缓存相关维测信息(重新合入)
...
Merge pull request !350 from 野生毛霉君/master
2021-06-22 07:18:45 +00:00
mucor
231cb6be27
feat: add /proc/fs_cache to display cache info
...
add /proc/fs_cache to display vnode, path cache, page cache.
also change some bad virable name
close: #I3WWBD
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-22 14:53:17 +08:00
openharmony_ci
7f484dfa09
!315 chore: update LOS_BitmapFfz comment
...
Merge pull request !315 from kenneth/LOS_BitmapFfz
2021-06-22 06:34:45 +00:00
openharmony_ci
1fa6ba3389
!314 chore: update typo in rb tree comments
...
Merge pull request !314 from kenneth/BR_Tree
2021-06-22 06:34:30 +00:00
openharmony_ci
b7f2df0350
!334 fix: 修改tzset测试用例运行2遍现象
...
Merge pull request !334 from guweijie/master
2021-06-22 06:29:34 +00:00
openharmony_ci
8bb4538de1
!349 修复当Fatfs开关关闭时,编译失败的问题
...
Merge pull request !349 from 野生毛霉君/master
2021-06-22 03:04:10 +00:00
kenneth
99d7072332
chore: update LOS_BitmapFfz comment
...
函数LOS_BitmapFfz有2个参数,注释中只描述了一个参数,丢失了对参数numBits的描述,影响导出API文档。补充函数注释的@param部分。
close #I3U3SF
Signed-off-by: kenneth <459864689@qq.com>
2021-06-22 10:22:46 +08:00
Haryslee
30f5ab89b7
fix: 修复内核堆完整性检查逻辑中访问非法指针导致系统异常问题。
...
内存完整性校验原有逻辑中当检测到非零异常指针后仍继续访问异常指针
next的内存域导致系统异常。
本次修改后的逻辑为:检测到非零异常指针后直接退出循环,将异常指针
的相关信息输出即可,增加了goto逻辑。对原有功能逻辑无影响。
close #I3VJZT
Change-Id: I5be06a552cf9fd74d8bd78f5cdf04db06eab4f76
Signed-off-by: Haryslee <lihao189@huawei.com>
2021-06-22 09:54:31 +08:00
mucor
fd3f4072b5
fix: compile error when fatfs disabled
...
close: I3WTLZ
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-22 09:50:53 +08:00
openharmony_ci
143efc0fab
!348 回退 'Pull Request !342 : 增加/proc/fs_cache来显示文件系统缓存维测信息'
...
Merge pull request !348 from SimonLi/revert-merge-342-master
2021-06-21 13:55:51 +00:00
SimonLi
2f3d7efc24
回退 'Pull Request !342 : 增加/proc/fs_cache来显示文件系统缓存维测信息'
2021-06-21 21:33:52 +08:00
YOUR_NAME
e76c0046f7
chore: update lwip_enhanced lwip version to 2.1.2
...
update lwip version to 2.1.2 for lwip_enhanced
close: #I3WL4J
Signed-off-by: liujiandong <liujiandong1@huawei.com>
2021-06-21 21:30:31 +08:00
openharmony_ci
b3120b5498
!342 增加/proc/fs_cache来显示文件系统缓存维测信息
...
Merge pull request !342 from 野生毛霉君/master
2021-06-21 17:21:02 +08:00
mucor
53c6d96c6f
feat: add /proc/fs_cache to display cache info
...
add /proc/fs_cache to display vnode, path cache, page cache.
also change some bad virable name
close: #I3WESD
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-21 16:11:06 +08:00
openharmony_ci
3f84ed5075
!340 /proc/mounts显示格式修改
...
Merge pull request !340 from JING/mount
2021-06-21 15:24:32 +08:00