#ifdef CONFIG_MODIFY_LDT_SYSCALL
seg >>= 3;
mutex_lock(¤t->mm->context.lock); if (current->mm->context.ldt && seg < current->mm->context.ldt->nr_entries)
ret = current->mm->context.ldt->entries[seg];
mutex_unlock(¤t->mm->context.lock); #endif return ret;
}
/* nz if ip_offset and cs_selector are not to be set for the current
instruction. */ #define no_ip_update (*(u_char *)&(I387->soft.no_update)) #define FPU_rm (*(u_char *)&(I387->soft.rm))
/* Number of bytes of data which can be legally accessed by the current
instruction. This only needs to hold a number <= 108, so a byte will do. */ #define access_limit (*(u_char *)&(I387->soft.alimit))
#define FPU_access_ok(y,z) if ( !access_ok(y,z) ) \
math_abort(FPU_info,SIGSEGV) #define FPU_abort math_abort(FPU_info, SIGSEGV) #define FPU_copy_from_user(to, from, n) \ do { if (copy_from_user(to, from, n)) FPU_abort; } while (0)
#undef FPU_IGNORE_CODE_SEGV #ifdef FPU_IGNORE_CODE_SEGV /* access_ok() is very expensive, and causes the emulator to run about 20% slower if applied to the code. Anyway, errors due to bad code addresses should be much rarer than errors due to bad data
addresses. */ #define FPU_code_access_ok(z) #else /* A simpler test than access_ok() can probably be done for FPU_code_access_ok() because the only possible error is to step
past the upper boundary of a legal code area. */ #define FPU_code_access_ok(z) FPU_access_ok((void __user *)FPU_EIP,z) #endif
#define FPU_get_user(x,y) do { if (get_user((x),(y))) FPU_abort; } while (0) #define FPU_put_user(x,y) do { if (put_user((x),(y))) FPU_abort; } while (0)
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.