Re: Can I move a kernel thread into a special mount namespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2016/10/26 20:31, Greg KH Wrote:
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


The kernel thread checks a file and if it exists then do something, but
the file is created in a separate namespace. Is this an odd requirement?
I cannot post the code. It's on an android release so kernel is 3.10. Is
there a solution on a newer kernel release?

Thank you very much, and sorry for late response:)

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux