当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
9 Star 61 Fork 73

OpenHarmony/third_party_Linux_Kernel
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
OAT.xml 8.74 KB
一键复制 编辑 原始数据 按行查看 历史
yinjiaming 提交于 2022-03-14 12:27 . fix: 修复3.1代码检视中的问题
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2021 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
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.
-->
<!--This is the configuration file template for OpenHarmony OSS Audit Tool,
please copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README.
-->
<configuration>
<oatconfig>
<licensefile>COPYING</licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="compatibility" name="LGPL" path=".*" desc="jffs2的license属于例外,uapi头文件也符合linux-syscall-note例外."/>
<policyitem type="compatibility" name="GPL" path=".*" desc="jffs2的license属于例外,uapi头文件也符合linux-syscall-note例外."/>
<policyitem type="compatibility" name="Linux-OpenIB" path=".*" desc="Linux-OpenIB|GPLStyleLicense,按GPL处理."/>
<policyitem type="compatibility" name="HPND-sell-variant" path="include/linux/sunrpc/gss_err.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="zlib-acknowledgement" path="include/linux/zlib.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/ceph/rados.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/sunrpc/gss_asn1.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/uapi/linux/aio_abi.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/uapi/linux/netfilter_bridge/ebt_among.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/fmc-sdb.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/remoteproc.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/license.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/sunrpc/gss_krb5.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/zconf.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/rtc/ds1307.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/rpmsg.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/input/lm8333.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/uapi/linux/parport.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="scripts/package/mkspec" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="REPORTING-BUGS" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/timex.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/zutil.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/uapi/linux/timex.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="scripts/Makefile.modpost" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/crush/crush.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/platform_data/at24.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/parport.h" desc="该文件实际未使用."/>
<policyitem type="compatibility" name="InvalidLicense" path="include/linux/ceph/osdmap.h" desc="该文件实际未使用."/>
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultFilter" desc="Files not to check">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<filteritem type="filepath" name="scripts/.*" desc="官方自带文件"/>
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
</filefilterlist>
<licensematcherlist>
<!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
<licensetext name="
uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
" desc=""/>
<licensetext name="
uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
" desc=""/>
</licensematcher-->
</licensematcherlist>
</oatconfig>
</configuration>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/third_party_Linux_Kernel.git
git@gitee.com:openharmony/third_party_Linux_Kernel.git
openharmony
third_party_Linux_Kernel
third_party_Linux_Kernel
master

搜索帮助