Add check if privileges were properly dropped 64/49164/12
authorRafal Krypa <r.krypa@samsung.com>
Thu, 14 Jan 2016 15:48:19 +0000 (16:48 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Thu, 16 Jun 2016 12:16:37 +0000 (05:16 -0700)
commitb1e0fb389d0a8c2230985b3ea7aab7d363a7e403
tree1688407a4a836ee0bf16fab93b38b72c6f415109
parent6eef187ab9b81e83744e96bedc9c667598e588f6
Add check if privileges were properly dropped

Check if every thread in process has same stats as thread
calling security_manager_prepare_app() and exit from process
if they do not.

Change-Id: I008c2b8e442edb6a5f9f1d74bf13f95465b6bdca
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
packaging/security-manager.spec
src/client/CMakeLists.txt
src/client/check-proper-drop.cpp [new file with mode: 0644]
src/client/client-security-manager.cpp
src/client/include/check-proper-drop.h [new file with mode: 0644]