]> git.ipfire.org Git - thirdparty/lxc.git/commit
start: check event loop type before closing fd
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 28 Oct 2021 15:39:42 +0000 (17:39 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 29 Oct 2021 08:07:05 +0000 (10:07 +0200)
commit71743e8111738bd70b0b126f6500b95c0db2e806
tree0f3ee74c7de58faba35f0a1dd33c06fad0c7f847
parentf69e6b4d3f7d614de190e72d610705272ee36909
start: check event loop type before closing fd

Since this is a union we might otherwise stomp on io_uring mmap()ed
memory.

Fixes: #4016
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c