svm: fix ASAN annotations for external chunks 37/29837/2
authorBenoît Ganne <bganne@cisco.com>
Tue, 20 Oct 2020 12:31:55 +0000 (14:31 +0200)
committerBenoît Ganne <bganne@cisco.com>
Mon, 9 Nov 2020 18:13:25 +0000 (19:13 +0100)
commit071328283ef1210ccea8bef06b28be4f59c07d8f
tree25f8eb3290ecfac22badf2f1c86294e656c87b98
parent8cfcbaa726fd409ae5090380297c244690ce7c3b
svm: fix ASAN annotations for external chunks

Chunks can be allocated from another process. We need to manually
mark them as accessible for ASAN.

Type: fix

Change-Id: Ifbeef3346e9cee2c1231f80cbcf7f9673b5b54be
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit df601ae2d16ed127a9506a7a865484632ee1afe1)
src/svm/fifo_segment.c
src/svm/svm_fifo.c
src/vlibmemory/socket_api.c