• Linus Torvalds's avatar
    Clean up open_exec()/kmalloc() error case handling. · f9286bcf
    Linus Torvalds authored
    It's a purely theoretical bug, since the kmalloc() failure that
    might "leak" file descriptors cannot actually happen (we do not
    ever fail small GFP_KERNEL allocations), but it's good to do
    things properly.
    
    Noted by Brad Spender.
    f9286bcf
compat.c 44.3 KB