Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
f93d708f
S
Startup Init Lite
项目概览
OpenHarmony
/
Startup Init Lite
大约 1 年 前同步成功
通知
3
Star
37
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Startup Init Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f93d708f
编写于
10月 20, 2021
作者:
Z
zhong_ning
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify copyright and unsetenv for uv thread
Signed-off-by:
N
zhong_ning
<
zhong_ning@hoperun.com
>
上级
a86cd8e4
变更
27
隐藏空白更改
内联
并排
Showing
27 changed file
with
30 addition
and
27 deletion
+30
-27
initsync/include/init_stage.h
initsync/include/init_stage.h
+1
-1
services/BUILD.gn
services/BUILD.gn
+1
-1
services/include/init_jobs.h
services/include/init_jobs.h
+1
-1
services/init/adapter/init_adapter.c
services/init/adapter/init_adapter.c
+1
-1
services/init/include/device.h
services/init/include/device.h
+1
-1
services/init/include/init.h
services/init/include/init.h
+1
-1
services/init/include/init_adapter.h
services/init/include/init_adapter.h
+1
-1
services/init/include/init_cmds.h
services/init/include/init_cmds.h
+1
-1
services/init/include/init_jobs_internal.h
services/init/include/init_jobs_internal.h
+1
-1
services/init/include/init_service.h
services/init/include/init_service.h
+1
-1
services/init/include/init_service_manager.h
services/init/include/init_service_manager.h
+1
-1
services/init/init_capability.c
services/init/init_capability.c
+1
-1
services/init/init_common_cmds.c
services/init/init_common_cmds.c
+1
-1
services/init/init_config.c
services/init/init_config.c
+1
-1
services/init/init_service_manager.c
services/init/init_service_manager.c
+1
-1
services/init/lite/init.c
services/init/lite/init.c
+1
-1
services/init/lite/init_cmds.c
services/init/lite/init_cmds.c
+1
-1
services/init/lite/init_jobs.c
services/init/lite/init_jobs.c
+1
-1
services/init/lite/init_service.c
services/init/lite/init_service.c
+1
-1
services/init/lite/init_signal_handler.c
services/init/lite/init_signal_handler.c
+1
-1
services/init/main.c
services/init/main.c
+1
-1
services/init/standard/device.c
services/init/standard/device.c
+1
-1
services/init/standard/init.c
services/init/standard/init.c
+1
-1
services/init/standard/init_jobs.c
services/init/standard/init_jobs.c
+1
-1
services/init/standard/init_service.c
services/init/standard/init_service.c
+4
-1
services/test/unittest/common/BUILD.gn
services/test/unittest/common/BUILD.gn
+1
-1
services/test/unittest/common/cmd_func_test.cpp
services/test/unittest/common/cmd_func_test.cpp
+1
-1
未找到文件。
initsync/include/init_stage.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/BUILD.gn
浏览文件 @
f93d708f
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
services/include/init_jobs.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/adapter/init_adapter.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/include/device.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/include/init.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/include/init_adapter.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/include/init_cmds.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/include/init_jobs_internal.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/include/init_service.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/include/init_service_manager.h
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/init_capability.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/init_common_cmds.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/init_config.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/init_service_manager.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/lite/init.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/lite/init_cmds.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/lite/init_jobs.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/lite/init_service.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/lite/init_signal_handler.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/main.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/standard/device.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/standard/init.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/standard/init_jobs.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
services/init/standard/init_service.c
浏览文件 @
f93d708f
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 202
0-202
1 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -68,6 +68,9 @@ int ServiceExec(const Service *service)
_exit
(
0x7f
);
// 0x7f: user specified
}
}
if
(
unsetenv
(
"UV_THREADPOOL_SIZE"
)
!=
0
)
{
INIT_LOGE
(
"set UV_THREADPOOL_SIZE error : %d."
,
errno
);
}
// L2 Can not be reset env
if
(
execv
(
service
->
pathArgs
.
argv
[
0
],
service
->
pathArgs
.
argv
)
!=
0
)
{
INIT_LOGE
(
"service %s execve failed! err %d."
,
service
->
name
,
errno
);
...
...
services/test/unittest/common/BUILD.gn
浏览文件 @
f93d708f
# Copyright (c) 202
1
Huawei Device Co., Ltd.
# Copyright (c) 202
0
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
services/test/unittest/common/cmd_func_test.cpp
浏览文件 @
f93d708f
/*
* Copyright (c) 202
1
Huawei Device Co., Ltd.
* Copyright (c) 202
0
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录