commit | 3fafb0cc72def1edfffbbb28a20a79cd1ae4f887 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Wed May 17 11:59:10 2023 -0700 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue May 23 16:14:37 2023 +0000 |
tree | ece7f566cb42cb17847e1bd9ffaeaeb34fa9ad05 | |
parent | 6cbc8e4f7bf08f5300fa49e6212f0c7ef7ed2ca2 [diff] |
bpf_headers: add kernel bitness utility functions to KernelUtils These were copied from system/core/libsysutils/src/NetlinkEvent.cpp and the following changes were applied: - Mark isUserspace64bit as constexpr. - Added __unused annotations - Fixed a typo (s/meaningul/meaningful) Test: TH (cherry picked from https://android-review.googlesource.com/q/commit:0689a83279c86e6abfba92955ea402304201d4ac) Merged-In: Ia0b8e6e02daca7e9b69f337a494d88eb1beffc22 Change-Id: Ia0b8e6e02daca7e9b69f337a494d88eb1beffc22 Bug: 283523051