Hi! > We should probably also check availability of MS_SHARED/MS_PRIVATE/MS_REC/etc. > For example, an old distro like RHEL5.3 has kernel support, but these > flags are not defined in glibc headers ().
We can also add these to an header to include/lapi/ to ensure that they are defined (we do have these definitions allready in testcases/kernel/fs/fs_bind/bin/smount.c so technically we just need to move them there). Then we can get rid of the ifdefs in the test code, but I'm wondering if the kernel version check is enough to be sure these flags are implemented (there seems to be no error checking for unknown flags in fs/namespace.c do_mount() function and it looks like these are simply ignored). -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list