commit | c6802988bc744c6a57ecd182a001ce4781a1edd2 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Sat Jun 15 12:53:04 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Jun 15 12:53:04 2024 +0000 |
tree | f6a3a7265ad4a994df28cb0b8c1d644b094c57b1 | |
parent | df7b1cba60944e80c089fe54e137dab3414f400d [diff] | |
parent | 29d8156f7bcd266713cde1f73669db12aa0622eb [diff] |
BpfRingbuf.h - use exclusively locked map am: fbaa3c9890 am: 29d8156f7b Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3134555 Change-Id: Ied983445e72daca5b894e66b3913ffecd3fb2088 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfRingbuf.h b/staticlibs/native/bpf_headers/include/bpf/BpfRingbuf.h index d716358..cd51004 100644 --- a/staticlibs/native/bpf_headers/include/bpf/BpfRingbuf.h +++ b/staticlibs/native/bpf_headers/include/bpf/BpfRingbuf.h
@@ -151,7 +151,7 @@ inline base::Result<void> BpfRingbufBase::Init(const char* path) { - mRingFd.reset(mapRetrieveRW(path)); + mRingFd.reset(mapRetrieveExclusiveRW(path)); if (!mRingFd.ok()) { return android::base::ErrnoError() << "failed to retrieve ringbuffer at " << path;