Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b8bb4ca authored by Steven Moreland's avatar Steven Moreland
Browse files

Remove binder_node_debug_info definition.

Bug: 129785390
Test: build only (is in kernel headers)

Change-Id: Iadeda477277b4f26b53a651abb6049c3cdc08bd7
parent a9ed1a64
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -202,15 +202,6 @@ bool ProcessState::becomeContextManager(context_check_func checkFunc, void* user
// already be invalid.
// already be invalid.
ssize_t ProcessState::getKernelReferences(size_t buf_count, uintptr_t* buf)
ssize_t ProcessState::getKernelReferences(size_t buf_count, uintptr_t* buf)
{
{
    // TODO: remove these when they are defined by bionic's binder.h
    struct binder_node_debug_info {
        binder_uintptr_t ptr;
        binder_uintptr_t cookie;
        __u32 has_strong_ref;
        __u32 has_weak_ref;
    };
#define BINDER_GET_NODE_DEBUG_INFO _IOWR('b', 11, struct binder_node_debug_info)

    binder_node_debug_info info = {};
    binder_node_debug_info info = {};


    uintptr_t* end = buf ? buf + buf_count : nullptr;
    uintptr_t* end = buf ? buf + buf_count : nullptr;