WSL2-Linux-Kernel/drivers/connector
Leo Yan 42c66d1675 connector/cn_proc: Use task_is_in_init_pid_ns()
This patch replaces open code with task_is_in_init_pid_ns() to check if
a task is in root PID namespace.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-01-26 18:57:09 -08:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cn_proc.c connector/cn_proc: Use task_is_in_init_pid_ns() 2022-01-26 18:57:09 -08:00
cn_queue.c net/connector: Add const qualifier to cb_id 2020-12-16 11:06:49 -08:00
connector.c net/connector: Add const qualifier to cb_id 2020-12-16 11:06:49 -08:00