I've taken TLS patches from Jeff Dike's tree today, and made them compile in 
all SKAS/TT configurations. The errors were easy to fix, however (ever 
because I still remember my code and the comments help).

Btw, D.Bahi, your fixup patch was a bit bogus (doesn't matter when not using 
TT, however).

I've taken (and made apply) these ones:
global-ldt-sem
uml-tls-support-sc-tables
uml-clean-arch_switch
uml-add-tls-support
uml-add-tls-support-flush-empty

And added, on top of them, these ones:

fix-struct-compile (to say user_desc instead of modify_ldt_ldt_s. Will break 
on 2.4 kernel headers on the host)
compile-tt-off-indirect-set-thread-area (make the indirect_* thing compile)
remove-indirect-set-thread-area (remove that thing - should be safe it seems)

I intentionally removed "uml-add-tls-support-debug", as it's debug-only stuff 
IMHO and was used to try to make it work (IIRC).

It never works, it seems, I should check if sometimes it succeeds, indeed, I'm 
doing that with "uml-add-tls-support-debug-check-never-works" (not tested 
yet, don't run yourself unless you really want).

I hadn't written SKAS0 support when I wrote the patches, and they show it 
hasn't been added.

I will shortly publish all the updated patches (against vanilla 2.6.15) under:

http://www.user-mode-linux.org/~blaisorblade/patches/devel-guest/uml-2.6.15-tls-1

in the usual combo + splitout + signature form.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to