• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "@ohos/selinux_adapter",
3  "description": "security-enhanced linux(SELINUX) is a mandatory access control mechanism on linux",
4  "version": "3.1",
5  "license": "Apache License 2.0",
6  "publishAs": "code-segment",
7  "segment": {
8    "destPath": "base/security/selinux_adapter"
9  },
10  "scripts": {},
11  "dirs": {},
12  "component": {
13    "name": "selinux_adapter",
14    "subsystem": "security",
15    "adapted_system_type": [
16      "standard"
17    ],
18    "rom": "3072KB",
19    "ram": "3072KB",
20    "deps": {
21      "components": [
22        "hilog"
23      ],
24      "third_party": [
25        "pcre2",
26        "selinux",
27        "bounds_checking_function"
28      ]
29    },
30    "build": {
31      "sub_component": [
32        "//base/security/selinux_adapter:selinux_group"
33      ],
34      "inner_kits": [
35        {
36          "name": "//base/security/selinux_adapter:libload_policy",
37          "header": {
38            "header_files": [
39              "policycoreutils.h"
40            ],
41            "header_base": "//base/security/selinux_adapter/interfaces/policycoreutils/include"
42          }
43        },
44        {
45          "name": "//base/security/selinux_adapter:librestorecon",
46          "header": {
47            "header_files": [
48              "policycoreutils.h"
49            ],
50            "header_base": "//base/security/selinux_adapter/interfaces/policycoreutils/include"
51          }
52        },
53        {
54          "name": "//base/security/selinux_adapter:libhap_restorecon",
55          "header": {
56            "header_files": [
57              "hap_restorecon.h"
58            ],
59            "header_base": "//base/security/selinux_adapter/interfaces/policycoreutils/include"
60          }
61        },
62        {
63          "name": "//base/security/selinux_adapter:libparaperm_checker",
64          "header": {
65            "header_files": [
66              "selinux_parameter.h"
67            ],
68            "header_base": "//base/security/selinux_adapter/interfaces/policycoreutils/include"
69          }
70        },
71        {
72          "name": "//base/security/selinux_adapter:libservice_checker",
73          "header": {
74            "header_files": [
75              "service_checker.h",
76              "hdf_service_checker.h"
77            ],
78            "header_base": "//base/security/selinux_adapter/interfaces/policycoreutils/include"
79          }
80        }
81      ],
82      "test": [
83        "//base/security/selinux_adapter/test:unittest"
84      ]
85    }
86  }
87}