Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Global Descriptor Table under Linux

Tags:

linux

i want to know if there is any method to retrieve GDT informations under Linux

like image 439
Amine Hajyoussef Avatar asked Dec 07 '25 12:12

Amine Hajyoussef


1 Answers

You can get/set LDTs using the function modify_ldt (not a real function but a syscall, so you'll have to call it manually).

But for the GDT I don't know. But anyway, AFAIK, the GDT is not changed once the system is booted, so you can read it from the source ;-).

like image 109
rodrigo Avatar answered Dec 09 '25 02:12

rodrigo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!