[lkml]   [2001]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Why side-effects on open(2) are evil. (was Re: [RFD w/info-PATCH]device arguments from lookup)
    On Sun, 27 May 2001, Edgar Toernig wrote:

    > You really mean that "magicdev" is a directory and:
    > open("magicdev/.", O_RDONLY);

    At least for the patch I posted, that would return -ENOTDIR, and exactly
    for the reason that not doing so would break find. I've been convinced
    that we really need to be careful which, if any, options are permitted in
    this fashion.


    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: 2005-03-22 12:54    [W:0.018 / U:173.424 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site