lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 24 Nov 2022 02:10:15 +0000 From: patchwork-bot+netdevbpf@...nel.org To: David Vernet <void@...ifault.com> Cc: bpf@...r.kernel.org, ast@...nel.org, andrii@...nel.org, daniel@...earbox.net, martin.lau@...ux.dev, yhs@...com, song@...nel.org, sdf@...gle.com, john.fastabend@...il.com, kpsingh@...nel.org, jolsa@...nel.org, haoluo@...gle.com, tj@...nel.org, kernel-team@...com, linux-kernel@...r.kernel.org Subject: Re: [PATCH bpf-next 0/2] Add kfunc for doing pid -> task lookup Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@...nel.org>: On Tue, 22 Nov 2022 08:52:58 -0600 you wrote: > A series of prior patches added support for storing struct task_struct * > objects as kptrs. This patch set proposes extending this with another > kfunc called bpf_task_from_pid() which performs a lookup of a task from > its pid, from the root pid namespace idr. > > This allows BPF programs that don't have a kptr to a task, to instead > perform a lookup by pid. This will be useful for programs that are > tracking pids and want, e.g., to do a lookup to find task->comm. > > [...] Here is the summary with links: - [bpf-next,1/2] bpf: Add bpf_task_from_pid() kfunc https://git.kernel.org/bpf/bpf-next/c/3f0e6f2b41d3 - [bpf-next,2/2] selftests/bpf: Add selftests for bpf_task_from_pid() https://git.kernel.org/bpf/bpf-next/c/f471748b7fe5 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists