linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] pid: Introduce helper task_is_in_root_ns()
@ 2022-01-26  5:04 Leo Yan
  2022-01-26  5:04 ` [PATCH net v3 1/2] pid: Introduce helper task_is_in_init_pid_ns() Leo Yan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Leo Yan @ 2022-01-26  5:04 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski, Suzuki K Poulose,
	Leon Romanovsky, Balbir Singh, netdev, linux-kernel
  Cc: Leo Yan

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-27  3:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26  5:04 [PATCH net v3 0/2] pid: Introduce helper task_is_in_root_ns() Leo Yan
2022-01-26  5:04 ` [PATCH net v3 1/2] pid: Introduce helper task_is_in_init_pid_ns() Leo Yan
2022-01-26  5:04 ` [PATCH net v3 2/2] connector/cn_proc: Use task_is_in_init_pid_ns() Leo Yan
2022-01-27  3:10 ` [PATCH net v3 0/2] pid: Introduce helper task_is_in_root_ns() patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).