]> git.proxmox.com Git - pve-lxc-syscalld.git/commit
accept negative file descriptors
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 7 Jan 2022 13:12:41 +0000 (14:12 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 7 Jan 2022 13:12:49 +0000 (14:12 +0100)
commit092824889d7054cafa04652c40cc9a258911103b
tree0aabfa2a43dc48dbd85023ae1a298bd17c95bfe6
parent4032c6699f94d486ca01c842c256e91b97c58b89
accept negative file descriptors

since for instance mknodat(-1, ...) may be used to
explicitly prevent relative paths we need to pass those
along instead of immediately failing with EINVAL

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/lxcseccomp.rs