lkml.org 
[lkml]   [1998]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Compiler alternatives to no-exec (was Re: non exec stack...)
From
On 7 Aug 1998, David Wragg wrote:
> Meelis Roos <mroos@tartu.cyber.ee> writes:
> > There was a discussion on bugtraq obout bounds checking. That made
> > programs _very_ slow (AFAIR about 20 times slower sometimes). C is
> > not designed to be bounds checking - that's why it's so hard.

This is somewhat misleading. Naive implementations do impose a
factor-of-20 overhead. The current implementations in gcc range from
50%-80% overhead to a little more than 100%.

> Yet if people can't learn to avoid the relevant bugs when they
> program, then it seems to me that ad hoc fixes should be in the
> language implementation rather than the kernel.

Yes. And people can't.

Kragen


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.076 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site