Commits
Vitaliy Gusev authored and Pavel Emelyanov committed 52c2eb6da3f
CPT: Add ioctl CPT_HARDLNK_ON for rst vzctl have to call ioctl CPT_HARDLNK_ON to enable open hardlinked files by kernel during restore. This protection is needed to prevent mix new kernel + old vzctl (which doesn't do cleaning). In other words, prevent creating/open files which will not be removed, and therefore this issue can lead to security problem. Signed-off-by: Vitaliy Gusev <vgusev@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>