lkml.org 
[lkml]   [2010]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH 0/4] Check O_* flags set with fcntl() on anon_inode files.
    On Mon, Feb 15, 2010 at 09:26:35AM -0800, Matt Helsley wrote:
    > > > [PATCH 1/4] signalfd
    > > > [PATCH 2/4] timerfd
    > > > [PATCH 3/4] epoll
    > > > [PATCH 4/4] eventfd
    > > >
    > > > I did not check the perf, kvm-vm, or kvm-vcpu uses of anon_inodes.
    > >
    > > Er... O_ASYNC is silently ignored for regular files as well, so any
    > > userland code that tries to rely on fcntl() rejecting it is and always
    > > had been badly b0rken.
    >
    > Of course. Did you mean to imply that the kernel shouldn't bother to
    > reject these, or were you merely making an observation?

    I'm wondering why should we start changing that behaviour and what makes
    these 4 cases special?


    \
     
     \ /
      Last update: 2010-02-15 20:59    [W:0.018 / U:32.504 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site