set PATH variable in each script files to prevent attacks modifying PATH variable 96/76996/1 accepted/tizen/common/20160629.222540 accepted/tizen/ivi/20160629.020858 accepted/tizen/mobile/20160629.020926 accepted/tizen/tv/20160629.020849 accepted/tizen/wearable/20160629.020904 submit/tizen/20160628.084110
authorDongsun Lee <ds73.lee@samsung.com>
Tue, 28 Jun 2016 08:08:27 +0000 (17:08 +0900)
committerDongsun Lee <ds73.lee@samsung.com>
Tue, 28 Jun 2016 08:08:27 +0000 (17:08 +0900)
Change-Id: Ia761ed172d39585a5b2c1561d4fda80166943ef9
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
data/gumd/10_key-manager.post.in
data/scripts/230.key-manager-change-data-dir.patch.sh.in
data/scripts/231.key-manager-migrate-dkek.patch.sh.in
data/scripts/232.key-manager-change-user.patch.sh.in

index 433cd45..812ca38 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 # $1 - user name
 # $2 - uid
index c5670b6..7e39e20 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 # Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
 #
index 0e5815b..b9d952f 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 # Copyright (c) 2015-2016 Samsung Electronics Co., Ltd All Rights Reserved
 #
index ee04adf..430eb7f 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 # Copyright (c) 2015-2016 Samsung Electronics Co., Ltd All Rights Reserved
 #