Am 14.11.24 um 16:07 schrieb Fiona Ebner:
> Add an option parameter to the run_fork() run_fork_with_timeout()
> functions, where an 'afterfork' subroutine that is run in the parent
> process after the fork can be specified. It is made subject to the
> timeout too, because the fork already started running at that point
> and an error in the 'afterfork' subroutine will take priority over an
> error in the child.
> 
> In preparation to add a helper to run a Perl subroutine in a user
> namespace, which, in turn, will be used for running the container
> backup subroutine for external providers inside a user namespace. That
> allows them to see the filesystem to back-up from the containers
> perspective and also improves security because of isolation.
> 
> Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
> ---
> 
> New in v4.
> 
>  src/PVE/Tools.pm | 23 +++++++++++++++++------
>  1 file changed, 17 insertions(+), 6 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to