commit bash-20050929 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:51:40 -05:00
parent f6410766e1
commit 668f50077d
8 changed files with 103 additions and 3 deletions
+6
View File
@@ -3855,6 +3855,12 @@ shell_execve (command, args, env)
errno = i;
file_error (command);
}
/* errors not involving the path argument to execve. */
else if (i == E2BIG || i == ENOMEM)
{
errno = i;
file_error (command);
}
else
{
/* The file has the execute bits set, but the kernel refuses to