Loading security/secretkeeper/default/Android.bp +33 −2 Original line number Diff line number Diff line Loading @@ -22,8 +22,8 @@ rust_binary { name: "android.hardware.security.secretkeeper-service.nonsecure", relative_install_path: "hw", vendor: true, init_rc: ["secretkeeper.rc"], vintf_fragments: ["secretkeeper.xml"], installable: false, // install APEX prefer_rlib: true, rustlibs: [ "android.hardware.security.secretkeeper-V1-rust", "libandroid_logger", Loading @@ -35,3 +35,34 @@ rust_binary { "src/main.rs", ], } prebuilt_etc { name: "secretkeeper.rc", src: "secretkeeper.rc", installable: false, } prebuilt_etc { name: "secretkeeper.xml", src: "secretkeeper.xml", sub_dir: "vintf", installable: false, } apex { name: "com.android.hardware.security.secretkeeper", manifest: "apex_manifest.json", file_contexts: "apex_file_contexts", key: "com.android.hardware.key", certificate: ":com.android.hardware.certificate", vendor: true, updatable: false, binaries: [ "android.hardware.security.secretkeeper-service.nonsecure", ], prebuilts: [ "secretkeeper.rc", "secretkeeper.xml", ], } security/secretkeeper/default/apex_file_contexts 0 → 100644 +3 −0 Original line number Diff line number Diff line (/.*)? u:object_r:vendor_file:s0 /etc(/.*)? u:object_r:vendor_configs_file:s0 /bin/hw/android\.hardware\.security\.secretkeeper-service\.nonsecure u:object_r:hal_secretkeeper_default_exec:s0 security/secretkeeper/default/apex_manifest.json 0 → 100644 +4 −0 Original line number Diff line number Diff line { "name": "com.android.hardware.security.secretkeeper", "version": 1 } No newline at end of file security/secretkeeper/default/secretkeeper.rc +1 −1 Original line number Diff line number Diff line service vendor.secretkeeper /vendor/bin/hw/android.hardware.security.secretkeeper-service.nonsecure service vendor.secretkeeper /apex/com.android.hardware.security.secretkeeper/bin/hw/android.hardware.security.secretkeeper-service.nonsecure interface aidl android.hardware.security.secretkeeper.ISecretkeeper/nonsecure class hal user nobody Loading Loading
security/secretkeeper/default/Android.bp +33 −2 Original line number Diff line number Diff line Loading @@ -22,8 +22,8 @@ rust_binary { name: "android.hardware.security.secretkeeper-service.nonsecure", relative_install_path: "hw", vendor: true, init_rc: ["secretkeeper.rc"], vintf_fragments: ["secretkeeper.xml"], installable: false, // install APEX prefer_rlib: true, rustlibs: [ "android.hardware.security.secretkeeper-V1-rust", "libandroid_logger", Loading @@ -35,3 +35,34 @@ rust_binary { "src/main.rs", ], } prebuilt_etc { name: "secretkeeper.rc", src: "secretkeeper.rc", installable: false, } prebuilt_etc { name: "secretkeeper.xml", src: "secretkeeper.xml", sub_dir: "vintf", installable: false, } apex { name: "com.android.hardware.security.secretkeeper", manifest: "apex_manifest.json", file_contexts: "apex_file_contexts", key: "com.android.hardware.key", certificate: ":com.android.hardware.certificate", vendor: true, updatable: false, binaries: [ "android.hardware.security.secretkeeper-service.nonsecure", ], prebuilts: [ "secretkeeper.rc", "secretkeeper.xml", ], }
security/secretkeeper/default/apex_file_contexts 0 → 100644 +3 −0 Original line number Diff line number Diff line (/.*)? u:object_r:vendor_file:s0 /etc(/.*)? u:object_r:vendor_configs_file:s0 /bin/hw/android\.hardware\.security\.secretkeeper-service\.nonsecure u:object_r:hal_secretkeeper_default_exec:s0
security/secretkeeper/default/apex_manifest.json 0 → 100644 +4 −0 Original line number Diff line number Diff line { "name": "com.android.hardware.security.secretkeeper", "version": 1 } No newline at end of file
security/secretkeeper/default/secretkeeper.rc +1 −1 Original line number Diff line number Diff line service vendor.secretkeeper /vendor/bin/hw/android.hardware.security.secretkeeper-service.nonsecure service vendor.secretkeeper /apex/com.android.hardware.security.secretkeeper/bin/hw/android.hardware.security.secretkeeper-service.nonsecure interface aidl android.hardware.security.secretkeeper.ISecretkeeper/nonsecure class hal user nobody Loading