blob: e3468cab8ef80a132825c8107786e5f1cb9119f8 [file] [log] [blame]
Dimitry Ivanovee34aec2017-02-15 14:11:18 -08001# Copyright (C) 2017 The Android Open Source Project
2#
3# Bionic loader config file.
4#
5
6#dir.vendor=/vendor/bin/
7#dir.system=/system/bin/
8
9[vendor]
10
11# When this flag is set to true linker will
12# set target_sdk_version for this binary to
13# the version specified in <dirname>/.version
14# file, where <dirname> = dirname(executable_path)
15#
16# default value is false
17enable.target.sdk.version = true
18
19# There is always the default namespace no
20# need to mention it in this list
21additional.namespaces=system
22
23# Is the namespace isolated
24namespace.default.isolated = true
25namespace.default.search.paths = /vendor/${LIB}
26
27# TODO: property for asan search path?
28namespace.default.permitted.paths = /vendor/${LIB}
29namespace.default.asan.permitted.paths = /data/vendor/${LIB}
30namespace.default.links = system
31
32# Todo complete this list
33namespace.default.link.system.shared_libs = libc.so:libm.so:libdl.so:libstdc++.so
34
35namespace.system.isolated = true
36namespace.system.search.paths = /system/${LIB}:/system/${LIB}/framework
37namespace.system.permitted.paths = /system/${LIB}
38
39[system]
40namespace.default.isolated = true
41namespace.default.search.paths = /system/${LIB}
42namespace.default.permitted.paths = /system/${LIB}
43
44# app_process will setup additional vendor namespace manually.
45# Note that zygote will need vendor namespace to setup list of public
46# libraries provided by vendors to apps.
47