projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886bb0d
)
execute "safe applets" exev if not standalone shell
author
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 10 Jan 2007 00:24:50 +0000
(
00:24
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 10 Jan 2007 00:24:50 +0000
(
00:24
-0000)
(patch by "Eric Spakman" <E.Spakman@inter.nl.net>)
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index 6d96bce5aefb48288d9449017d6a36f83a07ffde..10217fe2f1e8fd7b76e68719d69debd11cce2d9e 100644
(file)
--- a/
shell/ash.c
+++ b/
shell/ash.c
@@
-3717,7
+3717,7
@@
shellexec(char **argv, const char *path, int idx)
clearredir(1);
envp = environment();
- if (strchr(argv[0], '/')
+ if (strchr(argv[0], '/')
|| is_safe_applet(argv[0])
#ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL
|| find_applet_by_name(argv[0])
#endif