Searched hist:"92274 e24b01b331ef7a4227135933e6163fe94aa" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/lib/bpf/ |
H A D | linker.c | diff 92274e24b01b331ef7a4227135933e6163fe94aa Thu Oct 28 01:34:58 CDT 2021 Kumar Kartikeya Dwivedi <memxor@gmail.com> libbpf: Use O_CLOEXEC uniformly when opening fds
There are some instances where we don't use O_CLOEXEC when opening an fd, fix these up. Otherwise, it is possible that a parallel fork causes these fds to leak into a child process on execve.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211028063501.2239335-6-memxor@gmail.com
|
H A D | libbpf_probes.c | diff 92274e24b01b331ef7a4227135933e6163fe94aa Thu Oct 28 01:34:58 CDT 2021 Kumar Kartikeya Dwivedi <memxor@gmail.com> libbpf: Use O_CLOEXEC uniformly when opening fds
There are some instances where we don't use O_CLOEXEC when opening an fd, fix these up. Otherwise, it is possible that a parallel fork causes these fds to leak into a child process on execve.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211028063501.2239335-6-memxor@gmail.com
|
H A D | btf.c | diff 92274e24b01b331ef7a4227135933e6163fe94aa Thu Oct 28 01:34:58 CDT 2021 Kumar Kartikeya Dwivedi <memxor@gmail.com> libbpf: Use O_CLOEXEC uniformly when opening fds
There are some instances where we don't use O_CLOEXEC when opening an fd, fix these up. Otherwise, it is possible that a parallel fork causes these fds to leak into a child process on execve.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211028063501.2239335-6-memxor@gmail.com
|
H A D | libbpf.c | diff 92274e24b01b331ef7a4227135933e6163fe94aa Thu Oct 28 01:34:58 CDT 2021 Kumar Kartikeya Dwivedi <memxor@gmail.com> libbpf: Use O_CLOEXEC uniformly when opening fds
There are some instances where we don't use O_CLOEXEC when opening an fd, fix these up. Otherwise, it is possible that a parallel fork causes these fds to leak into a child process on execve.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211028063501.2239335-6-memxor@gmail.com
|