OpenVZ Forum


Home » Mailing lists » Devel » [RFC PATCH 3/5] use next syscall data to predefine process ids
Re: [RFC PATCH 3/5] use next syscall data to predefine process ids [message #31787 is a reply to message #31740] Thu, 10 July 2008 00:27 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Nadia.Derbey@bull.net writes:

> [PATCH 03/05]
>
> This patch uses the value written into the next_syscall_data proc file
> as a target upid nr for the next process to be created.
> The following syscalls have a new behavior if next_syscall_data is set:
> . fork()
> . vfork()
> . clone()
>
> In the current version, if the process belongs to nested namespaces, only
> the upper namespace level upid nr is allowed to be predefined, since there
> is not yet a way to take a snapshot of upid nrs at all namespaces levels.
>
> But this can easily be extended in the future.

This patch is unnecessary.  The and a mess.   The existing limits on the pid range should
be enough.  We may need to export it via /proc/sys.

Eric
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 2/4] Container Freezer: Make refrigerator always available
Next Topic: [RFC][PATCH 1/5] mqueue namespace: add struct mq_namespace
Goto Forum:
  


Current Time: Sat Sep 06 19:14:47 GMT 2025

Total time taken to generate the page: 0.15059 seconds