1<?xml version="1.0" encoding="UTF-8"?> 2<!-- Copyright (c) 2021 Huawei Device Co., Ltd. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 16 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. 17 18--> 19 20<configuration> 21 <oatconfig> 22 <licensefile>COPYING</licensefile> 23 <policylist> 24 <policy name="projectPolicy" desc=""> 25 <policyitem type="compatibility" name="GPLStyleLicense" path="*.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="独立进程,独立使用"/> 26 <policyitem type="compatibility" name="LGPL-2.0" path="*.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="独立进程,独立使用"/> 27 <policyitem type="compatibility" name="GPL-2.0+" path="*.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="独立进程,独立使用"/> 28 <policyitem type="compatibility" name="GPL-2.0-or-later" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="独立进程,独立使用"/> 29 <policyitem type="compatibility" name="GPL-3.0+" path="*.*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="独立进程,独立使用"/> 30 </policy> 31 </policylist> 32 <filefilterlist> 33 <filefilter name="defaultFilter" desc="Files not to check"> 34 </filefilter> 35 <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 36 <filteritem type="filename" name="autogen.sh" desc="没有许可证"/> 37 </filefilter> 38 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 39 </filefilter> 40 <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 41 </filefilter> 42 <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 43 </filefilter> 44 <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 45 </filefilter> 46 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 47 <filteritem type="filename" name="COPYING.LIB" desc="LGPL-2.0许可证文件"/> 48 </filefilter> 49 </filefilterlist> 50 <licensematcherlist> 51 <licensematcher name="LGPL-2.0 License" desc="LGPL-2.0 License see the file COPYING.LIB."> 52 <licensetext name=" 53 /* 54 FUSE: Filesystem in Userspace 55 Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu> 56 57 This program can be distributed under the terms of the GNU LGPLv2. 58 See the file COPYING.LIB 59 */ 60 " desc=""/> 61 <licensetext name=" 62 /* 63 FUSE: Filesystem in Userspace 64 Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu> 65 66 This program can be distributed under the terms of the GNU GPL. 67 See the file COPYING. 68 */ 69 " desc=""/> 70 <licensetext name=" 71 /* 72 This file defines the kernel interface of FUSE 73 Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu> 74 75 This program can be distributed under the terms of the GNU GPL. 76 See the file COPYING. 77 78 This and only this header file may also be distributed under 79 the terms of the BSD Licence as follows: 80 81 Copyright (C) 2001-2007 Miklos Szeredi. All rights reserved. 82 83 Redistribution and use in source and binary forms, with or without 84 modification, are permitted provided that the following conditions 85 are met: 86 1. Redistributions of source code must retain the above copyright 87 notice, this list of conditions and the following disclaimer. 88 2. Redistributions in binary form must reproduce the above copyright 89 notice, this list of conditions and the following disclaimer in the 90 documentation and/or other materials provided with the distribution. 91 92 THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 93 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 94 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 95 ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 96 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 97 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 98 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 99 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 100 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 101 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 102 SUCH DAMAGE. 103 * 104 * 7.12 105 * - add umask flag to input argument of open, mknod and mkdir 106 */ 107 " desc=""/> 108 </licensematcher> 109 </licensematcherlist> 110 </oatconfig> 111</configuration> 112