Andrew Morton wrote:
"Luck, Tony" <[EMAIL PROTECTED]> wrote:
Various new syscalls which are trickling their way Linuswards and will need
testing and wiring up once they get there:
Are there test-suites for any/all of these new calls?
That's an excellent point.
Guys, architecture maintainers need test suites to verify that the syscalls
actually work as they wire them up. Please share. A stable URL would be
preferred - something which can go into the changlog or conceivably into
the kernel source.
Thanks.
Here is the link to a program for testing unshare system call.
http://prdownloads.sourceforge.net/audit/unshare_test.c?download
Please note that because of a problem in rmdir associated with
bind mounts and clone with CLONE_NEWNS, the test fails while
trying to remove temporary test directory. You can remove that
temporary directory by doing rmdir, twice, from the command line.
The first will fail with EBUSY, but the second will succeed. I have
reported the problem to Ram Pai and Al Viro with a small program
which reproduces the problem. Al told us yesterday that he will
be looking at the problem soon. I have tried multiple rmdirs from
the unshare_test program itself, but for some reason that is not
working. Doing two rmdirs from command line does seem to
remove the directory.
Please let me know if you have trouble downloading/running
the program.
-Janak
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html