Re: Executable Stack

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

 



On Monday 07 March 2005 01:13 am, Rithin Shetty wrote:
> Hi,
>     I have a question on the user mode stack. Why is the user mode stack
> executable ?
> I know one place where this is required: for trapping back to the kernel
> after handling
> a signal. Is this feature of the stack exploited anywhere else ?
>

Executable stack is used also by GCC (see trampolines). There is also a 
history regarding this: the i386 processors do not have an explicit execute 
bit to protect a page, although there is such a bit to protect a segment. 
However, Linux does not use segments due to portability reasons, so...

tavi

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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