[PATCH net v3 0/2] pid: Introduce helper task_is_in_root_ns()

Leo Yan posted 2 patches 4 years, 5 months ago
drivers/connector/cn_proc.c   | 2 +-
include/linux/pid_namespace.h | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
[PATCH net v3 0/2] pid: Introduce helper task_is_in_root_ns()
Posted by Leo Yan 4 years, 5 months ago
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

Re: [PATCH net v3 0/2] pid: Introduce helper task_is_in_root_ns()
Posted by patchwork-bot+netdevbpf@kernel.org 4 years, 5 months ago
Hello:

This series was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 26 Jan 2022 13:04:25 +0800 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net,v3,1/2] pid: Introduce helper task_is_in_init_pid_ns()
    https://git.kernel.org/netdev/net/c/d7e4f8545b49
  - [net,v3,2/2] connector/cn_proc: Use task_is_in_init_pid_ns()
    https://git.kernel.org/netdev/net/c/42c66d167564

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html