[lkml]   [2003]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] new syscall: flink
    On Sul, 2003-04-06 at 20:56, Oliver Neukum wrote:
    > If you have an fd, the permissions based on the path are already
    > bypassed, whether you can call flink or not, aren't they?

    It is actually rather more complicated. Suppose I give you a pipe
    pair handle. You can flink what was a private object and has no
    meaning as a name.

    Suppose I give you a socket what does the call man ?

    Suppose I give you a handle to an anonymous mapping ?

    Suppose I give you a handle to data, how do you know what disk
    it belongs to ?

    Suppose I give you an O_RDONLY handle to a file which you then
    flink and gain write access too ?

    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 13:34    [W:0.019 / U:0.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site