Eric W. Biederman 98f842e675 proc: Usable inode numbers for the namespace file descriptors.
Assign a unique proc inode to each namespace, and use that
inode number to ensure we only allocate at most one proc
inode for every namespace in proc.

A single proc inode per namespace allows userspace to test
to see if two processes are in the same namespace.

This has been a long requested feature and only blocked because
a naive implementation would put the id in a global space and
would ultimately require having a namespace for the names of
namespaces, making migration and certain virtualization tricks
impossible.

We still don't have per superblock inode numbers for proc, which
appears necessary for application unaware checkpoint/restart and
migrations (if the application is using namespace file descriptors)
but that is now allowd by the design if it becomes important.

I have preallocated the ipc and uts initial proc inode numbers so
their structures can be statically initialized.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
2012-11-20 04:19:49 -08:00
..
2012-10-02 17:26:42 -07:00
2012-10-09 15:04:25 +01:00
2012-09-19 19:08:53 -06:00
2012-10-09 15:04:25 +01:00
2012-05-15 17:30:30 -04:00
2012-10-03 13:45:43 -07:00
2012-10-07 17:29:24 +09:00
2012-10-24 18:00:17 -07:00
2012-08-10 15:27:02 -04:00
2012-10-13 14:15:08 -07:00
2012-07-30 17:25:21 -07:00
2012-10-08 13:50:20 +10:30
2012-09-19 19:08:46 -06:00
2012-09-20 14:31:45 +02:00
2012-07-30 17:25:11 -07:00
2012-09-17 15:00:38 -07:00
2012-03-23 16:58:38 -07:00
2012-11-20 04:17:44 -08:00
2012-10-02 18:32:35 -07:00
2012-05-25 12:46:23 +05:30
2012-05-10 12:00:56 +02:00
2012-10-16 18:49:15 -07:00
2012-05-29 23:28:33 -04:00
2012-09-26 21:10:00 -04:00
2012-04-27 10:46:45 +08:00
2012-07-05 15:04:10 +02:00
2012-08-09 16:18:06 -07:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-28 15:58:21 -07:00
2012-10-06 03:04:56 +09:00
2012-09-07 14:57:45 -04:00
2012-03-20 12:47:48 +01:00
2012-09-11 10:15:02 +02:00
2012-03-20 12:47:47 +01:00
2012-07-17 09:13:37 -07:00
2012-05-31 17:49:32 -07:00
2012-09-26 13:52:36 -07:00
2012-08-22 10:24:41 -04:00
2012-10-10 01:15:44 -04:00
2012-10-02 19:01:32 -07:00
2012-03-15 21:41:34 +01:00
2012-09-17 15:00:37 -07:00
2012-10-09 16:22:54 +09:00
2012-10-09 16:23:00 +09:00
2012-10-10 20:00:55 +10:30
2012-07-29 21:24:13 +04:00
2012-10-17 15:53:01 -05:00
2012-10-17 15:53:02 -05:00
2012-10-10 22:41:05 -04:00
2012-07-10 10:32:06 -05:00
2012-05-21 14:31:48 +01:00
2012-07-31 18:42:43 -07:00
2012-06-20 14:39:36 -07:00
2012-10-05 22:23:53 +02:00
2012-10-02 18:32:35 -07:00
2012-03-20 21:29:38 -04:00
2012-10-11 08:50:16 +09:00
2012-10-06 03:05:01 +09:00
2012-03-28 18:30:03 +01:00
2012-09-27 12:45:28 +02:00
2012-10-11 20:02:04 -04:00
2012-10-07 00:40:54 -04:00
2012-06-05 17:32:30 +02:00
2012-06-13 21:16:42 +02:00
2012-10-09 16:22:55 +09:00
2012-10-22 15:16:06 -04:00
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
2012-07-22 23:57:55 +04:00
2012-10-07 21:19:42 +02:00
2012-09-05 17:21:36 -07:00
2012-10-17 11:16:13 -07:00
2012-08-04 12:15:37 +04:00