Re: [RFC][PATCH 4/5] utsname namespaces: sysctl hack
From: Eric W. Biederman
Date: Thu Apr 27 2006 - 08:33:58 EST
Sam Vilain <sam@xxxxxxxxxx> writes:
> Serge E. Hallyn wrote:
>
>>>>Can we please suggest a syscall interface?
>>>>
>>>>
>>
>>Eric,
>>
>>Did you have any ideas for how you'd want to interface to look? Are
>>you fine with the vserver approach?
My preference is for a clone/unshare flag.
My second preference would be a new syscall that simply
creates the interface.
The important point is that we have something that works
and solves the subset of the problem we are working on.
> Eric has said that his understanding was that syscall switches (ie,
> syscalls with subcommands) were bad form.
>
> I understand the concern, but I think while it's still in prototype
> stages, that it's a sensible and pragmatic approach. Once individual
> subcommands are "finalised" then they can be split out into a seperate
> syscall, and any level of backwards compatibility can be maintained by
> whoever needs it.
This is a key point. We are not in prototype stage.
Linux-Vserver, OpenVZ and other less polished implementations
work have already provided that.
Where we are now is implementing well understood subsets of the
problem in a way that everyone can use.
So all that really matters is an interface that is good enough
for the current subset.
Since each subset of the problem can stand on it's own we
can give it a very thorough technical review.
Eric
-
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/