projects
/
platform
/
core
/
system
/
update-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2750008
)
Change to execlp from execl about running command
27/310627/2
accepted/tizen/unified/20240507.090835
accepted/tizen/unified/20240507.122806
accepted/tizen/unified/20240507.124146
accepted/tizen/unified/20240507.124203
accepted/tizen/unified/toolchain/20240508.012350
accepted/tizen/unified/x/20240507.051023
author
Jaehoon Chung
<jh80.chung@samsung.com>
Thu, 2 May 2024 12:04:15 +0000
(21:04 +0900)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Fri, 3 May 2024 03:50:58 +0000
(12:50 +0900)
To prevent Svace issue, use execlp instead of execl.
Change-Id: I067bef505796cf2d0a391ead1ab7d1c8f3ad3cbf
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
tools/osu/resize.c
patch
|
blob
|
history
diff --git
a/tools/osu/resize.c
b/tools/osu/resize.c
index 3462b767b0e4213e8aea6f5bc4c64b37a46d70d4..dc99f99261efe4e4dfaece59e93e1f5df6ef8cf0 100644
(file)
--- a/
tools/osu/resize.c
+++ b/
tools/osu/resize.c
@@
-106,7
+106,7
@@
static int run_resize(const char *dev_name)
}
if (pid == 0) {
- execl("/sbin/resize2fs", "resize2fs", dev_name, NULL);
+ execl
p
("/sbin/resize2fs", "resize2fs", dev_name, NULL);
} else {
int r, status;
bool is_ok;