DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Anyone protecting the stack?

From: Sander Vesik <sander@xxxxxxxxxxxxxxxxxxx>
Date: 19 Sep 2003 19:21:10 GMT
Cache-post-path: haldjas.folklore.ee!unknown@localhost

Hiten Pandya <hmp@xxxxxxxxxxxxx> wrote:
> Pedro Giffuni wrote:
> : I posted this to freebsd-hackers and everyone seemed to agree it was
> : extremely interesting and that it had to be done, but AFAICT no one is
> : doing the tough work. JIC anyone here is interested I repost the link to
> : NetBSD's commit log:
> :
> : http://mail-index.netbsd.org/source-changes/2003/08/24/0027.html
> :
>        Hmm, is this just the pmap mappings that are made non executable
>        if supported by hardware?  Well, aside from the pmap parts, I am
>        not sure we really want this...
>        ... I am understanding right and per the research I have done
>        previously on non-exec stacks, it seems JIT compilers and the
>        new Perl interpreter do not support this, although, I maybe a
>        little outdated on this information.
>        If it can be done without harming any functionality, it will be
>        great!

The obvious way to make this optional is to set a flag in the elf files.
Thios will also avoid loading a non-unexecutable-stack-safe shlib into
a process that won't have a executable stack.

>        Regards,


+++ Out of cheese error +++

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