[lkml]   [2007]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Check files' signatures before doing suid/sgid [2/4]


    > >If a process uses read() it needs some executable and writable memory. We do
    > >check for this in mprotect(). There is a problem with the i386-architecture,
    > >because it allows execution of any readable page (except with newer
    > >processors). But beyond that ugliness of i386, it should not be possible to
    > >execute anything without us noticing it (hopefully).
    > r and x together is not a problem IMHO.

    It is, if you would want to have rw but can only get rwx.

    Johannes Schlumberger Department of Computer Science IV
    Martensstrasse 1 D-91058 Erlangen Germany University of Erlangen-Nuremberg
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-25 12:57    [W:0.020 / U:0.280 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site