semantics of unshared namespace
- From: phil-news-nospam@xxxxxxxx
- Date: 14 Feb 2008 18:04:26 GMT
The clone() and unshare() syscalls can allow a process (initially root)
to run in a separate distinct namespace than the initial namespace the
kernel starts with. In this separate namespace, you could unmount some
filesystems and mount others.
I'm curious what the semantics, or at least the intended semantics, are.
Consider what happens if a process enters a separate namespace, mounts a
new filesystem, then exits. Does that filesystem get automatically
unmounted, say because the namespace reference count decremented to zero
(if there is such a reference count)?
--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2008-02-14-1158@xxxxxxxx |
|------------------------------------/-------------------------------------|
.
- Prev by Date: Re: How to determine if running on a 32 or 64 bits kernel ?
- Next by Date: Re: How to determine if running on a 32 or 64 bits kernel ?
- Previous by thread: How to determine if running on a 32 or 64 bits kernel ?
- Next by thread: Kernel Space to User Space Communication in 2.6
- Index(es):
Relevant Pages
|