Go to the source code of this file.
|
| namespace_t * | namespace_new (namespace_t *parent) |
| | Create a new namespace.
|
| |
| uint64_t | namespace_copy (namespace_t *dest, namespace_t *src) |
| | Copy mounts from one namespace to another.
|
| |
| bool | namespace_accessible (namespace_t *ns, namespace_t *other) |
| | Check if mounts in a namespace can be propagated to another namespace.
|
| |
| bool | namespace_rcu_traverse (namespace_t *ns, mount_t **mount, dentry_t **dentry) |
| | If the given path is a mountpoint in the namespace, traverse to the mounted filesystem in an RCU read critical section, else no-op.
|
| |
| mount_t * | namespace_mount (namespace_t *ns, path_t *target, filesystem_t *fs, const char *options, mode_t mode, void *data) |
| | Mount a filesystem in a namespace.
|
| |
| mount_t * | namespace_bind (namespace_t *ns, path_t *target, path_t *source, mode_t mode) |
| | Bind a source path to a target path in a namespace.
|
| |
| void | namespace_unmount (namespace_t *ns, mount_t *mount, mode_t mode) |
| | Remove a mount in a namespace.
|
| |
| void | namespace_get_root (namespace_t *ns, path_t *out) |
| | Get the root path of a namespace.
|
| |
| void | namespace_rcu_get_root (namespace_t *ns, mount_t **mount, dentry_t **dentry) |
| | Get the root mount of a namespace in an RCU read critical section.
|
| |
◆ namespace_t
◆ mount_t
◆ process_t
◆ dentry_t