login
Header Space

 
 

[PATCH 0/3] clone64() and unshare64() system calls

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <clg@...>, <serue@...>, David C. Hansen <haveblue@...>, Pavel Emelyanov <xemul@...>, Containers <containers@...>, <linux-kernel@...>
Date: Wednesday, April 9, 2008 - 6:26 pm

This is a resend of the patch set Cedric had sent earlier. I ported
the patch set to 2.6.25-rc8-mm1 and tested on x86 and x86_64.
---

We have run out of the 32 bits in clone_flags !

This patchset introduces 2 new system calls which support 64bit clone-flags.

     long sys_clone64(unsigned long flags_high, unsigned long flags_low,
		unsigned long newsp);

     long sys_unshare64(unsigned long flags_high, unsigned long flags_low);

The current version of clone64() does not support CLONE_PARENT_SETTID and 
CLONE_CHILD_CLEARTID because we would exceed the 6 registers limit of some 
arches. It's possible to get around this limitation but we might not
need it as we already have clone()

This is work in progress but already includes support for x86, x86_64, 
x86_64(32), ppc64, ppc64(32), s390x, s390x(31). 

ia64 already supports 64bits clone flags through the clone2() syscall.
should we harmonize the name to clone2 ?  
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] clone64() and unshare64() system calls, , (Wed Apr 9, 6:26 pm)
Re: [PATCH 0/3] clone64() and unshare64() system calls, H. Peter Anvin, (Wed Apr 9, 8:00 pm)
Re: [PATCH 0/3] clone64() and unshare64() system calls, Cedric Le Goater, (Thu Apr 10, 2:48 am)
Re: [PATCH 0/3] clone64() and unshare64() system calls, H. Peter Anvin, (Wed Apr 9, 9:10 pm)
Re: [PATCH 0/3] clone64() and unshare64() system calls, Cedric Le Goater, (Thu Apr 10, 8:33 am)
Re: [PATCH 0/3] clone64() and unshare64() system calls, H. Peter Anvin, (Thu Apr 10, 12:00 pm)
Re: [PATCH 0/3] clone64() and unshare64() system calls, Paul Menage, (Wed Apr 9, 10:43 pm)
Re: [PATCH 0/3] clone64() and unshare64() system calls, H. Peter Anvin, (Thu Apr 10, 2:31 pm)
Re: [PATCH 3/3] add the clone64() and unshare64() syscalls, H. Peter Anvin, (Wed Apr 9, 11:40 pm)
[PATCH 2/3] add do_unshare(), , (Wed Apr 9, 6:34 pm)
Re: [PATCH 1/3] change clone_flags type to u64, Andi Kleen, (Thu Apr 10, 4:25 am)
Re: [PATCH 1/3] change clone_flags type to u64, Cedric Le Goater, (Thu Apr 10, 8:25 am)
Re: [PATCH 1/3] change clone_flags type to u64, Andi Kleen, (Thu Apr 10, 8:52 am)
Re: [PATCH 1/3] change clone_flags type to u64, Serge E. Hallyn, (Thu Apr 10, 1:14 pm)
Re: [PATCH 1/3] change clone_flags type to u64, Daniel Hokka Zakrisson, (Thu Apr 10, 6:13 pm)
Re: [PATCH 1/3] change clone_flags type to u64, Serge E. Hallyn, (Thu Apr 10, 6:49 pm)
Re: [PATCH 1/3] change clone_flags type to u64, Daniel Hokka Zakrisson, (Fri Apr 11, 4:45 am)
Re: [PATCH 1/3] change clone_flags type to u64, Cedric Le Goater, (Thu Apr 10, 9:18 am)
Re: [PATCH 1/3] change clone_flags type to u64, Kirill Korotaev, (Thu Apr 10, 9:11 am)
Re: [PATCH 1/3] change clone_flags type to u64, Cedric Le Goater, (Thu Apr 10, 9:23 am)
speck-geostationary