mirror of
https://github.com/decompals/wibo.git
synced 2025-12-17 17:05:29 +00:00
setup_linux: Improve segments init & add modify_ldt fallback
This commit is contained in:
@@ -98,8 +98,7 @@ bool initializeLdtBitmapLocked() {
|
||||
if (count > kMaxLdtEntries) {
|
||||
DEBUG_LOG("setup_darwin: i386_get_ldt returned too many entries (%d), truncating to %d\n", count,
|
||||
kMaxLdtEntries);
|
||||
errno = ENOSPC;
|
||||
return false;
|
||||
count = kMaxLdtEntries;
|
||||
}
|
||||
for (int i = 0; i < count; ++i) {
|
||||
markLdtEntryUsed(i);
|
||||
|
||||
Reference in New Issue
Block a user