Skip to contentSkip to conversation

basic questions regarding clone2()

DISCUSSION Jacky Malcles 2 participants 2 messages Oct 3, 2003 – Oct 9, 2003

lore
Share & tools
lore
#0 lore raw

with ia64, clone2() doesn't set errno to EINVAL when a zero value is specified for child-stack parameter.
what i'd like to know:
- is clone2() code subject to change shortly?
- what should be expected when child-stack is zeroed
- where can i find a manual page ?
many thanks,

Signature · 1 line
 Jacky Malcles    	        Email : [email protected]
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Jacky Malcles

Jacky> with ia64, clone2() doesn't set errno to EINVAL when a zero Jacky> value is specified for child-stack parameter.

Why would you expect EINVAL in this case?

Jacky> what i'd like to know:

Jacky> - is clone2() code subject to change shortly?

There are no plans for changes to clone2().

Jacky> - what should be expected when child-stack is zeroed

Not sure what you mean here.

Jacky> - where can i find a manual page ?

Don't know of a man-page per se, but the ia64 linux kernel design & implementation book has a fairly detailed description of clone2(). clone2() is really just clone() with an explicit stack-range, though.

	--david