Re: linux segment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 24, 2012 at 7:04 PM, Fan Yang <lljyangfan@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux