linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] NACK on shift-MM_COPY_SEGMENTS for API change
@ 2005-05-05 10:14 Blaisorblade
  2005-05-06 11:04 ` [uml-devel] " Bodo Stroesser
  0 siblings, 1 reply; 3+ messages in thread
From: Blaisorblade @ 2005-05-05 10:14 UTC (permalink / raw)
  To: Bodo Stroesser; +Cc: Jeff Dike, user-mode-linux-devel

I understand the purpose of the patch; however, without any mention about the 
effects (which would be IMHO bad) we no more copy LDT segments on fork/clone, 
which is bad.

The patch moves that to the call of modify_ldt, but that's an hack, since 
currently it's perfectly legitimate that a child uses the father's LDT, 
though maybe uncommon.

It would be better to move LDT copying to an arch-specific helper, defaulting 
to null (i.e. an empty inline) and defined only for i386 and x86-64 (even the 
same def. is ok, probably).
-- 
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade





-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-07 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-05 10:14 [uml-devel] NACK on shift-MM_COPY_SEGMENTS for API change Blaisorblade
2005-05-06 11:04 ` [uml-devel] " Bodo Stroesser
2005-05-07 15:28   ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox