1 |
commit: 31a135d261a9bc1d65b1fa484345a858bab84db8 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 30 05:17:21 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 30 05:17:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=31a135d2 |
7 |
|
8 |
libsandbox: whitelist execvpe |
9 |
|
10 |
URL: https://bugs.gentoo.org/578516 |
11 |
Reported-by: Toralf Förster <toralf.foerster <AT> gmx.de> |
12 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
13 |
|
14 |
libsandbox/libsandbox.c | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c |
18 |
index cbe1aa1..e809308 100644 |
19 |
--- a/libsandbox/libsandbox.c |
20 |
+++ b/libsandbox/libsandbox.c |
21 |
@@ -710,6 +710,7 @@ static int check_access(sbcontext_t *sbcontext, int sb_nr, const char *func, |
22 |
sb_nr == SB_NR_EXECV || |
23 |
sb_nr == SB_NR_EXECVP || |
24 |
sb_nr == SB_NR_EXECVE || |
25 |
+ sb_nr == SB_NR_EXECVPE || |
26 |
sb_nr == SB_NR_FEXECVE)) |
27 |
{ |
28 |
retval = check_prefixes(sbcontext->read_prefixes, |