projects
/
platform
/
core
/
appfw
/
amd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c26d2b9
)
Revert "Check executable file"
54/248454/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 26 Nov 2020 22:26:08 +0000
(07:26 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 26 Nov 2020 22:26:11 +0000
(07:26 +0900)
This reverts commit
fd64caf483cb85899d976d1beb63bbff7ba49398
.
Change-Id: Id9678ffd143ba9d1a7f0595a890a8b8f08df530f
src/lib/amd_launch.c
patch
|
blob
|
history
diff --git
a/src/lib/amd_launch.c
b/src/lib/amd_launch.c
index 2c2e32b311186322caf465741dfd5df65fbba787..676e44491cfa06371353935a5f7613f95f9207c0 100644
(file)
--- a/
src/lib/amd_launch.c
+++ b/
src/lib/amd_launch.c
@@
-2541,22
+2541,9
@@
static int __check_executable(const struct appinfo *ai)
{
const char *status;
const char *ignore;
- const char *exec;
int enable;
int ret;
- exec = _appinfo_get_value(ai, AIT_EXEC);
- if (exec == NULL) {
- _E("Failed to get executable file path");
- return -ENOENT;
- }
-
- ret = access(exec, X_OK);
- if (ret != 0) {
- _E("%s is not executable. errno(%d)", exec, errno);
- return -errno;
- }
-
status = _appinfo_get_value(ai, AIT_STATUS);
if (status == NULL) {
_E("Failed to get status value");