• Al Viro's avatar
    [PATCH] sanitize anon_inode_getfd() · 2030a42c
    Al Viro authored
    a) none of the callers even looks at inode or file returned by anon_inode_getfd()
    b) any caller that would try to look at those would be racy, since by the time
    it returns we might have raced with close() from another thread and that
    file would be pining for fjords.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    2030a42c
signalfd.c 6.66 KB