OpenVZ Forum


Home » Mailing lists » Devel » [RFC][PATCH 0/14] Enabling cloning of pid namespace
[RFC][PATCH 0/14] Enabling cloning of pid namespace [message #17906] Wed, 21 March 2007 03:10
Sukadev Bhattiprolu is currently offline  Sukadev Bhattiprolu
Messages: 413
Registered: August 2006
Senior Member
This patchset basically enables cloning of pid namespace.

We have done some unit testing on x86 and x86_64, with these but
at this point we are mostly looking for feedback on the overall
design/direction.

Compared to the previous patchset, as per feedback from Containers
list, we have dropped support for unsharing of pid namespace (which
significantly simplifies the design) and use struct pid_nr in the
pid_hash table.

The patchset includes following patches:

	[RFC][PATCH 01/14] Define/use task_pid_ns() wrapper
	[RFC][PATCH 02/14] Move alloc_pid call to copy_process
	[RFC][PATCH 03/14] use pid_nr in procfs

		These three are some helper patches

	[RFC][PATCH 04/14] Add struct pid_nr and pid_nrs list
	[RFC][PATCH 05/14] Initialize struct pid_nr for swapper.
	[RFC][PATCH 06/14] Populate pid_nrs list with entry for init-pid-ns

		These three patches define and use pid->pid_nrs list which
		represents the multiple pid_t values that a process can have
		(one in each pid namespace) (this pid->pid_nrs list is
		sometimes referred to as just the pid_nrs list)

	[RFC][PATCH 07/14] Remove unused pid_chain from struct pid
	[RFC][PATCH 08/14] Remove unused nr field from struct pid

		Some patches to cleanup unused code.

	[RFC][PATCH 09/14] Save leaders struct pid before detach_pid()
	[RFC][PATCH 10/14] Use pid ns from pid_nrs list
	[RFC][PATCH 11/14] Remove pid ns field from nsproxy

		These three patches replace task->nsproxy->pid_ns and use the
		pid namespace from pid_nrs list.

	[RFC][PATCH 12/14] Remove copy_pid_ns function

		Another cleanup patch.

	[RFC][PATCH 13/14] Define CLONE_NEWPID flag
	[RFC][PATCH 14/14] Enable cloning pid namespace

		These two patches enable the cloning of pid namespace.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Previous Topic: [PATCH RESEND 1/2] Race between cat /proc/kallsyms and rmmod
Next Topic: [RFC][PATCH 01/14] Define/use task_pid_ns() wrapper
Goto Forum:
  


Current Time: Sun Aug 03 01:06:23 GMT 2025

Total time taken to generate the page: 1.16313 seconds