commit:     31a135d261a9bc1d65b1fa484345a858bab84db8
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 30 05:17:21 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Mar 30 05:17:21 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=31a135d2

libsandbox: whitelist execvpe

URL: https://bugs.gentoo.org/578516
Reported-by: Toralf Förster <toralf.foerster <AT> gmx.de>
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 libsandbox/libsandbox.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c
index cbe1aa1..e809308 100644
--- a/libsandbox/libsandbox.c
+++ b/libsandbox/libsandbox.c
@@ -710,6 +710,7 @@ static int check_access(sbcontext_t *sbcontext, int sb_nr, 
const char *func,
             sb_nr == SB_NR_EXECV     ||
             sb_nr == SB_NR_EXECVP    ||
             sb_nr == SB_NR_EXECVE    ||
+            sb_nr == SB_NR_EXECVPE   ||
             sb_nr == SB_NR_FEXECVE))
        {
                retval = check_prefixes(sbcontext->read_prefixes,

Reply via email to