lkml.org 
[lkml]   [2002]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] missing checks in exec_permission_light()
    Hi!

    > > > + if (S_ISDIR(inode->i_mode) && capable(CAP_DAC_READ_SEARCH))
    > > > + return 0;
    > >
    > > Is this right? This means that root can do cat /, no? That does not
    > > seem like expected behaviour.
    >
    > 1) it's permission(..., MAY_EXEC)

    Okay, sorry.
    Pavel
    --
    Casualities in World Trade Center: ~3k dead inside the building,
    cryptography in U.S.A. and free speech in Czech Republic.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.023 / U:151.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site