From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elad Wexler Subject: [RFC] Supporting namespaces in the connector driver Date: Thu, 28 Dec 2017 14:05:39 +0200 Message-ID: <20171228120539.GA13368@ewexler> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, zbr@ioremap.net Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi, I have spent some time looking at the cn_proc monitor capabilities which use the connector driver for monitoring processes. Currently the cn_proc (and all other modules which are using the connector) only works on the main init_user_ns namespace. If I am working inside a docker container (as an example), I won't be able to monitor process creation, for example fork()/exec() etc ... Of course I will be able to monitor any process from the host namespace (init_user_ns) but I would like also to be able to monitor the processes that belong to the same docker container, (belong to the same namespace) I wonder if there is a plan to add pernet support for the connector? If you think it there is a good reason to add that? (I can provide a few patches that do that) I will be happy to work on to add a support for that, and actually I have started to do some modification to make it works. and still testing it. Thanks