zhushengle
|
dc479fb7bd
|
feat: 调度去进程化,优化进程线程依赖关系
1.移动LosTaskCB 至los_sched_pri.h, 解决调度与task的依赖关系
2.调度去进程化
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: Ibd3b618cee59f0b323e2b4fb14354c088b60b733
|
2022-01-27 14:30:50 +08:00 |
Far
|
f2861ddfb4
|
fix: 修复futime提示错误22的BUG
调用futime时,系统调用接口函数直接使用了file结构体的f_path字段,该字段在退出前被错误地释放了。
避免该问题需要拷贝一份路径
Signed-off-by: Far <yesiyuan2@huawei.com>
Change-Id: I519ccb38bec323c93aa8cff920143bb3f9931c22
|
2022-01-11 16:05:36 +08:00 |
x-xiny
|
1cdd7307f3
|
Codex告警清除
【背景】
Codex扫描告警清除
【修改方案】
将不可屏蔽告警进行修复
re #I4PNO3
Signed-off-by: xuiny <xuxinyu6@huawei.com>
Change-Id: If6f85eb9679d47e6256f24cdc74246df78da579d
|
2022-01-07 09:49:47 +00:00 |
openharmony_ci
|
fe4082ca9e
|
!709 A核代码静态告警定期清理
Merge pull request !709 from wangchen/1112_codex
|
2021-11-16 06:47:22 +00:00 |
lnlan
|
9ba725c3d4
|
fix: A核代码静态告警定期清理
【背景】A核代码静态告警定期清理
【修改方案】
1,根据codex等工具分析结果,进行必要的规范等问题修改
【影响】
对现有的产品编译不会有影响。
re #I4I0O8
Signed-off-by: wangchen <253227059@qq.com>
|
2021-11-15 02:47:08 +00:00 |
kenneth
|
0f878febb7
|
chore: 修复社区反馈问题Percpu结构体注释错误
修复社区反馈问题Percpu结构体注释错误,排查下其他拼写错误。
close #I4GMLH
Signed-off-by: kenneth <zhushangyuan@huawei.com>
|
2021-11-10 10:20:33 +08:00 |
openharmony_ci
|
a412bfb275
|
!686 增加内核epoll系统调用适配musl接口并增加测试用例
Merge pull request !686 from wangchen/tocommit
|
2021-11-08 01:30:05 +00:00 |
lnlan
|
2251b8a2d1
|
fix: 增加内核epoll系统调用
【背景】增加内核epoll系统调用适配musl接口并增加测试用例
【修改方案】
1, 删除musl仓的porting
2,内核实现epoll对应接口及注册系统调用
3,testsuit目录添加对应的用例
【影响】
对现有的产品编译不会有影响。
re #I4FXPT
Signed-off-by: wangchen <253227059@qq.com>
Change-Id: Ia97ea49067aa1ff47b8c1c83675ac75e75d25955
|
2021-11-05 08:17:43 +00:00 |
openharmony_ci
|
0f8ff8f545
|
!662 fix SYSCALL SysFstat,SysFstat64,SysFstatat64(fix struct kstat with stat) & add 19 IO testcases
Merge pull request !662 from 刘治万/1015_unitest
|
2021-11-04 01:46:08 +00:00 |
lnlan
|
2e3bbf1e61
|
修复ppoll接口"[ERR]OsMemFree check error!"报错
【背景】
1.内核中释放用户空间指针报错:"[ERR]OsMemFree check error!"
2.现有ppoll实现存在问题
3.相关用例需要整理
【修改方案】
1.去掉释放用户空间指针操作
2.更正逻辑错误
3.更正掩码设置与恢复不起作用
4.修复补充现有用例
【影响】
对现有的产品编译不会有影响。
re #I47YWZ
Change-Id: Ib2f60986e9cafb2ea5ef1097ab8552cbb1ede5b4
Signed-off-by: lnlan <lanleinan@163.com>
|
2021-11-02 07:04:35 +00:00 |
pef
|
78a297fd4e
|
修复ppoll接口"[ERR]OsMemFree check error!"报错
【背景】
内核中释放用户空间指针报错:"[ERR]OsMemFree check error!"
【修改方案】
修改SysPpoll函数。
【影响】
对现有的产品编译不会有影响。
re #I47YWZ
Change-Id: Id7f86036870d4f32be8fc438b9aad85cdda59546
Signed-off-by: pef <cyd1997@126.com>
|
2021-10-29 08:14:20 +00:00 |
teamol
|
79839a4325
|
OOfix SYSCALL SysFstat,SysFstat64,SysFstatat64(fix struct kstat with stat) & add 19 IO testcases
1.modifications:
modified: testsuites/unittest/IO/It_test_IO.h
modified: testsuites/unittest/IO/full/IO_test_duplocale_001.cpp
modified: testsuites/unittest/IO/io_test.cpp
2.add 19 testcases:
IO_test_dcgettext_001.cpp
IO_test_dcgettext_002.cpp
IO_test_dcngettext_001.cpp
IO_test_dcngettext_002.cpp
IO_test_dngettext_001.cpp
IO_test_dngettext_002.cpp
IO_test_duplocale_001.cpp
IO_test_locale_001.cpp
IO_test_ngettext_001.cpp
IO_test_nl_langinfo_001.cpp
IO_test_nl_langinfo_l_001.cpp
IO_test_strcasecmp_l_001.cpp
IO_test_strfmon_l_001.cpp
IO_test_strncasecmp_l_001.cpp
It_stdio_hasmntopt_001.cpp
IO_test_gettext_001.cpp
IO_test_locale_002.cpp
IO_test_strcasecmp_l_002.cpp
IO_test_strfmon_l_002.cpp
IO_test_strncasecmp_l_002.cpp
3.influence:
none
Signed-off-by: liuzhiwan <liuzhiwan2020@163.com>
Change-Id: Ib5883ddb14cfd545f2c5b1685a082f098def0965
|
2021-10-29 03:05:20 +00:00 |
teamol
|
a55f68f957
|
fix: fix ppoll
1.modifications:
modified: syscall/fs_syscall.c
2.modify 2 testcases:
IO/full/IO_test_ppoll_001.cpp
IO/full/IO_test_ppoll_002.cpp
3.influence:
none
Signed-off-by: pef <cyd1997@126.com>
Change-Id: I85fc091098a6dfef1a4694a3bbc489640ee6dda2
|
2021-10-28 11:54:19 +00:00 |
openharmony_ci
|
2f6cd46372
|
!664 feat: 支持LOS_TaskJoin 和 LOS_TaskDetach
Merge pull request !664 from zhushengle/Join
|
2021-10-28 08:01:08 +00:00 |
teamol
|
f601c16b9e
|
fix: 增加pselect SYSCALL函数及测试用例
1.modifications:
modified: syscall/fs_syscall.c
modified: syscall/los_syscall.h
modified: syscall/syscall_lookup.h
2.add 1 testcases:
modified: testsuites/unittest/IO/BUILD.gn
modified: testsuites/unittest/IO/full/IO_test_pselect_001.cpp
modified: testsuites/unittest/IO/io_test.cpp
3.influence:
none
re #I45SXU
Signed-off-by: wangchen <253227059@qq.com>
Change-Id: I03a5d464fd5423c360e42f7d141035ce0d83d8a8
|
2021-10-22 09:25:20 +00:00 |
zhushengle
|
37bc11fa88
|
feat: 支持LOS_TaskJoin 和 LOS_TaskDetach
Close #I4EENF
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: Iaa1582f567eb3524262bea383e0b8238b89b5fe2
|
2021-10-19 14:26:10 +08:00 |
Caoruihong
|
63fd8bc39b
|
fix: fix some function declarations
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I3dfcc308de6fc24035d27bc4ed4a65a2d2b6650d
|
2021-09-27 21:01:46 +08:00 |
arvinzzz
|
b3d96d166c
|
refactor: 清理Makefile冗余项
清理Makefile冗余项,各模块Makefile里不需要再次引用公共路径,只需引用私有头文件路径
close: #I49MOO
Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: I2dd7189c866498896461f78bfed5444ae1d86876
|
2021-09-13 18:14:15 +08:00 |
mucor
|
214f44e935
|
fix: syscall review bugfix
close: #149BPF
Signed-off-by: mucor <mucorwang@gmail.com>
|
2021-09-09 15:19:03 +08:00 |
openharmony_ci
|
7cb2ad67bf
|
!570 fix ppoll & add 2 testcases
Merge pull request !570 from guweijie/gwj-kernel-ppoll-20210825
|
2021-08-30 02:06:24 +00:00 |
openharmony_ci
|
8839fdd399
|
!544 fix killpg and waitid
Merge pull request !544 from wangjianjun/waitid
|
2021-08-27 07:48:25 +00:00 |
openharmony_ci
|
a3b480b18e
|
!543 fix:fchdir
Merge pull request !543 from wcc/fs
|
2021-08-27 07:47:34 +00:00 |
teamol
|
defedb6fdf
|
fix: add syscall for ppoll & add 2 testcases
1.modifications:
modified: syscall/los_syscall.h
modified: syscall/misc_syscall.c
modified: syscall/syscall_lookup.h
2.add 3 testcases:
testsuites/unittest/IO/full/IO_test_ppoll_001.cpp
testsuites/unittest/IO/full/IO_test_ppoll_002.cpp
3.influence:
none
Signed-off-by: teamol <28105285@qq.com>
|
2021-08-27 15:37:42 +08:00 |
wcc0
|
e828cbdeac
|
fix: add fchdir api
add fchdir and testcases
Change-Id: Iad724944e727c4a08b8801f109acbbe48f55c283
Signed-off-by: wcc0 <917033401@qq.com>
|
2021-08-24 17:02:40 +08:00 |
Caoruihong
|
9549f5ebd0
|
chore(musl): reduce the modifications of musl
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I32b820bc0eb7465bf54d506e7f5e759ef64101e2
|
2021-08-19 16:07:12 +08:00 |
wjj
|
dc3cc094a7
|
feat: 支持killpg和waitid
killpg:给进程组发信号
waitid:等待进程结束
修改测试用例到full里面
Change-Id: Ice058ab4a6eede8ecbaacea0894c2161e3b9dce2
Signed-off-by: wjj <502004968@qq.com>
|
2021-08-12 18:06:55 +08:00 |
openharmony_ci
|
bbdb977b5e
|
!539 fix fchmod
Merge pull request !539 from wcc/fchmod0
|
2021-08-12 02:29:13 +00:00 |
openharmony_ci
|
0f4d5a4b0c
|
!287 feat(vfs): vfs支持FD_CLOEXEC标记
Merge pull request !287 from MGY917/master
|
2021-08-12 00:36:19 +00:00 |
Guangyao Ma
|
27dca4d857
|
feat(vfs): vfs支持FD_CLOEXEC标记
首先,POSIX规范规定文件描述符需要支持close-on-exec属性,修改前的vfs不支持close-on-exec,当exec系列函数执行时,进程所有的文件将会被关闭(0,1,2也重新被打开)。但是,系统有些时候是不能在exec时关闭全部文件的,例如在执行exec之前,就需要重定向进程的某些文件描述符时(使用dup2),就希望该文件不被关闭,继续保持重定向属性,shell执行进程并重定向其标准输出到文件,这是我们经常做的事情。
BREAKING CHANGE:
执行exec类函数后,进程拥有的文件描述符情况发生变化:修改前,默认关闭所有的进程文件描述符,0,1,2重新打开;修改后,除非文件描述符拥有FD_CLOEXEC标记,否则该描述符不会被关闭。
re #I3U81W
Change-Id: I54e841ac88e9835ec23e97de0cbc906c4e11f5a4
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
|
2021-08-11 15:35:46 +08:00 |
wcc0
|
2f214bf4de
|
fix: add fchmod api
add fchmod api and testcases
Change-Id: I310e9e9d79bbe3fa8dbab6080bbfce8a77b79bb3
Signed-off-by: wcc0 <917033401@qq.com>
|
2021-08-11 14:12:37 +08:00 |
openharmony_ci
|
76507c05a8
|
!477 fix fstatfs api
Merge pull request !477 from wcc/fstatfs
|
2021-08-11 03:34:39 +00:00 |
wcc0
|
4c57aa26ad
|
fix: add fststfs api and unitest
add fststfs api and unitest
Change-Id: I5e9fedd1bc26b77f080faf2fd3f5bf2f4a1dd9f7
Signed-off-by: wcc0 <917033401@qq.com>
|
2021-08-10 09:35:33 +08:00 |
openharmony_ci
|
9c291a4361
|
!481 修复mq_close关闭后仍然占用文件描述符的问题
Merge pull request !481 from lnlan/fix_mqueue_0730
|
2021-07-31 06:07:35 +00:00 |
openharmony_ci
|
1e5d01360b
|
!394 fix apis: setrlimit,gethostname,gethostid
Merge pull request !394 from wcc/misc
|
2021-07-31 03:17:22 +00:00 |
openharmony_ci
|
a7a25bb0a3
|
!382 fix mq by enable mq_notify API
Merge pull request !382 from guweijie/master
|
2021-07-31 03:08:14 +00:00 |
lnlan
|
590c7b4e22
|
fix: 修复mq_close关闭后仍然占用文件描述符的问题
【背景】
mqueue用例压力测试中,会出现无法生成xml现象
【修改方案】
1. 确认是mq_close关闭时未清除用户态文件描述符相关位导致的,
添加清除步骤后,问题解决
【影响】
对现有的产品编译不会有影响。
re #I3ZQDA
Signed-off-by: lanleinan <lanleinan@163.com>
Change-Id: I8d467b361465f516ae7105bef38242bfd4805c60
|
2021-07-30 09:26:22 +00:00 |
wcc
|
09d5bcc22d
|
Merge branch 'master' of gitee.com:openharmony/kernel_liteos_a into misc
|
2021-07-27 01:40:59 +00:00 |
openharmony_ci
|
0dc79479ff
|
!436 toybox升级_内核依赖
Merge pull request !436 from wangchen/toybox
|
2021-07-23 11:21:45 +00:00 |
openharmony_ci
|
0dfa58ca5a
|
!454 toybox update
Merge pull request !454 from Kiita/toybox_update
|
2021-07-23 11:21:44 +00:00 |
teamol
|
4427142d73
|
fix: fix mq function by enable mq_notify api
1.modifications:
modified: compat/posix/include/mqueue.h
modified: compat/posix/src/mqueue.c
modified: syscall/ipc_syscall.c
modified: syscall/los_syscall.h
modified: syscall/syscall_lookup.h
modified: testsuites/unittest/posix/mqueue/posix_mqueue_test.cpp
2.add 5 testcases:
It_posix_queue_205.cpp
It_posix_queue_206.cpp
It_posix_queue_207.cpp
It_posix_queue_208.cpp
It_posix_queue_209.cpp
3.influence:
none
Signed-off-by: teamol <28105285@qq.com>
|
2021-07-23 16:52:21 +08:00 |
openharmony_ci
|
a531bcf389
|
!456 fix: nanosleep 接口的rmtp参数被错误清零
Merge pull request !456 from zhushengle/nanosleep
|
2021-07-23 06:24:31 +00:00 |
zhushengle
|
9458de9ac6
|
fix: nanosleep 接口的rmtp参数被错误清零
posix/linux 标准:
nanosleep 使线程进入到了可被信号中断的状态,当线程睡眠被信号
中断,线程回复运行态时,若rmtp不为NULL,则会将sleep剩余的时间
记录在rmtp参数中返回,但是如果线程sleep过程中未被信号唤醒,
则忽略该参数。
由于鸿蒙中nanosleep是不可被打断的,即rmtp应该被忽略,而不是清零。
Close #I41U0R
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I6622eb43d6782c2b53b99d9df5cfff5f5e1ed79c
|
2021-07-23 10:38:05 +08:00 |
Kiita
|
76f45b3fb2
|
fix: toybox命令升级
【背景】liteos_a toybox 命令升级升级
【修改方案】
1、help命令列表不支持命令删除。
2、cp命令和mv命令拷贝文件失败和文件损坏等问题修复。
3、修复du命令统计nfs文件大小为0问题修复。
4、修复ls命令nfs文件时间打印信息有误问题。
5、更新命令不支持入参列表。
re #I41N2A
Signed-off-by: yansira <yansira@hotmail.com>
Change-Id: I5f5b82e33ba9193ae06e9547182d5b7bac0a3b44
|
2021-07-22 23:40:40 +08:00 |
Caoruihong
|
a8805a65aa
|
feat: add support for gn build system
add BUILD.gn for all kernel modules
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I018446427bf64615f2596d47862b219659b58b34
|
2021-07-21 15:52:40 +08:00 |
wangchen
|
2ff44c4938
|
fix: L1 toybox 命令功能实现
【背景】
解决toybox已支持命令的遗留问题,新增命令功能。
【修改方案】
1. 在内核态对toybox的系统调用进行支持。
【影响】
对现有的产品编译不会有影响。
re #I41N2A
Signed-off-by: wangchen <253227059@qq.com>
|
2021-07-20 20:56:35 +08:00 |
wcc0
|
c9d69e2d1b
|
fix: add capability and amend smoke testcase
add setrlimit,gethostname,gethostid and capability
Change-Id: I0d5f23cb87ec2731fb79e7c5cfbe1ce109ac158a
|
2021-07-16 09:24:44 +08:00 |
openharmony_ci
|
d7387508e3
|
!402 消除编译告警
Merge pull request !402 from x_xiny/master
|
2021-07-09 08:37:20 +00:00 |
x_xiny
|
e4ff04586f
|
fix:消除编译告警
【背景】
消除编译告警
【修改方案】
消除编译告警
re #I3ZC1R
Change-Id: I594d0f57e4cbbdb246a6bef1c978a38228123a34
Signed-off-by: x-xiny <1301913191@qq.com>
Change-Id: I1d75cdcdcf9d06ec28e541cdfea77300da7c6bb1
|
2021-07-08 20:30:33 +08:00 |
openharmony_ci
|
9304a683ad
|
!397 修复内核access chmod chown接口
Merge pull request !397 from JING/kernel
|
2021-07-08 02:36:56 +00:00 |
Caoruihong
|
ac8c2c6d5b
|
fix: minimal compile
fix compile errors in minimal compilation
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I48f4f7b27c684e2c747c1949776c5c4f9e383dec
|
2021-07-07 00:26:33 +08:00 |