Skip to content

Commit 0b444ab

Browse files
committed
wishlist: add empty mount namespace creation
Signed-off-by: Christian Brauner <[email protected]>
1 parent c1e04eb commit 0b444ab

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ associated problem space.
1616

1717
## In-Progress
1818

19+
### Create empty mount namespaces via `unshare(UNSHARE_EMPTY_MNTNS)` and `clone3(CLONE_EMPTY_MNTNS)`
20+
21+
Now that we have support for `nullfs` it is trivial to allow the
22+
creation of completely empty mount namespaces, i.e., mount namespaces
23+
that only have the `nullfs` mount located at it's root.
24+
25+
**Usecase:** This allows to isolate tasks in completely empty mount
26+
namespaces. It also allows the caller to avoid copying its current mount
27+
table which is useless in the majority of container workload cases.
28+
1929
### Ability to put user xattrs on `S_IFSOCK` socket entrypoint inodes in the file system
2030

2131
Currently, the kernel only allows extended attributes in the

0 commit comments

Comments
 (0)