• A
    new helper: __alloc_fd() · dcfadfa4
    Al Viro 提交于
    Essentially, alloc_fd() in a files_struct we own a reference to.
    Most of the time wanting to use it is a sign of lousy API
    design (such as android/binder).  It's *not* a general-purpose
    interface; better that than open-coding its guts, but again,
    playing with other process' descriptor table is a sign of bad
    design.
    Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
    dcfadfa4
file.c 11.9 KB