Loading libs/binder/Parcel.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1475,7 +1475,7 @@ status_t Parcel::writeFileDescriptor(int fd, bool takeOwnership) { #ifdef BINDER_WITH_KERNEL_IPC #ifdef BINDER_WITH_KERNEL_IPC flat_binder_object obj; flat_binder_object obj; obj.hdr.type = BINDER_TYPE_FD; obj.hdr.type = BINDER_TYPE_FD; obj.flags = 0x7f | FLAT_BINDER_FLAG_ACCEPTS_FDS; obj.flags = 0; obj.binder = 0; /* Don't pass uninitialized stack data to a remote process */ obj.binder = 0; /* Don't pass uninitialized stack data to a remote process */ obj.handle = fd; obj.handle = fd; obj.cookie = takeOwnership ? 1 : 0; obj.cookie = takeOwnership ? 1 : 0; Loading Loading
libs/binder/Parcel.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1475,7 +1475,7 @@ status_t Parcel::writeFileDescriptor(int fd, bool takeOwnership) { #ifdef BINDER_WITH_KERNEL_IPC #ifdef BINDER_WITH_KERNEL_IPC flat_binder_object obj; flat_binder_object obj; obj.hdr.type = BINDER_TYPE_FD; obj.hdr.type = BINDER_TYPE_FD; obj.flags = 0x7f | FLAT_BINDER_FLAG_ACCEPTS_FDS; obj.flags = 0; obj.binder = 0; /* Don't pass uninitialized stack data to a remote process */ obj.binder = 0; /* Don't pass uninitialized stack data to a remote process */ obj.handle = fd; obj.handle = fd; obj.cookie = takeOwnership ? 1 : 0; obj.cookie = takeOwnership ? 1 : 0; Loading