• [^] # Re: Protection des pages mémoire

    Posté par (site web personnel) . En réponse à la dépêche OpenBSD 3.3 est sorti. Évalué à 7.

    Mon 1/30 ?:
    <blockquote>
    The i386 is not capable of doing per-page execute permission.
    At most it is only capable of drawing a line through the address space, by limiting the code segment length (using the code segment register). So we can say, "from 0 to this point is executable" and "from that point on to the end of userland is not executable".
    This sucks, but it is the best we can currently do. We can protect the stack, and not much else.
    </blockquote>
    Ce qui, une fois frenchouillé devrait donner:
    <frenche>
    L'i386 n'est pas capable de proteger des pages particulières.
    Tout au plus est-il capable de scinder en deux l'espace adressable, en limitant la longueur du segment de code (grâce au registre éponyme). Ainsi on peut dire "de 0 à ici c'est éxécutable" et "de ici jusqu'à la fin c'est pas éxécutable".
    Ça craint, mais c'est tout ce qu'on peut faire actuelement. On peut protèger la pile, et pas grand chose d'autre.
    </frenche>