Thread (10 messages) 10 messages, 3 authors, 2023-12-13

Re: [PATCH v4 5/5] selftests/bpf: Add selftests for set_mempolicy with a lsm prog

From: Yafang Shao <hidden>
Date: 2023-12-13 03:08:40
Also in: bpf, linux-mm

On Wed, Dec 13, 2023 at 3:22 AM KP Singh [off-list ref] wrote:
On Fri, Dec 8, 2023 at 10:06 AM Yafang Shao [off-list ref] wrote:
quoted
The result as follows,
  #263/1   set_mempolicy/MPOL_BIND_without_lsm:OK
  #263/2   set_mempolicy/MPOL_DEFAULT_without_lsm:OK
  #263/3   set_mempolicy/MPOL_BIND_with_lsm:OK
  #263/4   set_mempolicy/MPOL_DEFAULT_with_lsm:OK
  #263     set_mempolicy:OK
  Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Please write a commit description on what the test actually does. I
will do it.
even think of something simple that mentions a BPF LSM program that
denies all mbind with the mode MPOL_BIND and checks whether the
corresponding syscall is denied when the program is loaded.
It does. Additionally, it verifies whether the mbind syscall is denied
with different modes, such as MPOL_DEFAULT."

-- 
Regards
Yafang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help