Summary: | i386 linuxulator doesn't support more than one LDT | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Edward Tomasz Napierala <trasz> | ||||||||||||
Component: | kern | Assignee: | freebsd-emulation (Nobody) <emulation> | ||||||||||||
Status: | New --- | ||||||||||||||
Severity: | Affects Only Me | CC: | arrowd, emaste, iwtcex, kib | ||||||||||||
Priority: | --- | ||||||||||||||
Version: | CURRENT | ||||||||||||||
Hardware: | Any | ||||||||||||||
OS: | Any | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 247219 | ||||||||||||||
Attachments: |
|
Description
Edward Tomasz Napierala
2020-06-16 20:25:46 UTC
Created attachment 248191 [details]
comment cleanup
I should probably use Phab instead, but, just in case I forget about it, here is a good-enough-for-me patch.
Created attachment 248228 [details]
comment cleanup (v2)
Removed TODO. I'd say linux_set_cloned_tls (in linux32) could use a bit of cleanup, but there is no conflict with this patch.
Created attachment 248297 [details]
comment cleanup (v3)
The slot counter was adjusted not to reset on forking.
Created attachment 248298 [details]
set-thread-area-ubuntu.txt
My actual test case (for people wondering wtf the patch is supposed to improve).
Created attachment 248299 [details]
comment cleanup (v4)
Make the patch actually apply to current (main?).
|