From mboxrd@z Thu Jan 1 00:00:00 1970 From: duanshuidao@hotmail.com (Jun Hu) Date: Sat, 27 Oct 2012 15:49:02 +0800 Subject: linux segment In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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