minix/distrib
David van Moolenbroek 56ac45c10b VFS: check X bit, not R bit, opening executables
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
2015-08-31 12:55:55 +00:00
..
common Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
sets VFS: check X bit, not R bit, opening executables 2015-08-31 12:55:55 +00:00
Makefile Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
Makefile.inc Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00