Messages in this thread | | | From | Leo Yan <> | Subject | [PATCH net v3 0/2] pid: Introduce helper task_is_in_root_ns() | Date | Wed, 26 Jan 2022 13:04:25 +0800 |
| |
This patch series introduces a helper function task_is_in_init_pid_ns() to replace open code. The two patches are extracted from the original series [1] for network subsystem.
As a plan, we can firstly land this patch set into kernel 5.18; there have 5 patches are left out from original series [1], as a next step, I will resend them for appropriate linux-next merging.
[1] https://lore.kernel.org/lkml/20211208083320.472503-1-leo.yan@linaro.org/
Changes from v2: * No any code change. * Extract two patches for network subsystem. (Jakub) * Added reviewed and acked tags. (Leon, Suzuki and Balbir)
Changes from v1: * Renamed helper function from task_is_in_root_ns() to task_is_in_init_pid_ns(). (Leon Romanovsky) * Improved patches' commit logs for more neat.
Leo Yan (2): pid: Introduce helper task_is_in_init_pid_ns() connector/cn_proc: Use task_is_in_init_pid_ns()
drivers/connector/cn_proc.c | 2 +- include/linux/pid_namespace.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-)
-- 2.25.1
| |