linux segment
Mulyadi Santosa
mulyadi.santosa at gmail.com
Fri Oct 26 19:53:33 EDT 2012
On Wed, Oct 24, 2012 at 7:04 PM, Fan Yang <lljyangfan at gmail.com> wrote:
> 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?
you're not manually switch the data segment, aren't you?
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
More information about the Kernelnewbies
mailing list