vppinfra: add CLOEXEC flag to memfd create calls 35/43835/3
authorPaul Ponchon <[email protected]>
Fri, 3 Oct 2025 14:23:10 +0000 (16:23 +0200)
committerDamjan Marion <[email protected]>
Wed, 8 Oct 2025 11:59:48 +0000 (11:59 +0000)
commit878f9261432c272bdc8468b7aa3889e0ded5fa02
tree65f20fc86fbabb0584e0945125577c18de8b50b2
parent0e7bcacc6c235feaf486262b580de4d48d090df6
vppinfra: add CLOEXEC flag to memfd create calls

This commit adds a MFD_CLOEXEC flag to avoid memory leaks through child process
when VPP crashes.

Type: fix
Change-Id: Icd155102884f6e96bbe62149cc07f7cbfca77854
Signed-off-by: Paul Ponchon <[email protected]>
src/vppinfra/linux/mem.c