Re: any NX memory areas?

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

 



as far as I can remember, in x86 architecture, hardware-wise, it is
NOT possible to enable NX.   U may do anything via software, but it
will not be enabled.   NX feature is only for 64bit OS.

http://en.wikipedia.org/wiki/NX_bit
http://en.wikipedia.org/wiki/X86-64

On Mon, Mar 9, 2009 at 4:27 AM, NAHieu <nahieu@xxxxxxxxx> wrote:
> Hi,
>
> I inspect my Linux memory, and it seems that there is no area that
> prohibite execution like I expected (using NX bit in modern CPU). That
> really surprises me.
>
> I looked at some potential data areas exported in System.map file, like:
>
> - mark_rodata_ro
> - sysctl_data
> - new_cpu_data
> - boot_cpu_data
>
> And all of these areas allow to execute code (because NX=0 there). Is
> that really desirable?
>
> Anybody know for sure which area (easier to check if exported in
> System.map) doesnt allow execute?
>
> I can confirm that NX is active in my machine (reported in dmesg)
>
> Thanks,
> H
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Regards,
Peter Teoh

--
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