TEEStub: Use TA executable path to find manifest 58/154058/3
authorLukasz Kostyra <l.kostyra@samsung.com>
Thu, 5 Oct 2017 16:26:08 +0000 (18:26 +0200)
committerLukasz Kostyra <l.kostyra@samsung.com>
Fri, 6 Oct 2017 12:08:54 +0000 (14:08 +0200)
commita8a752ec756799d329d3457e8bcef562819ebe57
tree3c1303d5fe04d6e471bf1d945ecfca5de309da03
parent9be223f04eceab4e9fe14ea49dc1eaef5814d816
TEEStub: Use TA executable path to find manifest

When launching downloadable TAs, TEEStub still attempted to
search for TA's manifest on system TA store, which resulted
in crashing TA and failing OpenSession call.

TEEStub now uses argv[0] to extract both UUID and home directory
of TA, which are used to open manifest file.

Change-Id: I7c1037ccc34574517a882c4f3e6532199a6d64f1
TEEStub/PropertyAccess/PropertyApi.cpp
TEEStub/PropertyAccess/PropertyApi.h
TEEStub/teestubmain.cpp