Skip to content
Commit 2030a42c authored by Al Viro's avatar Al Viro
Browse files

[PATCH] sanitize anon_inode_getfd()



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>
parent 9f3acc31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment