|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
|
22 # |
|
23 |
|
24 <transform file path=usr.*/man/.+ -> \ |
|
25 default mangler.man.stability "pass-through volatile"> |
|
26 |
|
27 # Avoid bogus dependencies from testdata. |
|
28 <transform file path=usr/.*/debug/.*/testdata/.*$ -> \ |
|
29 add pkg.depend.bypass-generate .* > |
|
30 |
|
31 # Go has 64-bit test data objects in a 32-bit path. |
|
32 <transform file \ |
|
33 path=usr/lib/golang/.*/src/debug/.*/testdata/.*$ -> \ |
|
34 default pkg.linted.userland.action001.2 true> |
|
35 |
|
36 # ASLR doesn't apply to objects for other platforms. |
|
37 <transform file \ |
|
38 path=usr/lib/golang/.*/src/runtime/race/race_(freebsd|linux)_$(MACH64)\.syso$ -> \ |
|
39 default pkg.linted.userland.action001.2 true> |
|
40 |
|
41 # Go has test data not tagged for ASLR. |
|
42 <transform file \ |
|
43 path=usr/lib/golang/.*/src/debug/.*/testdata/.*$ -> \ |
|
44 default pkg.linted.userland.action001.5 true> |
|
45 |
|
46 # The Go linker does not currently support ASLR. |
|
47 <transform file \ |
|
48 path=usr/lib/golang/.*/pkg/tool/solaris_$(MACH64)/.*$ -> \ |
|
49 default pkg.linted.userland.action001.5 true> |
|
50 <transform file \ |
|
51 path=usr/lib/golang/.*/pkg/bootstrap/bin/.*$ -> \ |
|
52 default pkg.linted.userland.action001.5 true> |
|
53 <transform file \ |
|
54 path=usr/lib/golang/.*/bin/.*$ -> \ |
|
55 default pkg.linted.userland.action001.5 true> |
|
56 <transform file \ |
|
57 path=usr/lib/gocode/.*/bin/.*$ -> \ |
|
58 default pkg.linted.userland.action001.5 true> |