On Thu, May 19, 2016 at 03:58:36PM +0800, Fei Jie wrote: [...] > +int > +main(void) > +{ > + static const char source[] = "mount_source"; > + static const char target[] = "mount_target"; > + long rc = syscall(__NR_mount, source, target, "ext2", MS_INVAL, NULL); > + printf("mount(\"%s\", \"%s\", \"ext2\", %#x /* MS_??? */, NULL)" > + " = %ld %s (%m)\n", source, target, MS_INVAL, rc, errno2name()); > + > + puts("+++ exited with 0 +++"); > + return 0;
We want a better test coverage than this, so I've committed a more comprehensive test. -- ldv
pgpo1nRHvwmOz.pgp
Description: PGP signature
------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel