
For dynamically linked executables, the interpreter is passed a file descriptor of the binary being executed. To this end, VFS opens the target executable, but opening the file fails if it is not readable, even when it is executable. With this patch, when opening the executable, it verifies the X bit rather than the R bit on the file, thus allowing the execution of dynamically linked binaries that are executable but not readable. Add test86 to verify correctness. Change-Id: If3514add6a33b33d52c05a0a627d757bff118d77
Description
Languages
C
78.2%
Roff
10.2%
Assembly
4.6%
Shell
3.7%
Makefile
1.6%
Other
1.2%