修改许可以协议声明5.0release

Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
This commit is contained in:
ganchuantao 2024-09-13 03:35:42 +00:00 committed by Gitee
parent 36d1058a58
commit 0adcb7cb56
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 38 additions and 52 deletions

10
LICENSE
View File

@ -1,3 +1,13 @@
Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
Because of hiebpf.bpf.c,bpf_log_write.h,fstrace_progs.h,hiebpf_types.h is run at kernel mode, other files
under hiebpf subdirectories is run at user mode, so other files under hiebpf subdirectories use Apache License.
The hiebpf.bpf.c,bpf_log_write.h,fstrace_progs.h,hiebpf_types.h is dual licensed: you can use it
either under the terms of the GPL V2, or the 3-Clause BSD license, at your option.
hiebpf is dual licensed: you can use it either under the terms of
the GPL V2, or the BSD3 license, at your option.
Apache License
Version 2.0, January 2004

View File

@ -96,6 +96,11 @@ Note:If the text contains special characters, please escape them according to th
<filteritem type="filepath" name="host/smartperf/trace_streamer/.gitignore" desc="gitignore file, no license header"/>
<filteritem type="filepath" name="device/plugins/ftrace_plugin/test/unittest/resource/test_comm" desc="test resource file, no license header"/>
<filteritem type="filepath" name="device/plugins/ftrace_plugin/test/unittest/resource/test_tgid" desc="test resource file, no license header"/>
<filteritem type="filepath" name="LICENSE" desc="license file"/>
<filteritem type="filepath" name="hiebpf/src/hiebpf.bpf.c" desc="The hiebpf.bpf.c is dual licensed"/>
<filteritem type="filepath" name="hiebpf/include/bpf_log_writer.h" desc="The bpf_log_write.h is dual licensed"/>
<filteritem type="filepath" name="hiebpf/include/fstrace_progs.h" desc="The fstrace_progs.h is dual licensed"/>
<filteritem type="filepath" name="hiebpf/include/hiebpf_types.h" desc="The hiebpf_types.h is dual licensed"/>
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies" >
<filteritem type="filepath" name="device/plugins/memory_plugin/test/utresources/proc/.*" desc="test resource file, no copyright header"/>

View File

@ -1,18 +1,10 @@
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
* The bpf_log_writer.h is dual licensed: you can use it either under the terms of
* the GPL V2, or the 3-Clause BSD license, at your option.
* See the LICENSE file in the root of this repository for complete details.
*/
#ifndef BPF_LOG_WRITER_H
#define BPF_LOG_WRITER_H

View File

@ -1,17 +1,10 @@
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
* The fstrace_progs.h is dual licensed: you can use it either under the terms of
* the GPL V2, or the 3-Clause BSD license, at your option.
* See the LICENSE file in the root of this repository for complete details.
*/
/* This line is generated to truncate the original file */
/************************** fstrace BPF progs BEGIN *****************************/

View File

@ -1,17 +1,10 @@
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
* The hiebpf_types.h is dual licensed: you can use it either under the terms of
* the GPL V2, or the 3-Clause BSD license, at your option.
* See the LICENSE file in the root of this repository for complete details.
*/
#ifndef HIEBPF_EVENT_STRUCTS_H
#define HIEBPF_EVENT_STRUCTS_H

View File

@ -1,17 +1,10 @@
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
* The hiebpf.bpf.c is dual licensed: you can use it either under the terms of
* the GPL V2, or the 3-Clause BSD license, at your option.
* See the LICENSE file in the root of this repository for complete details.
*/
#include <linux/version.h>
#include "vmlinux.h"