Implement checking of Tizen policies on TA loading. 25/136225/31
authoru.harbuz <u.harbuz@samsung.com>
Wed, 28 Jun 2017 15:29:28 +0000 (17:29 +0200)
committerUladzislau Harbuz <u.harbuz@samsung.com>
Wed, 4 Oct 2017 13:23:46 +0000 (15:23 +0200)
commit6723d2e4af27e3b2671c64b840030e530340c84b
tree5a94912a5173dc784e414b34c4e51e8eddbb646b
parentc2869247409cce7e02a139d9e735c860dce5e314
Implement checking of Tizen policies on TA loading.

Check if client has Tizen privelege to use TEE.
Allow client to load only TA from its subdirectories.
Allow system applications load TA from system directies.
Add unix socket connection between tee-supplicant and libteec to
allow identify client with cynara.

Change-Id: I8bfecbb4f58f1397d5706cb9af90e0641fbfdec4
libteec/src/tee_client_api.c
packaging/optee-client.spec
tee-supplicant/Makefile
tee-supplicant/src/security.c [new file with mode: 0644]
tee-supplicant/src/security.h [new file with mode: 0644]
tee-supplicant/src/tee_supplicant.c
tee-supplicant/src/unix_socket.c [new file with mode: 0644]
tee-supplicant/src/unix_socket.h [new file with mode: 0644]