Chen Hanxiao | 16 Sep 12:17 2014

[PATCH v2 0/2] ns, procfs: pid conversion between ns and showing pidns hierarchy

This series will expose pid inside containers
via procfs.
Also show the hierarchy of pid namespcae.
Then we could know how pid looks inside a container
and their ns relationships.

v2: use a procfs text file instead of dirs
    to show the hierarchy of pid namespace

Chen Hanxiao (2):
  procfs: show hierarchy of pid namespace
  /proc/PID/status: show all sets of pid according to ns

 fs/proc/Kconfig           |   6 ++
 fs/proc/Makefile          |   1 +
 fs/proc/array.c           |  17 ++++
 fs/proc/pidns_hierarchy.c | 195 ++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 219 insertions(+)
 create mode 100644 fs/proc/pidns_hierarchy.c

--

-- 
1.9.0
Mr. Matthew | 14 Sep 04:24 2014

Ask for a long-term and friendly cooperative relations with you!

   Dear Friend,
    Hello!
    It is a pleasure to write to you this e-mail, this is Mr. Matthew from
   China. This e-mail is to contact you and hope to establish a long-term
   and friendly cooperative relations with you.
    1.We can supply to you the electrical products, because We are the
   largest professional manufacturer in electrical products in China.Our
   products are exported to many countries all over the world, Now we hope
     you will be interested in our products (junction box隆垄KWH
   meter隆垄distribution box隆垄miniature circuit
   breaker隆垄timer隆垄contactor隆垄relay etc).Each product has its own series.
     If you require to visit our website or require our catalogue, contact
   with us please! we shall send to you the detailed information for your
   checking in the next e-mail, thanks a lot!
    2.We can also help you to build some electrical projects(including the
   development of the software in the computer), for example: the high and
   low voltage substation, the remote control system,
     the solar(or wind) plant system;the metal
   cabinet(box/board/enclosure) of any special requirement and so on.
    3.Having high regard for our good service please, If you want to
   import any electrical products or require us to offer to you any
   service of the electrical project, Do not hesitate to contact with us,
   thank you!
    Dear friend, keep on this E-mail, when you require us to help you,
   contact with our group company directly please!
    Look forward to your further information,Your kind reply will be
   highly appreciated for us! Thanks and best regards!
    Yours friend, Mr. Matthew
   -*-********************************************************************
   *******************
(Continue reading)

Mr. Matthew | 13 Sep 14:49 2014

Ask for a long-term and friendly cooperative relations with you!

   Dear Friend,
    Hello!
    It is a pleasure to write to you this e-mail, this is Mr. Matthew from
   China. This e-mail is to contact you and hope to establish a long-term
   and friendly cooperative relations with you.
    1.We can supply to you the electrical products, because We are the
   largest professional manufacturer in electrical products in China.Our
   products are exported to many countries all over the world, Now we hope
     you will be interested in our products (junction box隆垄KWH
   meter隆垄distribution box隆垄miniature circuit
   breaker隆垄timer隆垄contactor隆垄relay etc).Each product has its own series.
     If you require to visit our website or require our catalogue, contact
   with us please! we shall send to you the detailed information for your
   checking in the next e-mail, thanks a lot!
    2.We can also help you to build some electrical projects(including the
   development of the software in the computer), for example: the high and
   low voltage substation, the remote control system,
     the solar(or wind) plant system;the metal
   cabinet(box/board/enclosure) of any special requirement and so on.
    3.Having high regard for our good service please, If you want to
   import any electrical products or require us to offer to you any
   service of the electrical project, Do not hesitate to contact with us,
   thank you!
    Dear friend, keep on this E-mail, when you require us to help you,
   contact with our group company directly please!
    Look forward to your further information,Your kind reply will be
   highly appreciated for us! Thanks and best regards!
    Yours friend, Mr. Matthew
   -*-********************************************************************
   *******************
(Continue reading)

Chen Hanxiao | 11 Sep 11:51 2014

[RESEND][PATCH] userns: use marco instead of magic number for max userns level

Use marco instead of magic number
for max user namespace level.

Signed-off-by: Chen Hanxiao <chenhanxiao@...>
---
 kernel/user_namespace.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c
index aa312b0..5435489 100644
--- a/kernel/user_namespace.c
+++ b/kernel/user_namespace.c
 <at>  <at>  -47,6 +47,8  <at>  <at>  static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns)
 	cred->user_ns = user_ns;
 }

+#define MAX_USER_NS_LEVEL 32
+
 /*
  * Create a new user namespace, deriving the creator from the user in the
  * passed credentials, and replacing that user with the new root user for the
 <at>  <at>  -62,7 +64,7  <at>  <at>  int create_user_ns(struct cred *new)
 	kgid_t group = new->egid;
 	int ret;

-	if (parent_ns->level > 32)
+	if (parent_ns->level > MAX_USER_NS_LEVEL)
 		return -EUSERS;

 	/*
(Continue reading)

Mail Delivery System | 10 Sep 16:33 2014

Undelivered Mail Returned to Sender

This is the mail system at host c9mailgw14.amadis.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<0000@...>: host m2w-in1.ctmail.com[74.202.142.24] said: 550 5.1.1
    <0000@...> is not a valid mailbox (in reply to RCPT TO command)
Attachment: message/delivery-status, 504 bytes
From: anna <containers@...>
Subject: ny vakans
Date: 2014-09-10 14:33:33 GMT
Hello, 0000@...     

Our company offers a vacancy for people who are interested in editing texts 
(especially when it comes to correcting grammar mistakes).

We are looking for native speakers of Swedish. 
(Continue reading)

Колоненков | 10 Sep 12:45 2014
Picon

Только управленцу. Можно ли не платить много?


<BR><BR><BR> <BR><BR> 

Только управленцу. Можно ли не платить много?<DIV>&nbsp;</DIV>
<BR><BR> 
<BR><BR>

Взможно ли не платить много?. Исключительно для
руководителя 
<BR><BR><DIV><FONT style="FONT-SIZE: 1px" size=1>&#173;</FONT></DIV>
_______________________________________________
Containers mailing list
Containers@...
https://lists.linuxfoundation.org/mailman/listinfo/containers
Жало | 8 Sep 22:03 2014
Picon

Только совладельцу -


<BR><DIV>&#32;</DIV> <DIV><FONT style="FONT-SIZE: 1px"
size=1>&#173;&#xAD;&#xAD;</FONT></DIV><DIV>&#32;</DIV><DIV>&#x20;</DIV><BR> 

<BR><DIV>&#x20;</DIV><BR>
<DIV><FONT style="FONT-SIZE: 1px" size=1>&#173;&#xAD;</FONT></DIV>

О&#1076;н&#111;&#1079;&#1085;&#97;&#x447;&#1085;&omicron;&#x20;&#1085;&#1077;&#111;б&#x445;оди&#x43C;р&#xA0;и&#x43C;е&#1090;&#1100;
ше&#1092;y&#xA0;&#1080; в&#xA0;&omicron;ф&#1080;&#x441;е&#x2E;

<BR><BR> 
<BR><DIV>&#xA0;</DIV>
_______________________________________________
Containers mailing list
Containers <at> lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/containers
Chen Hanxiao | 5 Sep 07:39 2014

[PATCH] userns: use marco instead of magic number for max userns level

Use marco instead of magic number
for max user namespace level.

Signed-off-by: Chen Hanxiao <chenhanxiao@...>
---
 kernel/user_namespace.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c
index aa312b0..5435489 100644
--- a/kernel/user_namespace.c
+++ b/kernel/user_namespace.c
 <at>  <at>  -47,6 +47,8  <at>  <at>  static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns)
 	cred->user_ns = user_ns;
 }

+#define MAX_USER_NS_LEVEL 32
+
 /*
  * Create a new user namespace, deriving the creator from the user in the
  * passed credentials, and replacing that user with the new root user for the
 <at>  <at>  -62,7 +64,7  <at>  <at>  int create_user_ns(struct cred *new)
 	kgid_t group = new->egid;
 	int ret;

-	if (parent_ns->level > 32)
+	if (parent_ns->level > MAX_USER_NS_LEVEL)
 		return -EUSERS;

 	/*
(Continue reading)

Chen Hanxiao | 3 Sep 12:29 2014

[RFC PATCH 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

This series will expose pid inside containers
via procfs.
Also show the hierarchy of pid namespcae.
Then we could know how pid looks inside a container
and their ns relationships.

Chen Hanxiao (3):
  procfs: check uniq proc_dir_entry subdir name
  procfs: show hierarchy of pid namespace
  /proc/pid/status: show all sets of pid according to ns

 fs/proc/Kconfig           |   6 ++
 fs/proc/Makefile          |   1 +
 fs/proc/array.c           |  17 +++++
 fs/proc/generic.c         |  15 +++++
 fs/proc/pidns_hierarchy.c | 161 ++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/proc_fs.h   |   3 +
 6 files changed, 203 insertions(+)
 create mode 100644 fs/proc/pidns_hierarchy.c

--

-- 
1.9.0
postmaster | 2 Sep 01:19 2014
Picon

Undeliverable: Re: request for Payment

Delivery has failed to these recipients or groups:

ukodf@...<mailto:ukodf@...>
The e-mail address you entered couldn't be found. Please check the recipient's e-mail address and try to
resend the message. If the problem continues, please contact your helpdesk.

Diagnostic information for administrators:

Generating server: r2l.com.au

ukodf@...
#550 5.1.1 RESOLVER.ADR.RecipNotFound; not found ##

Original message headers:

Received: from milanrs.eirene (94.242.209.187) by remote.r2l.com.au
 (192.168.30.253) with Microsoft SMTP Server id 14.1.379.0; Tue, 2 Sep 2014
 09:19:46 +1000
Received: from [94.242.209.187] by milanrs.eirene id jl9Y1fkX56; Tue, 02 Sep
 2014 01:25:57 +0200
Message-ID: <002e01cfc63c$12a25680$0200a8c0@...>
From: <containers@...>
To: <ukodf@...>
Subject: Re: request for Payment
Date: Tue, 2 Sep 2014 01:25:57 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------1E0C14DADDE7430"
Return-Path: containers@...

(Continue reading)

Pavel Emelyanov | 1 Sep 12:48 2014

[Announce] Checkpoint-restore tool v1.3

Hello, everyone!

It's been a long delay since 1.2, but we finally did it :) The 1.3,
which finally can dump and restore Docker and LXC containers is out!
The comprehensive description about doing the former trick is at
http://criu.org/Docker

I'd like to thank everyone who joined us and is helping doing the 
release.

The full changelog is http://criu.org/Download/criu/1.3
Sourceball is at http://download.openvz.org/criu/criu-1.3.tar.bz2
News and docs continue appearing at http://criu.org and 
https://plus.google.com/+CriuOrg

Stay tuned, the next release is planned to happen earlier than in
half-a-year :)

Thanks,
Pavel

Gmane