• Martijn Coenen's avatar
    binder: Split flat_binder_object · feba3900
    Martijn Coenen authored
    flat_binder_object is used for both handling
    binder objects and file descriptors, even though
    the two are mostly independent. Since we'll
    have more fixup objects in binder in the future,
    instead of extending flat_binder_object again,
    split out file descriptors to their own object
    while retaining backwards compatibility to
    existing user-space clients. All binder objects
    just share a header.
    
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Martijn Coenen <maco@google.com>
    Cc: Arve Hjønnevåg <arve@android.com>
    Cc: Amit Pundir <amit.pundir@linaro.org>
    Cc: Serban Constantinescu <serban.constantinescu@arm.com>
    Cc: Dmitry Shmidt <dimitrysh@google.com>
    Cc: Rom Lemarchand <romlem@google.com>
    Cc: Android Kernel Team <kernel-team@android.com>
    Signed-off-by: default avatarMartijn Coenen <maco@google.com>
    Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    feba3900
binder.c 104 KB