1 Star 0 Fork 74

hongjin-li/third_party_Linux_Kernel

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
OAT.xml 8.73 KB
一键复制 编辑 原始数据 按行查看 历史
Caoruihong 提交于 2021-09-29 10:51 . fix(oat): filter binary
<?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>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hongjin-li/third_party_Linux_Kernel.git
git@gitee.com:hongjin-li/third_party_Linux_Kernel.git
hongjin-li
third_party_Linux_Kernel
third_party_Linux_Kernel
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385