Re: User-supplied stacks

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

 



On Mon, 2006-06-19 at 16:18 -0400, Elad Lahav wrote:
> Security considerations set aside, is it possible to run kernel code 
> with a user-supplied stack?

not really; just think of what happens when that stack page ends up
residing in swap... where do you get the stack space from to swap the
page back in ? ;-)

> I would like to use the stack of the current process to execute a system 
> call, in order to bypass the 4K kernel stack-size restriction

how would a user supplied stack fix that? (hint: even if you user-supply
it it'll still be 4Kb in size ;=)

>  and to 
> override some problems with copy_from_user.

can you expand on this?



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