security: nv_tee_driver: handle "daemon not present" scenario
authorVarun Wadekar <vwadekar@nvidia.com>
Wed, 12 Jun 2013 05:53:54 +0000 (10:53 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:34:22 +0000 (13:34 -0700)
commitdac6c1c7844bdfbf901a1af37c6de467130dbfca
tree372b23a7a9df78a5f8e27692e537c77bf897f11b
parent86eda3416aca4f4863704bb0f6db08a5f6faf09c
security: nv_tee_driver: handle "daemon not present" scenario

During each request from the daemon, set a bit in a global variable
indicating that the daemon is alive and kicking. For each request from
secure world, check this bit to see if the daemon is present, and send
error if not present.

Bug 1291402

Change-Id: Ie8c59a465451b1781b4f379c0b6f661b05a417da
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/237850
(cherry picked from commit 205baa9bb3f4d2ba150253284ac7af9733938a01)
Reviewed-on: http://git-master/r/249869
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Aaron Gamble <jgamble@nvidia.com>
security/nv_tee_driver/tee_fs.c