Quoting gowrishankar ([EMAIL PROTECTED]): > Hi Subrata, > I would like to add new function do_unshared_clone_tests() into libclone > to help unsharing inside the cloned process with mentioned > resources. > > Its usability is scoped to testcases which likes to clone as well as > unshare resources.
CLONE_NEWPID can only be used with clone. CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWUSER, and CLONE_NEWIPC can be used with either clone or unshare. So those things which can be tested with either clone or unshare, should be tested with both. CLONE_NEWPID should only be tested with clone. So I don't see the use for this. Can you send some code actually using it so we can see if it makes sense? thanks, -serge ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
