Re: non C based environments can have problems
Posted Jan 19, 2007 21:03 UTC (Fri) by
dododge (subscriber, #2870)
In reply to:
non C based environments can have problems by pvaneynd
Parent article:
LCA: How to improve Debian security
For example sbcl (a Common Lisp environment that compiles directly to native code) does have quite a bit of problems with all these new 'security' measures,
Looking at the referenced page, this doesn't seem to be a problem
with the security measures so much as a rather serious design flaw
in sbcl. mmap never guarantees you will get the address you ask
for. Granted sbcl may have been getting lucky up to now, but it
never should have required a specific mapping in the first
place.
I say that as someone who has written many
applications working with anything from a few megabytes to
a hundred gigabytes of elaborate memory-mapped data structures,
including situations where multiple threads and processes are using
the data simultaneously at different mapped addresses. This sort of
thing is not a problem if you design it in from the start like you're
supposed to do.
(
Log in to post comments)