]> git.proxmox.com Git - mirror_lxc.git/commit
seccomp: send caller pidfd along with proxied requests
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 9 Jul 2019 10:18:43 +0000 (12:18 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 9 Jul 2019 10:25:10 +0000 (12:25 +0200)
commit637996a4c3c3597dd4c98ebac917f32af6f85e82
treefb4eef6b5e0716546474f7dda8feea9a49286d5b
parent87e547d9c790ccb5c6d8d59da96c9f3082c0e867
seccomp: send caller pidfd along with proxied requests

On the one hand this should close the race between the
process exiting until the proxy reads the request.
On the other hand it'll help the proxy quickly access info
from /proc (such as ./cwd, ./ns/mnt, ...)

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/lxc/seccomp.c