Song Liu writes:
> On Mon, Mar 10, 2025 at 10:43 AM Blaise Boscaccy
> wrote:
>>
>> Song Liu writes:
>>
>> > On Fri, Mar 7, 2025 at 5:33 PM Blaise Boscaccy
>> > wrote:
>> >>
>> >> This test exercises the kernel flag added
-1-bbosca...@linux.microsoft.com/
- v3
https://lore.kernel.org/bpf/20250303222416.3909228-1-bbosca...@linux.microsoft.com/
- v2
https://lore.kernel.org/bpf/20250228165322.3121535-1-bbosca...@linux.microsoft.com/
- v1
https://lore.kernel.org/bpf/20250226003055.1654837-1-bbosca...@lin
Song Liu writes:
> On Fri, Mar 7, 2025 at 5:33 PM Blaise Boscaccy
> wrote:
>>
>> This test exercises the kernel flag added to security_bpf by
>> effectively blocking light-skeletons from loading while allowing
>> normal skeletons to function as-is. Since this sho
: Blaise Boscaccy
---
.../selftests/bpf/prog_tests/kernel_flag.c| 43 +++
.../selftests/bpf/progs/test_kernel_flag.c| 28
2 files changed, 71 insertions(+)
create mode 100644 tools/testing/selftests/bpf/prog_tests/kernel_flag.c
create mode 100644 tools/testing
, by simply passing
a boolean flag indicating whether or not the call originated in the
kernel, in any hook that contains a bpf_attr struct that corresponds
to a subcommand that may be called from the kernel.
Signed-off-by: Blaise Boscaccy
Acked-by: Song Liu
Acked-by: Paul Moore
---
include
: Blaise Boscaccy
---
.../selftests/bpf/prog_tests/kernel_flag.c| 43 +++
.../selftests/bpf/progs/test_kernel_flag.c| 28
2 files changed, 71 insertions(+)
create mode 100644 tools/testing/selftests/bpf/prog_tests/kernel_flag.c
create mode 100644 tools/testing
, by simply passing
a boolean flag indicating whether or not the call originated in the
kernel, in any hook that contains a bpf_attr struct that corresponds
to a subcommand that may be called from the kernel.
Signed-off-by: Blaise Boscaccy
Acked-by: Song Liu
Acked-by: Paul Moore
---
include
bpf/20250228165322.3121535-1-bbosca...@linux.microsoft.com/
- v1
https://lore.kernel.org/bpf/20250226003055.1654837-1-bbosca...@linux.microsoft.com/
Blaise Boscaccy (2):
security: Propagate caller information in bpf hooks
selftests/bpf: Add a kernel flag test for LSM bpf hook
include/linux/l
: Blaise Boscaccy
---
.../selftests/bpf/prog_tests/kernel_flag.c| 43 +++
.../selftests/bpf/progs/test_kernel_flag.c| 32 ++
2 files changed, 75 insertions(+)
create mode 100644 tools/testing/selftests/bpf/prog_tests/kernel_flag.c
create mode 100644 tools
, by simply passing
a boolean flag indicating whether or not the call originated in the
kernel, in any hook that contains a bpf_attr struct that corresponds
to a subcommand that may be called from the kernel.
Signed-off-by: Blaise Boscaccy
Acked-by: Song Liu
Acked-by: Paul Moore
---
include
3
https://lore.kernel.org/bpf/20250303222416.3909228-1-bbosca...@linux.microsoft.com/
- v2
https://lore.kernel.org/bpf/20250228165322.3121535-1-bbosca...@linux.microsoft.com/
- v1
https://lore.kernel.org/bpf/20250226003055.1654837-1-bbosca...@linux.microsoft.com/
Blaise Boscaccy (2):
security:
11 matches
Mail list logo