vppinfra: fix SIGBUS in bihash init when running unpriviledged, take two 89/27289/1
authorDamjan Marion <damarion@cisco.com>
Wed, 27 May 2020 14:43:35 +0000 (16:43 +0200)
committerDamjan Marion <damarion@cisco.com>
Wed, 27 May 2020 14:43:35 +0000 (16:43 +0200)
commit6183cf4fb90744675b6d4b606b90b57250c724de
tree57b02c6b7cc986efebc174df63edbcdb5be4add1
parent11492291e660bcf0a362943b49b7854b4510e94c
vppinfra: fix SIGBUS in bihash init when running unpriviledged, take two

Looks like MAP_LOCK is not enough, so call mlock(...) instead....

Type: fix
Change-Id: I1bc668a2bf3c861ca1c2d376c0fb6bfea87d4f48
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vppinfra/bihash_template.c