Eric W. Biederman
80f4b770f4
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.
Change-Id: I01d42c2f051fd74b1474d9d8378ccc78174cf3cf
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com >
Git-commit: f80cd4676998eb352d1a8b9df0f3663537a9ce93
Git-repo: https://android.googlesource.com/kernel/common/
[schikk@codeaurora.org: Resolved merge conflicts ]
CRs-Fixed: 901628
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2015-09-11 14:44:24 +05:30
..
2013-10-14 10:15:17 -07:00
2013-07-23 15:01:47 -07:00
2014-01-29 12:40:43 -08:00
2013-10-09 22:15:31 +08:00
2014-04-30 15:01:03 -07:00
2015-02-13 01:55:08 -08:00
2012-06-06 18:45:28 -07:00
2012-05-25 13:56:28 -07:00
2013-06-05 09:39:00 -07:00
2013-07-02 14:15:23 -07:00
2013-03-14 09:32:58 -07:00
2013-02-13 16:38:12 -08:00
2014-05-16 13:12:25 +05:30
2014-02-12 09:56:25 -08:00
2014-02-22 07:50:03 -08:00
2014-03-12 10:46:10 +05:30
2015-07-13 13:52:28 +05:30
2013-02-13 16:38:12 -08:00
2014-04-01 20:05:28 -07:00
2013-06-20 10:46:21 -07:00
2014-10-30 22:27:18 -07:00
2012-12-05 16:02:57 +05:30
2014-04-04 15:11:08 -07:00
2012-06-06 18:45:28 -07:00
2014-06-22 16:43:52 +03:00
2013-07-01 10:22:01 +05:30
2013-04-21 23:44:59 -07:00
2013-02-13 16:38:12 -08:00
2013-07-17 15:53:24 -07:00
2012-10-23 14:31:26 +02:00
2012-06-06 18:45:28 -07:00
2013-11-26 11:26:44 -07:00
2013-10-03 15:26:02 -07:00
2013-09-06 12:37:23 +08:00
2013-06-18 10:24:51 -07:00
2013-09-16 12:49:17 -07:00
2013-06-07 13:49:53 -07:00
2013-09-16 12:49:19 -07:00
2012-06-06 18:45:28 -07:00
2013-11-26 11:26:45 -07:00
2012-10-11 13:49:37 +05:30
2014-03-11 17:27:09 -06:00
2014-02-07 11:44:55 -08:00
2013-07-30 09:57:26 +03:00
2015-08-21 14:37:50 +05:30
2014-08-18 10:34:41 -07:00
2014-05-19 21:57:33 -07:00
2012-12-04 16:04:15 +02:00
2013-07-12 10:50:32 -07:00
2013-01-10 23:11:41 -05:00
2014-09-15 11:46:07 -07:00
2014-07-10 14:09:27 -07:00
2013-07-19 17:42:04 -07:00
2012-06-06 18:52:39 -07:00
2015-09-11 14:38:52 +05:30
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-04-11 11:28:10 -07:00
2013-04-10 11:19:37 -07:00
2013-02-18 07:24:18 -08:00
2013-02-13 16:38:12 -08:00
2013-06-14 13:34:03 -07:00
2014-01-31 11:31:36 -08:00
2013-04-15 16:37:44 -07:00
2013-03-21 00:05:14 -07:00
2014-01-28 20:52:50 -08:00
2012-06-06 18:45:28 -07:00
2012-12-17 10:37:36 -08:00
2013-12-16 11:13:57 -08:00
2014-05-04 17:58:19 -07:00
2012-06-06 18:45:28 -07:00
2013-02-13 12:04:19 -08:00
2015-09-11 14:44:24 +05:30
2014-08-01 15:38:18 -07:00
2012-06-06 18:45:28 -07:00
2012-08-10 13:45:07 -07:00
2012-06-26 10:35:13 -07:00
2014-10-28 05:49:32 -07:00
2012-06-06 18:45:28 -07:00
2015-07-08 18:18:26 +05:30
2013-03-14 09:32:58 -07:00
2012-06-06 18:45:28 -07:00
2013-11-19 14:29:07 -08:00
2013-02-13 16:38:12 -08:00
2014-05-04 17:58:09 -07:00
2013-02-13 16:38:12 -08:00
2013-02-27 16:32:24 -08:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2015-06-30 12:52:32 +05:30
2013-02-13 16:38:12 -08:00
2012-06-06 18:45:28 -07:00
2013-06-18 10:24:16 -07:00
2013-04-11 11:29:51 -07:00
2013-03-14 09:32:58 -07:00
2014-09-24 12:31:25 +05:30
2013-07-17 12:21:23 -07:00
2013-03-11 15:05:28 -07:00
2013-11-01 11:00:26 -07:00
2014-11-05 11:32:48 +05:30
2014-11-05 11:32:48 +05:30
2013-11-01 11:00:26 -07:00
2015-09-11 14:34:08 +05:30
2013-02-06 11:12:51 -08:00
2013-11-22 22:38:45 -07:00
2013-02-26 19:28:53 -08:00
2012-08-17 11:17:20 +05:30
2013-12-06 17:17:51 -08:00
2012-11-27 18:48:20 -08:00
2013-05-06 13:07:58 -07:00
2012-07-06 14:11:55 +05:30
2013-02-13 16:38:12 -08:00
2012-09-30 12:43:15 -07:00
2013-08-12 11:19:00 -07:00
2014-01-21 16:47:06 -08:00
2013-12-10 16:11:14 -08:00
2014-10-06 13:34:53 -07:00
2012-11-29 18:12:32 -07:00
2014-05-26 14:49:30 +05:30
2015-04-16 11:31:55 +05:30
2014-05-26 14:03:44 +03:00
2015-07-08 18:18:26 +05:30
2012-07-11 18:17:26 -07:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-12-10 16:29:37 -07:00
2014-11-11 14:48:15 +05:30
2013-04-16 08:24:43 -07:00
2014-08-13 14:35:04 +05:30
2014-05-04 20:17:00 -07:00
2013-02-13 16:38:12 -08:00
2014-07-22 14:33:44 -06:00
2014-10-07 14:01:06 -07:00
2013-03-12 08:38:19 -07:00
2013-07-12 14:09:22 -07:00
2013-05-15 11:35:14 -07:00
2012-07-18 15:02:28 -07:00
2012-11-07 13:47:15 -07:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2015-04-21 04:01:53 -07:00
2013-02-13 16:38:12 -08:00
2013-03-19 10:16:19 -06:00
2013-06-23 16:43:22 +03:00
2012-06-29 16:06:48 -07:00
2013-06-28 12:24:00 -07:00
2013-10-30 10:22:14 -07:00
2013-11-13 09:19:29 -08:00
2012-05-30 17:03:48 -07:00
2014-06-22 16:43:52 +03:00
2015-09-11 14:44:24 +05:30
2012-06-06 18:45:28 -07:00
2013-03-12 20:24:34 -07:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2014-08-28 17:51:20 +08:00
2014-11-04 22:09:27 -08:00
2015-09-11 14:44:24 +05:30
2014-07-10 14:09:27 -07:00
2015-06-08 03:45:59 -07:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-02-13 16:38:12 -08:00
2013-01-10 15:26:59 -07:00
2013-04-22 18:01:27 -07:00
2014-03-18 16:33:15 -07:00
2014-01-16 18:16:12 -08:00
2014-03-25 13:24:56 -07:00
2014-07-21 21:46:54 +05:30
2014-07-21 21:46:54 +05:30
2014-07-21 21:44:54 +05:30
2014-01-31 12:28:43 -08:00
2012-06-06 18:45:28 -07:00
2013-06-18 10:24:18 -07:00
2015-07-08 18:18:26 +05:30
2013-02-13 16:38:12 -08:00
2013-03-14 11:34:14 -06:00
2013-02-13 16:38:12 -08:00
2014-09-15 11:46:07 -07:00
2014-07-21 21:46:54 +05:30
2014-05-26 11:44:06 +03:00
2013-12-23 17:51:05 -08:00
2014-07-10 14:24:32 +05:30
2013-06-16 18:04:35 -07:00
2014-02-25 13:46:47 +05:30
2013-07-11 01:35:06 -07:00
2014-07-22 14:33:44 -06:00
2014-06-18 14:34:18 +05:30
2013-09-18 14:12:26 +08:00
2013-03-14 09:32:58 -07:00
2013-03-12 20:24:34 -07:00
2013-11-11 21:45:13 -08:00
2014-11-13 14:53:50 +05:30
2013-10-07 12:28:53 +05:30
2012-06-06 18:45:28 -07:00
2013-07-02 15:12:24 +03:00
2013-11-25 16:39:05 +05:30
2014-01-14 21:47:08 -08:00
2013-05-21 11:09:47 -07:00
2013-01-31 14:53:32 +02:00
2013-11-17 11:31:01 +02:00
2013-09-20 11:53:24 -07:00
2013-03-05 15:10:35 -08:00
2014-07-14 13:36:49 +05:30
2013-03-12 15:31:18 +02:00
2015-09-11 14:44:24 +05:30
2015-09-11 14:44:24 +05:30
2015-08-13 20:30:13 +05:30
2012-07-27 18:15:32 -07:00
2013-06-18 10:24:50 -07:00
2013-12-26 14:33:32 -08:00
2013-11-01 11:00:26 -07:00
2012-06-06 18:45:28 -07:00
2013-03-12 20:24:35 -07:00
2015-07-08 11:22:08 +05:30