|
Revision tags: v6.18-rc5, v6.18-rc4, v6.18-rc3, v6.18-rc2, v6.18-rc1, v6.17 |
|
| #
af075603
|
| 24-Sep-2025 |
Christian Brauner <brauner@kernel.org> |
ns: drop assert
Otherwise we warn when e.g., no namespaces are configured but the initial namespace for is still around.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <braun
ns: drop assert
Otherwise we warn when e.g., no namespaces are configured but the initial namespace for is still around.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
show more ...
|
| #
4055526d
|
| 24-Sep-2025 |
Christian Brauner <brauner@kernel.org> |
ns: move ns type into struct ns_common
It's misplaced in struct proc_ns_operations and ns->ops might be NULL if the namespace is compiled out but we still want to know the type of the namespace for
ns: move ns type into struct ns_common
It's misplaced in struct proc_ns_operations and ns->ops might be NULL if the namespace is compiled out but we still want to know the type of the namespace for the initial namespace struct.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
show more ...
|
| #
5890f504
|
| 22-Sep-2025 |
Christian Brauner <brauner@kernel.org> |
ns: add ns_debug()
Add ns_debug() that asserts that the correct operations are used for the namespace type.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
|
|
Revision tags: v6.17-rc7 |
|
| #
024596a4
|
| 18-Sep-2025 |
Christian Brauner <brauner@kernel.org> |
ns: rename to __ns_ref
Make it easier to grep and rename to ns_count.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
|
| #
be5f21d3
|
| 17-Sep-2025 |
Christian Brauner <brauner@kernel.org> |
ns: add ns_common_free()
And drop ns_free_inum(). Anything common that can be wasted centrally should be wasted in the new common helper.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christi
ns: add ns_common_free()
And drop ns_free_inum(). Anything common that can be wasted centrally should be wasted in the new common helper.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
show more ...
|
| #
5612ff3e
|
| 17-Sep-2025 |
Christian Brauner <brauner@kernel.org> |
nscommon: simplify initialization
There's a lot of information that namespace implementers don't need to know about at all. Encapsulate this all in the initialization helper.
Reviewed-by: Jan Kara
nscommon: simplify initialization
There's a lot of information that namespace implementers don't need to know about at all. Encapsulate this all in the initialization helper.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
show more ...
|
| #
86cdbae5
|
| 17-Sep-2025 |
Christian Brauner <brauner@kernel.org> |
mnt: simplify ns_common_init() handling
Assign the reserved MNT_NS_ANON_INO sentinel to anonymous mount namespaces and cleanup the initial mount ns allocation. This is just a preparatory patch and t
mnt: simplify ns_common_init() handling
Assign the reserved MNT_NS_ANON_INO sentinel to anonymous mount namespaces and cleanup the initial mount ns allocation. This is just a preparatory patch and the ns->inum check in ns_common_init() will be dropped in the next patch.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
show more ...
|
| #
f74ca6da
|
| 17-Sep-2025 |
Christian Brauner <brauner@kernel.org> |
nscommon: move to separate file
It's really awkward spilling the ns common infrastructure into multiple headers. Move it to a separate file.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Chri
nscommon: move to separate file
It's really awkward spilling the ns common infrastructure into multiple headers. Move it to a separate file.
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
show more ...
|