Re: Why SAVE_ALL (for x86) macro in 2.6 loads __USER_DS to %ds

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

 



> <snip>
>
>> since Linux doesn't use segmentation , all the segment descriptor values > are the same. So I think it doesn't matter what selector value you load > in DS, ES etc. Though I don't know the real reason for why __USER_DS  is > used instead of __KERNEL_DS
>
> Although, linux doesn't use segmentation, but I believe the DPL values are different for user and kernel data segment descriptor. Please correct me if I am wrong.

Oh yes, ofcourse, sorry.. :)

thanks,
Joel

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[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