emulator: respawning when elevated
authorMunkyu Im <munkyu.im@samsung.com>
Thu, 13 Oct 2016 13:18:30 +0000 (22:18 +0900)
committerMunkyu Im <munkyu.im@samsung.com>
Fri, 14 Oct 2016 03:07:01 +0000 (12:07 +0900)
commit98046ab6c35ce83999c9a18811a4e40f307bc0f1
treebd1dc2e28dffd71f70eba73d129cfe15c8641b06
parent1e884dfd8d10ad3c5cbd415467c1723b1e37c0f8
emulator: respawning when elevated

In order to prevent potential elevation of privilege attack, lower
privilege processes can't interfere with higher privilege on Windows.
Emulator is usually launched by emulator manager that has high integrity
level, then drag-and-drop from Explorer (mostly medium integrity level)
does not work.

So, when emulator process has elevated integrity level, we try to
respawn emulator with medium integrity level.

Change-Id: I17f29e411252758098304ba25b60219d07aa0d7c
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/src/emulator.c
tizen/src/util/osutil-win32.c
tizen/src/util/osutil.h
version.rc