[Devel] [PATCH VZ10 03/12] ve: Introduce VE namespace

Konstantin Khorenko khorenko at virtuozzo.com
Mon Dec 1 19:24:48 MSK 2025


On 11/24/25 12:20, Pavel Tikhomirov wrote:
...
> diff --git a/include/linux/ve_namespace.h b/include/linux/ve_namespace.h
> new file mode 100644
...
> +#else
> +static inline int copy_ve_ns(unsigned long flags, struct task_struct *p)
> +{
> +	if (flags & CLONE_NEWVE)
> +		return -EINVAL;
> +	return 0;
> +}
> +
> +static inline int unshare_ve_namespace(unsigned long flags,
> +				       struct ve_namespace **new_ve_ns,
> +				       struct cred *new_cred);
							    ^^^
i have fixed this.

> +{
> +	if (flags & CLONE_NEWVE)
> +		return -EINVAL;
> +	return 0;
> +}
> +
...


More information about the Devel mailing list