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:
commit
02e1f71011
@ -1373,6 +1373,7 @@ int seccomp_notify_cleanup_handler(int fd, void *data)
|
|||||||
* seccomp notify handler through the command socket (e.g. for attach)
|
* seccomp notify handler through the command socket (e.g. for attach)
|
||||||
* and so we won't touch the container's config.
|
* and so we won't touch the container's config.
|
||||||
*/
|
*/
|
||||||
|
close(fd);
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user