Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos A
提交
d6dc0642
K
Kernel Liteos A
项目概览
OpenHarmony
/
Kernel Liteos A
大约 2 年 前同步成功
通知
475
Star
414
Fork
55
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos A
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
d6dc0642
编写于
1月 10, 2022
作者:
O
openharmony_ci
提交者:
Gitee
1月 10, 2022
浏览文件
操作
浏览文件
下载
差异文件
!764 Codex告警清除
Merge pull request !764 from xuxinyu/master
上级
9995d8e0
1cdd7307
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
8 addition
and
4 deletion
+8
-4
apps/shell/src/shmsg.c
apps/shell/src/shmsg.c
+2
-0
compat/posix/src/misc.c
compat/posix/src/misc.c
+4
-2
kernel/extended/hidumper/los_hidumper.c
kernel/extended/hidumper/los_hidumper.c
+1
-1
syscall/fs_syscall.c
syscall/fs_syscall.c
+1
-1
未找到文件。
apps/shell/src/shmsg.c
浏览文件 @
d6dc0642
...
...
@@ -364,11 +364,13 @@ void ChildExec(const char *cmdName, char *const paramArray[])
gid
=
getpgrp
();
if
(
gid
<
0
)
{
printf
(
"get group id failed, pgrpid %d, errno %d
\n
"
,
gid
,
errno
);
exit
(
1
);
}
ret
=
tcsetpgrp
(
STDIN_FILENO
,
gid
);
if
(
ret
!=
0
)
{
printf
(
"tcsetpgrp failed, errno %d
\n
"
,
errno
);
exit
(
1
);
}
ret
=
execve
(
cmdName
,
paramArray
,
NULL
);
...
...
compat/posix/src/misc.c
浏览文件 @
d6dc0642
...
...
@@ -40,7 +40,6 @@
#include "los_process_pri.h"
#include "los_hw.h"
static
struct
rlimit
g_defaultLimit
=
{
0
};
/*
* Supply some suitable values for constants that may not be present
* in all configurations.
...
...
@@ -168,7 +167,10 @@ int getrlimit(int resource, struct rlimit *rlim)
}
if
(
resourceLimit
==
NULL
)
{
resourceLimit
=
&
g_defaultLimit
;
rlim
->
rlim_cur
=
0
;
rlim
->
rlim_max
=
0
;
return
0
;
}
SCHEDULER_LOCK
(
intSave
);
...
...
kernel/extended/hidumper/los_hidumper.c
浏览文件 @
d6dc0642
...
...
@@ -319,7 +319,7 @@ static INT32 HiDumperIoctl(struct file *filep, INT32 cmd, unsigned long arg)
break
;
case
HIDUMPER_MEM_DATA
:
if
(
g_adapter
.
DumpMemData
!=
NULL
)
{
g_adapter
.
DumpMemData
((
struct
MemDumpParam
*
)
arg
);
g_adapter
.
DumpMemData
((
struct
MemDumpParam
*
)
((
UINTPTR
)
arg
)
);
}
break
;
default:
...
...
syscall/fs_syscall.c
浏览文件 @
d6dc0642
...
...
@@ -2570,7 +2570,7 @@ int SysPselect6(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
((
struct
timeval
*
)
timeout
)
->
tv_usec
=
timeout
->
tv_nsec
/
1000
;
/* 1000, convert ns to us */
if
(
data
!=
NULL
)
{
retVal
=
LOS_ArchCopyFromUser
(
&
(
setl
.
sig
[
0
]),
(
int
*
)
data
[
0
]
,
sizeof
(
sigset_t
));
retVal
=
LOS_ArchCopyFromUser
(
&
(
setl
.
sig
[
0
]),
(
int
*
)
((
UINTPTR
)
data
[
0
])
,
sizeof
(
sigset_t
));
if
(
retVal
!=
0
)
{
ret
=
-
EFAULT
;
FREE_DUP
(
timeout
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录