> ve_setup_task() marks a task entering a running VE VD_VE_ENTER_TASK,
> which hides it from ptrace and /proc/<pid>/exe inside the VE. A
> container task gets the mark too when it setns()es into its own VE or
> enters a nested one, and a host task entering a stopping or stopped VE
> is not hidden at all.
> 
> The mark says a task is the host's, a later change lets it skip the
> mount limit of a pseudosuper VE, and it goes to the mm, which a
> container task may share with others. So mark only tasks coming from
> the host, in every VE state but starting, which the next change
> handles. A task entering its nested VE is no longer hidden there. In a
> pseudosuper VE the host's tasks cannot be told from the container's
> yet, so a task leaving one is still marked until the next change.
> 
> Feature: trace: prohibit tracing sensitive tasks from CT
> https://virtuozzo.atlassian.net/browse/VSTOR-151265
> Signed-off-by: Mirian Shilakadze <[email protected]>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review ยท 
https://sashiko.vzint.dev/#/patchset/[email protected]?part=2


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to