1f9f848faSopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2f9f848faSopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
3f9f848faSopenharmony_ci
4f9f848faSopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
5f9f848faSopenharmony_ci     you may not use this file except in compliance with the License.
6f9f848faSopenharmony_ci     You may obtain a copy of the License at
7f9f848faSopenharmony_ci
8f9f848faSopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
9f9f848faSopenharmony_ci
10f9f848faSopenharmony_ci     Unless required by applicable law or agreed to in writing, software
11f9f848faSopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
12f9f848faSopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13f9f848faSopenharmony_ci     See the License for the specific language governing permissions and
14f9f848faSopenharmony_ci     limitations under the License.
15f9f848faSopenharmony_ci
16f9f848faSopenharmony_ci-->
17f9f848faSopenharmony_ci
18f9f848faSopenharmony_ci<!--This is the configuration file template for OpenHarmony OSS Audit Tool, 
19f9f848faSopenharmony_ciplease copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README.
20f9f848faSopenharmony_ci-->
21f9f848faSopenharmony_ci
22f9f848faSopenharmony_ci<configuration>
23f9f848faSopenharmony_ci    <oatconfig>
24f9f848faSopenharmony_ci        <licensefile>COPYRIGHT</licensefile>
25f9f848faSopenharmony_ci        <policylist>
26f9f848faSopenharmony_ci            <policy name="projectPolicy" desc="">
27f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/arm/arm/nexus.c" desc="MIT LICENSE 1998"/>
28f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/arm/include/_bus.h" desc="BSD-2-CLAUSE LICENSE"/>
29f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/dev/usb/serial/u3g.c" desc="ISC LICENSE"/>
30f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/sys/mutex.h" desc="BSD-3-CLAUSE LICENSE"/>
31f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/cam/scsi/scsi_all.h" desc="BSD-LIKE LICENSE"/>
32f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/sys/sema.h" desc="BSD-2-CLAUSE LICENSE"/>
33f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/net/ppp_defs.h" desc="BSD-LIKE LICENSE"/>
34f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/sys/sx.h" desc="BSD-2-CLAUSE LICENSE"/>
35f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/dev/usb/net/if_urndis.c" desc="ISC LICENSE"/>
36f9f848faSopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path="sys/dev/usb/net/if_urndisreg.h" desc="ISC LICENSE"/>
37f9f848faSopenharmony_ci                <policyitem type="compatibility" name="SunPro" path="lib/msun/.*" desc="SunPro License" />
38f9f848faSopenharmony_ci            </policy>
39f9f848faSopenharmony_ci        </policylist>
40f9f848faSopenharmony_ci        <filefilterlist>
41f9f848faSopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
42f9f848faSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
43f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
44f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
45f9f848faSopenharmony_ci            </filefilter>
46f9f848faSopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
47f9f848faSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
48f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
49f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
50f9f848faSopenharmony_ci            </filefilter>
51f9f848faSopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
52f9f848faSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
53f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
54f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
55f9f848faSopenharmony_ci            </filefilter>
56f9f848faSopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
57f9f848faSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
58f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
59f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
60f9f848faSopenharmony_ci            </filefilter>
61f9f848faSopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
62f9f848faSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
63f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
64f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
65f9f848faSopenharmony_ci            </filefilter>
66f9f848faSopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
67f9f848faSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
68f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
69f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
70f9f848faSopenharmony_ci            </filefilter>
71f9f848faSopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
72f9f848faSopenharmony_ci                <!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
73f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
74f9f848faSopenharmony_ci                <!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
75f9f848faSopenharmony_ci            </filefilter>
76f9f848faSopenharmony_ci
77f9f848faSopenharmony_ci        </filefilterlist>
78f9f848faSopenharmony_ci        <licensematcherlist>
79f9f848faSopenharmony_ci            <!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
80f9f848faSopenharmony_ci                <licensetext name="
81f9f848faSopenharmony_ci                    uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
82f9f848faSopenharmony_ci				 " desc=""/>
83f9f848faSopenharmony_ci                <licensetext name="
84f9f848faSopenharmony_ci                    uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
85f9f848faSopenharmony_ci				 " desc=""/>
86f9f848faSopenharmony_ci            </licensematcher-->
87f9f848faSopenharmony_ci            <licensematcher name="BSD-3-Clause" desc="">
88f9f848faSopenharmony_ci                <licensetext name="
89f9f848faSopenharmony_ci                    * Copyright (c) 1987 Regents of the University of California.
90f9f848faSopenharmony_ci                    * All rights reserved.
91f9f848faSopenharmony_ci                    *
92f9f848faSopenharmony_ci                    * Redistribution and use in source and binary forms are permitted
93f9f848faSopenharmony_ci                    * provided that the above copyright notice and this paragraph are
94f9f848faSopenharmony_ci                    * duplicated in all such forms and that any documentation,
95f9f848faSopenharmony_ci                    * advertising materials, and other materials related to such
96f9f848faSopenharmony_ci                    * distribution and use acknowledge that the software was developed
97f9f848faSopenharmony_ci                    * by the University of California, Berkeley.  The name of the
98f9f848faSopenharmony_ci                    * University may not be used to endorse or promote products derived
99f9f848faSopenharmony_ci                    * from this software without specific prior written permission.
100f9f848faSopenharmony_ci                    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
101f9f848faSopenharmony_ci                    * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
102f9f848faSopenharmony_ci                    * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
103f9f848faSopenharmony_ci				 " desc=""/>
104f9f848faSopenharmony_ci                <licensetext name="
105f9f848faSopenharmony_ci                    * Permission to use, copy, modify, and distribute this software for any
106f9f848faSopenharmony_ci                    * purpose with or without fee is hereby granted, provided that the above
107f9f848faSopenharmony_ci                    * copyright notice and this permission notice appear in all copies.
108f9f848faSopenharmony_ci                    *
109f9f848faSopenharmony_ci                    * THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES
110f9f848faSopenharmony_ci                    * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
111f9f848faSopenharmony_ci                    * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
112f9f848faSopenharmony_ci                    * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
113f9f848faSopenharmony_ci                    * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
114f9f848faSopenharmony_ci                    * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
115f9f848faSopenharmony_ci                    * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
116f9f848faSopenharmony_ci				 " desc=""/>
117f9f848faSopenharmony_ci            </licensematcher>
118f9f848faSopenharmony_ci            <licensematcher name="MIT" desc="">
119f9f848faSopenharmony_ci                <licensetext name="The author of this software is David M. Gay." desc=""/>
120f9f848faSopenharmony_ci            </licensematcher>
121f9f848faSopenharmony_ci            <licensematcher name="SunPro" desc="" >
122f9f848faSopenharmony_ci                <licensetext name="
123f9f848faSopenharmony_ci                    * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
124f9f848faSopenharmony_ci                    * Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans.
125f9f848faSopenharmony_ci                    *
126f9f848faSopenharmony_ci                    * Developed at SunSoft, a Sun Microsystems, Inc. business.
127f9f848faSopenharmony_ci                    * Permission to use, copy, modify, and distribute this
128f9f848faSopenharmony_ci                    * software is freely granted, provided that this notice 
129f9f848faSopenharmony_ci                    * is preserved.
130f9f848faSopenharmony_ci				 " desc=""/>
131f9f848faSopenharmony_ci                <licensetext name="
132f9f848faSopenharmony_ci                    * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
133f9f848faSopenharmony_ci                    *
134f9f848faSopenharmony_ci                    * Developed at SunSoft, a Sun Microsystems, Inc. business.
135f9f848faSopenharmony_ci                    * Permission to use, copy, modify, and distribute this
136f9f848faSopenharmony_ci                    * software is freely granted, provided that this notice
137f9f848faSopenharmony_ci                    * is preserved.
138f9f848faSopenharmony_ci				 " desc=""/>
139f9f848faSopenharmony_ci                <licensetext name="
140f9f848faSopenharmony_ci                    * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
141f9f848faSopenharmony_ci                    *
142f9f848faSopenharmony_ci                    * Developed at SunPro, a Sun Microsystems, Inc. business.
143f9f848faSopenharmony_ci                    * Permission to use, copy, modify, and distribute this
144f9f848faSopenharmony_ci                    * software is freely granted, provided that this notice
145f9f848faSopenharmony_ci                    * is preserved.
146f9f848faSopenharmony_ci				 " desc=""/>
147f9f848faSopenharmony_ci            </licensematcher>
148f9f848faSopenharmony_ci        </licensematcherlist>
149f9f848faSopenharmony_ci    </oatconfig>
150f9f848faSopenharmony_ci</configuration>
151