lkml.org 
[lkml]   [2005]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Fix root hole in pktcdvd
    On Tue, May 17, 2005 at 06:00:25AM +0100, Al Viro wrote:
    > Same comment as for previous patch. I'll take a look at that sucker,
    > it might happen to be OK, seeing that most of the bdev ->ioctl() instances
    > ignore file argument and we might get away with passing odd stuff to
    > anything that could occur here.

    Oh, lovely - pkt_open() opens underlying device, unless we already have our
    device opened. Guess what happens if you open() with O_RDONLY and
    then - with O_RDWR?
    -
    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-05-17 07:58    [W:0.021 / U:31.684 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site