All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Mark <zxm927@163.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Can I move a kernel thread into a special mount namespace
Date: Wed, 26 Oct 2016 14:31:32 +0200	[thread overview]
Message-ID: <20161026123132.GA4721@kroah.com> (raw)
In-Reply-To: <69ad7e46-26ae-2e7b-3eda-31a676203fac@163.com>

On Sun, Oct 16, 2016 at 07:18:43PM +0800, Mark wrote:
> Hi,
> 
> Our requirement is, a user process sends a command to a kernel (3.10)
> module, and the kernel module creates a kernel thread, which has to be
> in same mount space with the user process since they have to access a
> same path, which is not mounted in root namespace. But seems all kernel
> threads have one parent "threadd", which is in root name space.

Very odd requirement, do you have a pointer to your code anywhere?  What
exactly will that kernel thread do?

And why use such an obsolete and old kernel version?

thanks,

greg k-h

  reply	other threads:[~2016-10-26 12:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-16 11:18 Can I move a kernel thread into a special mount namespace Mark
2016-10-26 12:31 ` Greg KH [this message]
2016-11-13  8:50   ` Mark
2016-11-13  9:43     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161026123132.GA4721@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=zxm927@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.