2
0
mirror of git://github.com/lxc/lxc synced 2025-08-22 10:41:38 +00:00

Merge pull request #4053 from brauner/2022-01-07.fixes

seccomp: close seccomp notifier fd in cleanup handler
This commit is contained in:
Wolfgang Bumiller 2022-01-07 14:19:10 +01:00 committed by GitHub
commit 02e1f71011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1373,6 +1373,7 @@ int seccomp_notify_cleanup_handler(int fd, void *data)
* seccomp notify handler through the command socket (e.g. for attach)
* and so we won't touch the container's config.
*/
close(fd);
#endif
return 0;
}