linux segment

Jun Hu duanshuidao at hotmail.com
Sat Oct 27 03:49:02 EDT 2012


Can you post out your codes ?

From: Fan Yang 
Sent: Wednesday, October 24, 2012 8:04 PM
To: kernelnewbies at kernelnewbies.org 
Subject: linux segment

Hi all: 
    I print the cs ds and ss register in the user space, and it is same as the __USER_CS and __USER_DS which defined in kernel as 73 and 7b. In the kernel __KERNEL_CS and __KERNEL_DS defined as 60 and 68, but when I print this two value in my kernel module, I get 60 and 7b. Why ? It should be 60 and 68, shouldn't it? 





--------------------------------------------------------------------------------
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121027/e31dd15f/attachment-0001.html 


More information about the Kernelnewbies mailing list