rpmb_dev: add rpmb_dev package
rpmb_dev is a mock implementation of rpmb for storageproxy. It is used on emulation platforms where we don't have real rpmb support in ufs. Change-Id: I7a0d9e3ae2fef4c7652df9558c1d0aaaea328949 Test: storageproxyd Bug: 328769740 Signed-off-by: Yurii Shutkin <shutkin@google.com>
This commit is contained in:
parent
c44cfe952d
commit
f02f35fa9c
3 changed files with 9 additions and 0 deletions
3
trusty/rpmb_dev/rpmb_dev.mk
Normal file
3
trusty/rpmb_dev/rpmb_dev.mk
Normal file
|
@ -0,0 +1,3 @@
|
|||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/trusty/rpmb_dev/sepolicy
|
||||
|
||||
PRODUCT_PACKAGES += rpmb_dev
|
2
trusty/rpmb_dev/sepolicy/file_contexts
Normal file
2
trusty/rpmb_dev/sepolicy/file_contexts
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Binaries
|
||||
/vendor/bin/rpmb_dev u:object_r:rpmb_dev_exec:s0
|
4
trusty/rpmb_dev/sepolicy/rpmb_dev.te
Normal file
4
trusty/rpmb_dev/sepolicy/rpmb_dev.te
Normal file
|
@ -0,0 +1,4 @@
|
|||
type rpmb_dev, domain;
|
||||
type rpmb_dev_exec, vendor_file_type, exec_type, file_type;
|
||||
|
||||
init_daemon_domain(rpmb_dev)
|
Loading…
Add table
Add a link
Reference in a new issue