#47 psyco segfault with grsecurity

closed-wont-fix
nobody
5
2005-02-09
2005-02-07
mscnln
No

Psyco segfaults when running anything on my computer
patched with grsec. I am pretty sure that that is the
cause. Any chance of gettting this working? I assume it
doesnt work because grsec moves stuff around in memory,
which psyco doesn't account for.

Discussion

  • Armin Rigo

    Armin Rigo - 2005-02-09

    Logged In: YES
    user_id=4771

    I doubt grsec would move data around in memory in a
    process. Most programs couldn't survive that. But I don't
    know anything about grsec, so I cannot know.

    My best guess is that grsec isn't happy with Psyco trying to
    execute data -- such a behavior is uncommon in most
    programs but common in attacks. Psyco uses the official
    Posix system calls to allocate writeable and executable
    memory; I cannot do anything more to convince grsec that it
    is not an attack.

    If this guess is correct you will have to disable grsec's overly
    restrictive checks for Python+Psyco processes.

    Closing this report, but fell free to re-open it if my guess is
    wrong!

     
  • Armin Rigo

    Armin Rigo - 2005-02-09
    • status: open --> closed-wont-fix
     

Log in to post a comment.