diff options
author | Hyotaek Shim <hyotaek.shim@samsung.com> | 2019-04-19 11:12:35 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2019-04-19 02:14:26 +0000 |
commit | 7bb6510342e9dd679c11a994c7da9ec04c340025 (patch) | |
tree | 92d79f62250d15e0d02fe1eecf926063131f94df | |
parent | 36f3d3141e6ce6ebe158fea1a017f18532609714 (diff) | |
download | dbus-tools-tizen_5.0.tar.gz dbus-tools-tizen_5.0.tar.bz2 dbus-tools-tizen_5.0.zip |
Set PATH env explicitly for better securitytizen_5.0
Change-Id: If9f558321e170d9653df6715047949dcbf82900d
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
(cherry picked from commit ed799cffb3a685f77ed130b3f0d143aa07c7759e)
-rwxr-xr-x | policychecker/check.in | 1 | ||||
-rwxr-xr-x | policychecker/get_privileges.in | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/policychecker/check.in b/policychecker/check.in index fd3af57..5b64e2b 100755 --- a/policychecker/check.in +++ b/policychecker/check.in @@ -1,4 +1,5 @@ #!/bin/sh +PATH="/usr/bin:/bin:/usr/sbin:/sbin" set -e diff --git a/policychecker/get_privileges.in b/policychecker/get_privileges.in index e7f69e2..8516abd 100755 --- a/policychecker/get_privileges.in +++ b/policychecker/get_privileges.in @@ -1,8 +1,9 @@ #!/bin/sh +PATH="/usr/bin:/bin:/usr/sbin:/sbin" + # This script extracts and lists privileges from all D-Bus conf files in current directory cmd="xsltproc --nonet --novalid " - privileges="" for i in *.conf |