minix/minix/tests
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
..
blocktest minix/ changes for arm llvm build 2014-12-03 23:40:56 +01:00
ddekit merge libminlib with libc 2014-08-28 18:49:19 +02:00
ds merge libminlib with libc 2014-08-28 18:49:19 +02:00
fbdtest Move all services to /service 2014-07-31 16:00:31 +02:00
kernel merge libminlib with libc 2014-08-28 18:49:19 +02:00
safecopy merge libminlib with libc 2014-08-28 18:49:19 +02:00
check-install /usr/tests/minix-posix/check-install 2014-08-13 16:42:57 +02:00
common-socket.c Add new tests 80 (TCP) and 81 (UDP) 2015-07-08 09:46:56 +02:00
common-socket.h Add new tests 80 (TCP) and 81 (UDP) 2015-07-08 09:46:56 +02:00
common.c test82: share support functions in common.[ch] for test83 2015-07-22 22:24:22 +02:00
common.h test82: share support functions in common.[ch] for test83 2015-07-22 22:24:22 +02:00
magic.h New sources layout 2014-07-31 16:00:30 +02:00
Makefile VFS: check X bit, not R bit, opening executables 2015-08-31 12:55:55 +00:00
Makefile.inc New sources layout 2014-07-31 16:00:30 +02:00
mod.c New sources layout 2014-07-31 16:00:30 +02:00
run VFS: check X bit, not R bit, opening executables 2015-08-31 12:55:55 +00:00
t10a.c New sources layout 2014-07-31 16:00:30 +02:00
t11a.c New sources layout 2014-07-31 16:00:30 +02:00
t11b.c New sources layout 2014-07-31 16:00:30 +02:00
t40a.c New sources layout 2014-07-31 16:00:30 +02:00
t40b.c New sources layout 2014-07-31 16:00:30 +02:00
t40c.c New sources layout 2014-07-31 16:00:30 +02:00
t40d.c New sources layout 2014-07-31 16:00:30 +02:00
t40e.c New sources layout 2014-07-31 16:00:30 +02:00
t40f.c New sources layout 2014-07-31 16:00:30 +02:00
t40g.c New sources layout 2014-07-31 16:00:30 +02:00
t60a.c New sources layout 2014-07-31 16:00:30 +02:00
t60b.c New sources layout 2014-07-31 16:00:30 +02:00
t67a.c New sources layout 2014-07-31 16:00:30 +02:00
t67b.c New sources layout 2014-07-31 16:00:30 +02:00
t68a.c New sources layout 2014-07-31 16:00:30 +02:00
t68b.c New sources layout 2014-07-31 16:00:30 +02:00
t84_h_nonexec.sh libc: add posix_spawn family of functions 2015-07-28 14:18:03 +00:00
t84_h_spawn.c libc: add posix_spawn family of functions 2015-07-28 14:18:03 +00:00
t84_h_spawnattr.c libc: add posix_spawn family of functions 2015-07-28 14:18:03 +00:00
test1.c New sources layout 2014-07-31 16:00:30 +02:00
test2.c New sources layout 2014-07-31 16:00:30 +02:00
test3.c New sources layout 2014-07-31 16:00:30 +02:00
test4.c New sources layout 2014-07-31 16:00:30 +02:00
test5.c New sources layout 2014-07-31 16:00:30 +02:00
test6.c New sources layout 2014-07-31 16:00:30 +02:00
test7.c VFS: add support for F_DUPFD_CLOEXEC 2015-07-20 13:55:10 +00:00
test8.c New sources layout 2014-07-31 16:00:30 +02:00
test9.c New sources layout 2014-07-31 16:00:30 +02:00
test10.c New sources layout 2014-07-31 16:00:30 +02:00
test11.c New sources layout 2014-07-31 16:00:30 +02:00
test12.c New sources layout 2014-07-31 16:00:30 +02:00
test13.c New sources layout 2014-07-31 16:00:30 +02:00
test14.c New sources layout 2014-07-31 16:00:30 +02:00
test15.c New sources layout 2014-07-31 16:00:30 +02:00
test16.c New sources layout 2014-07-31 16:00:30 +02:00
test17.c New sources layout 2014-07-31 16:00:30 +02:00
test18.c New sources layout 2014-07-31 16:00:30 +02:00
test19.c New sources layout 2014-07-31 16:00:30 +02:00
test20.c New sources layout 2014-07-31 16:00:30 +02:00
test21.c New sources layout 2014-07-31 16:00:30 +02:00
test22.c New sources layout 2014-07-31 16:00:30 +02:00
test23.c New sources layout 2014-07-31 16:00:30 +02:00
test24.c New sources layout 2014-07-31 16:00:30 +02:00
test25.c New sources layout 2014-07-31 16:00:30 +02:00
test26.c New sources layout 2014-07-31 16:00:30 +02:00
test27.c New sources layout 2014-07-31 16:00:30 +02:00
test28.c New sources layout 2014-07-31 16:00:30 +02:00
test29.c New sources layout 2014-07-31 16:00:30 +02:00
test30.c New sources layout 2014-07-31 16:00:30 +02:00
test31.c New sources layout 2014-07-31 16:00:30 +02:00
test32.c New sources layout 2014-07-31 16:00:30 +02:00
test33.c New sources layout 2014-07-31 16:00:30 +02:00
test34.c tests: fix clang warnings 2014-09-29 16:16:32 +00:00
test35.c tests: fix clang warnings 2014-09-29 16:16:32 +00:00
test36.c New sources layout 2014-07-31 16:00:30 +02:00
test37.c tests: fix clang warnings 2014-09-29 16:16:32 +00:00
test38.c New sources layout 2014-07-31 16:00:30 +02:00
test39.c New sources layout 2014-07-31 16:00:30 +02:00
test40.c New sources layout 2014-07-31 16:00:30 +02:00
test41.c New sources layout 2014-07-31 16:00:30 +02:00
test42.c tests: fix clang warnings 2014-09-29 16:16:32 +00:00
test43.c New sources layout 2014-07-31 16:00:30 +02:00
test44.c New sources layout 2014-07-31 16:00:30 +02:00
test45.c New sources layout 2014-07-31 16:00:30 +02:00
test45.h New sources layout 2014-07-31 16:00:30 +02:00
test46.c tests: fix clang warnings 2014-09-29 16:16:32 +00:00
test47.c New sources layout 2014-07-31 16:00:30 +02:00
test48.c test48: skip some redundant combinations of parameters 2015-07-08 09:32:17 +02:00
test49.c New sources layout 2014-07-31 16:00:30 +02:00
test50.c New sources layout 2014-07-31 16:00:30 +02:00
test51.c tests: fix clang warnings 2014-09-29 16:16:32 +00:00
test52.c New sources layout 2014-07-31 16:00:30 +02:00
test53.c New sources layout 2014-07-31 16:00:30 +02:00
test54.c New sources layout 2014-07-31 16:00:30 +02:00
test55.c New sources layout 2014-07-31 16:00:30 +02:00
test56.c Add new tests 80 (TCP) and 81 (UDP) 2015-07-08 09:46:56 +02:00
test57.c New sources layout 2014-07-31 16:00:30 +02:00
test57loop.S New sources layout 2014-07-31 16:00:30 +02:00
test58.c New sources layout 2014-07-31 16:00:30 +02:00
test59.c test59: fix status type for mthread_join call 2014-08-24 09:22:35 +00:00
test60.c New sources layout 2014-07-31 16:00:30 +02:00
test61.c New sources layout 2014-07-31 16:00:30 +02:00
test62.c New sources layout 2014-07-31 16:00:30 +02:00
test63.c New sources layout 2014-07-31 16:00:30 +02:00
test64.c New sources layout 2014-07-31 16:00:30 +02:00
test65.c New sources layout 2014-07-31 16:00:30 +02:00
test66.c New sources layout 2014-07-31 16:00:30 +02:00
test66expected.h New sources layout 2014-07-31 16:00:30 +02:00
test67.c New sources layout 2014-07-31 16:00:30 +02:00
test68.c VFS: fix error behavior for partial pipe writes 2015-06-05 18:40:57 +00:00
test69.c New sources layout 2014-07-31 16:00:30 +02:00
test70.c New sources layout 2014-07-31 16:00:30 +02:00
test71.c New sources layout 2014-07-31 16:00:30 +02:00
test72.c libminixfs: better support for read errors and EOF 2015-08-14 18:39:26 +00:00
test73.c libminixfs: add block I/O routines 2014-09-18 12:46:25 +00:00
test74.c libminixfs: add support for memory-mapped holes 2015-08-13 13:46:48 +00:00
test75.c New sources layout 2014-07-31 16:00:30 +02:00
test76.c Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
test77.c Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
test78.c New sources layout 2014-07-31 16:00:30 +02:00
test79.c New sources layout 2014-07-31 16:00:30 +02:00
test80.c tests: resolve new compiler warnings 2015-07-28 14:18:35 +00:00
test81.c tests: resolve new compiler warnings 2015-07-28 14:18:35 +00:00
test82.c test82: share support functions in common.[ch] for test83 2015-07-22 22:24:22 +02:00
test83.c tests: resolve new compiler warnings 2015-07-28 14:18:35 +00:00
test84.c libc: add posix_spawn family of functions 2015-07-28 14:18:03 +00:00
test85.c libminixfs: better support for read errors and EOF 2015-08-14 18:39:26 +00:00
test86.c VFS: check X bit, not R bit, opening executables 2015-08-31 12:55:55 +00:00
testcache.c New sources layout 2014-07-31 16:00:30 +02:00
testcache.h New sources layout 2014-07-31 16:00:30 +02:00
testinterp.sh New sources layout 2014-07-31 16:00:30 +02:00
testisofs.sh tests: reenable testisofs 2014-09-18 13:01:13 +00:00
testkyua.sh New sources layout 2014-07-31 16:00:30 +02:00
testmfs.sh New sources layout 2014-07-31 16:00:30 +02:00
testrelpol.sh Restart policies: Add testing and ProcFS DB 2014-12-10 23:11:25 +01:00
testsh1.sh Porting uuencode/uudecode from NetBSD 2014-09-08 19:51:28 +02:00
testsh2.sh New sources layout 2014-07-31 16:00:30 +02:00
testvm.c libfsdriver: support mmap on FSes with no device 2014-11-15 11:19:52 +00:00
testvm.conf libminixfs/VM: fix memory-mapped file corruption 2015-08-13 13:46:46 +00:00
testvm.h New sources layout 2014-07-31 16:00:30 +02:00
testvnd.sh Importing bin/sh 2014-08-29 12:56:04 -04:00
tvnd.c New sources layout 2014-07-31 16:00:30 +02:00