• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "common" : [{
3        "top-sandbox-switch": "ON",
4        "app-base" : [{
5            "sandbox-root" : "/mnt/sandbox/<PackageName>",
6            "mount-paths" : [{
7                    "src-path" : "/config",
8                    "sandbox-path" : "/config",
9                    "sandbox-flags" : [ "bind", "rec" ],
10                    "check-action-status": "false"
11                }, {
12                    "src-path" : "/dev",
13                    "sandbox-path" : "/dev",
14                    "sandbox-flags" : [ "bind", "rec" ],
15                    "check-action-status": "false"
16                }, {
17                    "src-path" : "/proc",
18                    "sandbox-path" : "/proc",
19                    "sandbox-flags" : [ "bind", "rec" ],
20                    "check-action-status": "false"
21                }, {
22                    "src-path" : "/sys",
23                    "sandbox-path" : "/sys",
24                    "sandbox-flags" : [ "bind", "rec" ],
25                    "check-action-status": "false"
26                }, {
27                    "src-path" : "/sys_prod",
28                    "sandbox-path" : "/sys_prod",
29                    "sandbox-flags" : [ "bind", "rec" ],
30                    "check-action-status": "false"
31                }, {
32                    "src-path" : "/system/app",
33                    "sandbox-path" : "/system/app",
34                    "sandbox-flags" : [ "bind", "rec" ],
35                    "check-action-status": "false"
36                }, {
37                    "src-path" : "/system/fonts",
38                    "sandbox-path" : "/system/fonts",
39                    "sandbox-flags" : [ "bind", "rec" ],
40                    "check-action-status": "false"
41                }, {
42                    "src-path" : "/system/lib",
43                    "sandbox-path" : "/system/lib",
44                    "sandbox-flags" : [ "bind", "rec" ],
45                    "check-action-status": "false"
46                }, {
47                    "src-path" : "/system/asan/lib",
48                    "sandbox-path" : "/system/asan/lib",
49                    "sandbox-flags" : [ "bind", "rec" ],
50                    "check-action-status": "false"
51                }, {
52                    "src-path" : "/system/data",
53                    "sandbox-path" : "/system/data",
54                    "sandbox-flags" : [ "bind", "rec" ],
55                    "check-action-status": "false"
56                }, {
57                    "src-path" : "/system/usr",
58                    "sandbox-path" : "/system/usr",
59                    "sandbox-flags" : [ "bind", "rec" ],
60                    "check-action-status": "false"
61                }, {
62                    "src-path" : "/system/profile",
63                    "sandbox-path" : "/system/profile",
64                    "sandbox-flags" : [ "bind", "rec" ],
65                    "check-action-status": "false"
66                }, {
67                    "src-path" : "/system/bin",
68                    "sandbox-path" : "/system/bin",
69                    "sandbox-flags" : [ "bind", "rec" ],
70                    "check-action-status": "false"
71                }, {
72                    "src-path" : "/system/etc",
73                    "sandbox-path" : "/system/etc",
74                    "sandbox-flags" : [ "bind", "rec" ],
75                    "check-action-status": "false"
76                }, {
77                    "src-path" : "/vendor/lib",
78                    "sandbox-path" : "/vendor/lib",
79                    "sandbox-flags" : [ "bind", "rec" ],
80                    "check-action-status": "false"
81                }, {
82                    "src-path" : "/vendor/asan/lib",
83                    "sandbox-path" : "/vendor/asan/lib",
84                    "sandbox-flags" : [ "bind", "rec" ],
85                    "check-action-status": "false"
86                }, {
87                    "src-path" : "/data/app/el1/bundle/public/<PackageName>",
88                    "sandbox-path" : "/data/storage/el1/bundle",
89                    "sandbox-flags" : [ "bind", "rec" ],
90                    "check-action-status": "true"
91                }, {
92                    "src-path" : "/data/app/el2/<currentUserId>/base/<PackageName>",
93                    "sandbox-path" : "/data/storage/el2/base",
94                    "sandbox-flags" : [ "bind", "rec" ],
95                    "check-action-status": "false"
96                },{
97                    "src-path" : "/data/app/el1/<currentUserId>/database/<PackageName>",
98                    "sandbox-path" : "/data/storage/el1/database",
99                    "sandbox-flags" : [ "bind", "rec" ],
100                    "check-action-status": "true"
101                }, {
102                    "src-path" : "/data/app/el2/<currentUserId>/database/<PackageName>",
103                    "sandbox-path" : "/data/storage/el2/database",
104                    "sandbox-flags" : [ "bind", "rec" ],
105                    "check-action-status": "false"
106                }, {
107                    "src-path" : "/data/app/el1/<currentUserId>/base/<PackageName>",
108                    "sandbox-path" : "/data/storage/el1/base",
109                    "sandbox-flags" : [ "bind", "rec" ],
110                    "check-action-status": "true"
111                }, {
112                    "src-path" : "/mnt/hmdfs/<currentUserId>",
113                    "sandbox-path" : "/mnt/hmdfs/<currentUserId>",
114                    "sandbox-flags" : [ "bind", "rec" ],
115                    "check-action-status": "false"
116                }, {
117                    "src-path" : "/mnt/hmdfs/<currentUserId>/account/merge_view/data/<PackageName>",
118                    "sandbox-path" : "/data/storage/el2/distributedfiles",
119                    "sandbox-flags" : [ "bind", "rec" ],
120                    "check-action-status": "false"
121                }, {
122                    "src-path" : "/mnt/hmdfs/<currentUserId>/non_account/merge_view/data/",
123                    "sandbox-path" : "/data/storage/el2/auth_groups",
124                    "sandbox-flags" : [ "bind", "rec" ],
125                    "check-action-status": "false"
126                }, {
127                    "src-path" : "/data/local/ark-cache/<PackageName>",
128                    "sandbox-path" : "/data/storage/ark-cache",
129                    "sandbox-flags" : [ "bind", "rec" ],
130                    "check-action-status": "false"
131                }, {
132                    "src-path" : "/data/local/ark-profile/<currentUserId>/<PackageName>",
133                    "sandbox-path" : "/data/storage/ark-profile",
134                    "sandbox-flags" : [ "bind", "rec" ],
135                    "check-action-status": "false"
136                }, {
137                    "src-path" : "/mnt/share/<currentUserId>/<PackageName>",
138                    "sandbox-path" : "/data/storage/el2/share",
139                    "sandbox-flags" : [ "bind", "rec" ],
140                    "check-action-status": "false"
141                }
142            ],
143            "symbol-links" : [{
144                    "target-name" : "/system/bin",
145                    "link-name" : "/bin",
146                    "check-action-status": "false"
147                }, {
148                    "target-name" : "/system/lib",
149                    "link-name" : "/lib",
150                    "check-action-status": "false"
151                }, {
152                    "target-name" : "/system/etc",
153                    "link-name" : "/etc",
154                    "check-action-status": "false"
155                }, {
156                    "target-name" : "/sys/kernel/debug",
157                    "link-name" : "/d",
158                    "check-action-status": "false"
159                }
160            ]
161        }],
162        "app-resources" : [{
163            "sandbox-root" : "/mnt/sandbox/<PackageName>",
164            "mount-paths" : [{
165                    "src-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
166                    "sandbox-path" : "/data/storage/el1/bundle/nweb",
167                    "sandbox-flags" : [ "bind", "rec" ],
168                    "check-action-status": "false"
169                }, {
170                    "src-path" : "/data/app/el1/bundle/public/ohos.global.systemres",
171                    "sandbox-path" : "/data/storage/el1/bundle/ohos.global.systemres",
172                    "sandbox-flags" : [ "bind", "rec" ],
173                    "check-action-status": "false"
174                }, {
175                    "src-path" : "/system/app/ohos.global.systemres",
176                    "sandbox-path" : "/data/storage/el1/bundle/systemResources",
177                    "sandbox-flags" : [ "bind", "rec" ],
178                    "check-action-status": "false"
179                }, {
180                    "src-path" : "/data/app/el1/bundle/public/ohos.global.systemres.overlay",
181                    "sandbox-path" : "/data/storage/el1/bundle/ohos.global.systemres.overlay",
182                    "sandbox-flags" : [ "bind", "rec" ],
183                    "check-action-status": "false"
184                }, {
185                    "src-path" : "/data/misc",
186                    "sandbox-path" : "/data/storage/el1/bundle/misc",
187                    "sandbox-flags" : [ "bind", "rec" ],
188                    "check-action-status": "false"
189                }
190            ],
191	    "flags-point" : [{
192                    "flags": "DLP_MANAGER",
193                    "sandbox-root" : "/mnt/sandbox/<PackageName>",
194                    "mount-paths" : [{
195                        "src-path" : "/data/app/el2/<currentUserId>/base/<PackageName_index>",
196                        "sandbox-path" : "/data/storage/el2/base",
197                        "sandbox-flags" : [ "bind", "rec" ],
198                        "check-action-status": "false"
199                    },{
200                        "src-path" : "/data/app/el1/<currentUserId>/database/<PackageName_index>",
201                        "sandbox-path" : "/data/storage/el1/database",
202                        "sandbox-flags" : [ "bind", "rec" ],
203                        "check-action-status": "false"
204                    }, {
205                        "src-path" : "/data/app/el2/<currentUserId>/database/<PackageName_index>",
206                        "sandbox-path" : "/data/storage/el2/database",
207                        "sandbox-flags" : [ "bind", "rec" ],
208                        "check-action-status": "false"
209                    }, {
210                        "src-path" : "/data/app/el1/<currentUserId>/base/<PackageName_index>",
211                        "sandbox-path" : "/data/storage/el1/base",
212                        "sandbox-flags" : [ "bind", "rec" ],
213                        "check-action-status": "false"
214                    }
215                    ]}
216            ],
217            "symbol-links" : [
218            ]
219        }]
220    }],
221    "individual" : [{
222        "com.huawei.ohos.hiviewx" : [{
223            "sandbox-switch": "ON",
224            "sandbox-root" : "/mnt/sandbox/<PackageName>",
225            "mount-paths" : [{
226                    "src-path" : "/data/log/",
227                    "sandbox-path" : "/data/log/",
228                    "sandbox-flags" : [ "bind", "rec" ],
229                    "check-action-status": "true"
230                }
231            ],
232            "symbol-links" : []
233        }],
234        "com.huawei.ohos.betaclub" : [{
235            "sandbox-switch": "ON",
236            "sandbox-root" : "/mnt/sandbox/<PackageName>",
237            "mount-paths" : [{
238                    "src-path" : "/data/log/",
239                    "sandbox-path" : "/data/log/",
240                    "sandbox-flags" : [ "bind", "rec" ],
241                    "check-action-status": "true"
242                }
243            ],
244            "symbol-links" : []
245        }],
246        "com.ohos.medialibrary.medialibrarydata" : [{
247            "sandbox-switch": "ON",
248            "sandbox-root" : "/mnt/sandbox/<PackageName>",
249            "mount-paths" : [{
250                    "src-path" : "/storage/media/<currentUserId>",
251                    "sandbox-path" : "/storage/media",
252                    "sandbox-flags" : [ "bind", "rec" ],
253                    "check-action-status": "false"
254                }, {
255                    "src-path" : "none",
256                    "sandbox-path" : "/storage/media/local/epfs",
257                    "sandbox-flags" : [ "MS_NODEV" ],
258                    "fs-type": "epfs",
259                    "check-action-status": "false"
260                }
261            ],
262            "symbol-links" : []
263        }],
264        "com.ohos.launcher" : [{
265            "sandbox-switch": "ON",
266            "sandbox-root" : "/mnt/sandbox/<PackageName>",
267            "mount-paths" : [{
268                    "src-path" : "/data/app/el1/bundle/public/",
269                    "sandbox-path" : "/data/bundles/",
270                    "sandbox-flags" : [ "bind", "rec" ],
271                    "check-action-status": "true"
272                }
273            ],
274            "symbol-links" : []
275        }],
276        "com.ohos.systemui" : [{
277            "sandbox-switch": "ON",
278            "sandbox-root" : "/mnt/sandbox/<PackageName>",
279            "mount-paths" : [{
280                    "src-path" : "/data/app/el1/bundle/public/",
281                    "sandbox-path" : "/data/app/el1/bundle/public/",
282                    "sandbox-flags" : [ "bind", "rec" ],
283                    "check-action-status": "true"
284                }
285            ],
286            "symbol-links" : []
287        }],
288        "com.ohos.permissionmanager" : [{
289            "sandbox-switch": "ON",
290            "sandbox-root" : "/mnt/sandbox/<PackageName>",
291            "mount-paths" : [{
292                    "src-path" : "/data/app/el1/bundle/public/",
293                    "sandbox-path" : "/data/bundles/",
294                    "sandbox-flags" : [ "bind", "rec" ],
295                    "check-action-status": "true"
296                }
297            ],
298            "symbol-links" : []
299        }],
300        "ohos.samples.ecg" : [{
301            "sandbox-switch": "ON",
302            "sandbox-root" : "/mnt/sandbox/<PackageName>",
303            "mount-paths" : [],
304            "flags-point" : [{
305                    "flags": "NOT_SUPPORTED",
306                    "sandbox-root" : "/mnt/sandbox/<PackageName>",
307                    "mount-paths" : [{
308                        "src-path" : "/data/app/el1/bundle/public/",
309                        "sandbox-path" : "/data/bundles/",
310                        "sandbox-flags" : [ "bind", "rec" ],
311                        "check-action-status": "true"
312                        }
313                    ]}, {
314                    "flags": "START_FLAGS_BACKUP",
315                    "sandbox-root" : "/mnt/sandbox/<PackageName>",
316                    "mount-paths" : [{
317                        "src-path" : "/data/app/el1/bundle/public/",
318                        "sandbox-path" : "/data/bundles/",
319                        "sandbox-flags" : [ "bind", "rec" ],
320                        "check-action-status": "true"
321                        }
322                    ]}
323            ],
324            "symbol-links" : []
325        }],
326        "com.ohos.dlpmanager" : [{
327            "sandbox-switch": "ON",
328            "sandbox-root" : "/mnt/sandbox/<PackageName>",
329            "mount-paths" : [{
330                    "src-path" : "/dev/fuse",
331                    "sandbox-path" : "/data/fuse",
332                    "sandbox-flags" : [ "MS_NOSUID", "MS_NODEV", "MS_NOEXEC", "MS_NOATIME", "MS_LAZYTIME" ],
333                    "fs-type": "fuse",
334                    "check-action-status": "false"
335                }
336            ],
337            "symbol-links" : []
338        }],
339        "com.ohos.UserFile.ExternalFileManager" : [{
340            "sandbox-switch": "ON",
341            "sandbox-root" : "/mnt/sandbox/<PackageName>",
342            "mount-paths" : [{
343                    "src-path" : "/data/service/el1/public/storage_daemon/share/public",
344                    "sandbox-path" : "/data/storage/el1/bundle/storage_daemon",
345                    "sandbox-flags" : [ "bind", "rec" ],
346                    "check-action-status": "true"
347                },
348                {
349                    "src-path" : "/mnt/external",
350                    "sandbox-path" : "/mnt/external",
351                    "sandbox-flags" : [ "bind", "rec" ],
352                    "check-action-status": "true"
353                }
354            ],
355            "symbol-links" : []
356        }],
357        "__internal__.com.ohos.render" : [{
358            "sandbox-switch": "ON",
359            "sandbox-root" : "/mnt/sandbox/com.ohos.render/<PackageName>",
360            "mount-paths" : [{
361                    "src-path" : "/dev",
362                    "sandbox-path" : "/dev",
363                    "sandbox-flags" : [ "bind", "rec" ],
364                    "check-action-status": "false"
365                }, {
366                    "src-path" : "/proc",
367                    "sandbox-path" : "/proc",
368                    "sandbox-flags" : [ "bind", "rec" ],
369                    "check-action-status": "false"
370                }, {
371                    "src-path" : "/sys",
372                    "sandbox-path" : "/sys",
373                    "sandbox-flags" : [ "bind", "rec" ],
374                    "check-action-status": "false"
375                }, {
376                    "src-path" : "/system/fonts",
377                    "sandbox-path" : "/system/fonts",
378                    "sandbox-flags" : [ "bind", "rec" ],
379                    "check-action-status": "false"
380                }, {
381                    "src-path" : "/system/etc",
382                    "sandbox-path" : "/system/etc",
383                    "sandbox-flags" : [ "bind", "rec" ],
384                    "check-action-status": "false"
385                }, {
386                    "src-path" : "/data/app/el2/<currentUserId>/base/<PackageName>",
387                    "sandbox-path" : "/data/storage/el2/base",
388                    "sandbox-flags" : [ "bind", "rec" ],
389                    "check-action-status": "true"
390                }, {
391                    "src-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
392                    "sandbox-path" : "/data/storage/el1/bundle/nweb",
393                    "sandbox-flags" : [ "bind", "rec" ],
394                    "check-action-status": "false"
395                }, {
396                    "src-path" : "/system/bin",
397                    "sandbox-path" : "/system/bin",
398                    "sandbox-flags" : [ "bind", "rec" ],
399                    "check-action-status": "false"
400                }, {
401                    "src-path" : "/system/lib",
402                    "sandbox-path" : "/system/lib",
403                    "sandbox-flags" : [ "bind", "rec" ],
404                    "check-action-status": "false"
405                }, {
406                    "src-path" : "/system/app/com.ohos.nweb",
407                    "sandbox-path" : "/system/app/com.ohos.nweb",
408                    "sandbox-flags" : [ "bind", "rec" ],
409                    "check-action-status": "false"
410                }, {
411                    "src-path" : "/vendor/lib",
412                    "sandbox-path" : "/vendor/lib",
413                    "sandbox-flags" : [ "bind", "rec" ],
414                    "check-action-status": "false"
415                }, {
416                    "src-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
417                    "sandbox-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
418                    "sandbox-flags" : [ "bind", "rec" ],
419                    "check-action-status": "false"
420                }
421            ],
422            "symbol-links" : [ {
423                    "target-name" : "/system/etc",
424                    "link-name" : "/etc",
425                    "check-action-status": "false"
426                }, {
427                    "target-name" : "/system/bin",
428                    "link-name" : "/bin",
429                    "check-action-status": "false"
430                }, {
431                    "target-name" : "/system/lib",
432                    "link-name" : "/lib",
433                    "check-action-status": "false"
434                }
435            ]
436        }]
437    }]
438}
439