Re: [PATCH -mm 0/9] unshare system call (take 3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ingo Molnar wrote:

* JANAK DESAI <[email protected]> wrote:

Patches are organized as follows:

1. Patch implementing system call handler sys_unshare. System call
  accepts all clone(2) flags but returns -EINVAL when attempt is
  made to unshare any shared context.
2. Patch registering system call for i386 architecture
3. Patch registering system call for powerpc architecture
4. Patch registering system call for ppc architecture
5. Patch registering system call for x86_64 architecture
6. Patch implementing unsharing of filesystem information
7. Patch implementing unsharing of namespace
8. Patch implementing unsharing of vm
9. Patch implementing unsharing of files

Unsharing of singnal handlers is still not implemented. As far as I can tell, issues raised by Chris Wright regarding possible problems stemming from interaction of timers with unsharing of signal handlers, has been resolved by a 2.6.14 patch that fixed race in send_sigqueue with thread exit. However, I do want to understand the code better and experiment with it some more before implementing signal handler unsharing. If deemed ok, it would be easy to add that functionality.

yes, it would be preferrable to have them all at once, once it hits upstream. Also, would unsharing the thread group make sense?

	Ingo

Hope you mean all flags when you say "have them all at once" because I
hoping to get unsharing of namespace, fs. files and vm in now then
implementing other primitives in an incremental manner. Since the
reorg, these incremental addition of functionality will not require ABI
changes. Namespace and fs unsharing (in addition to shared tree)
is needed for polyinstantiation, critical component for common criteria
lspp evaluation.

As far as unsharing of thread group, IMO implications of signal
unsharing are even messier than signal handler unsharing. I can
investigate it further if folks see usefulness of doing that. However,
I was hoping to get namespace, fs, files and vm unsharing
upstream first.

-Janak

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux