summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2019-03-06 15:18:46 -0800
committerMark Salyzyn <salyzyn@google.com>2019-04-02 19:28:47 +0000
commite419a79329819ee49c184d29acf626f1b2599537 (patch)
tree3a9a347038ec307e493b0627a367e990c41d1214 /trusty/coverage/coverage.cpp
parente44bf1a4a2837100647446a72e10ee203ead7d6a (diff)
ueventd: populate /dev/block/mapper link
Since DM_NAME= is not sent (delete bug) or interpreted with ueventd message, instead probe /sys/devices/virtual/block/dm-X/dm/name when instantiating. Cache the value for later delete. By creating the /dev/block/mapper/<name> nodes, this will give selabel_lookup_best_match an alias to hang its hat on so that the associated /dev/block/dm-X nodes will be suitably labelled and differentiated. NB: For Android, the deletion of the nodes will only happen in the context of fastbootd, update_engine and gsid; otherwise the links and properties created can be considered set-once and persistent. Test: manual inspect /dev/block/mapper/ links Bug: 124072565 Change-Id: I6d9e467970dfdad7b67754ad61084964251eb05f
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions