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:
bf9f23c
)
Change to execlp from execl about running command
93/310693/1
accepted/tizen/8.0/unified/20240509.175846
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>
Tue, 7 May 2024 01:19:28 +0000
(
01:19
+0000)
To prevent Svace issue, use execlp instead of execl.
Change-Id: I067bef505796cf2d0a391ead1ab7d1c8f3ad3cbf
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
(cherry picked from commit
b579d2a054cfbfa6839725c99a37d201620c2709
)
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;