Re: [PATCH] unshare: Cleanup up the sys_unshare interface before weare committed.

From: Paul Mackerras
Date: Sat Mar 18 2006 - 18:38:46 EST


Eric W. Biederman writes:

> - We don't confuse users and developers about the inverted values of
> the clone bits.

Given that the name starts with "un", I would *expect*
unshare(CLONE_FOO) to mean that I no longer want to share FOO.

If you want the argument to have the same sense as in the clone system
call, you will have to call it "share" rather than "unshare" (and then
explain to confused developers why they can't use it to start sharing
things that previously weren't shared :).

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/