-
Notifications
You must be signed in to change notification settings - Fork 5
selftests/bpf: Improve by-name subtest selection logic in prog_tests #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Master branch: 2d0df01 |
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=629294 expired. Closing PR. |
|
Master branch: ebaf24c |
ca78b3e to
e0b0a8c
Compare
|
Master branch: 9fc4476 |
e0b0a8c to
410c58b
Compare
|
Master branch: 502b0e3 |
410c58b to
6b70b88
Compare
|
Master branch: e58c5c9 |
6b70b88 to
2228209
Compare
|
Master branch: ded6dff |
2228209 to
3489d12
Compare
|
Master branch: ded6dff |
3489d12 to
1eceb19
Compare
|
Master branch: 43cc5a7 |
1eceb19 to
81c7908
Compare
43cc5a7 to
700a6ef
Compare
|
Master branch: 700a6ef |
81c7908 to
eea2655
Compare
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
In the straightforward LSM prog, it denies the use of mbind(2) with the
mode MPOL_BIND and permits other modes.
Consequently:
- Absent the LSM prog, mbind(2) should invariably succeed regardless of
the mode
#263/1 set_mempolicy/MPOL_BIND_without_lsm:OK
#263/2 set_mempolicy/MPOL_DEFAULT_without_lsm:OK
- With the LSM prog
- mbind(2) with the mode MPOL_BIND should result in failure
#263/3 set_mempolicy/MPOL_BIND_with_lsm:OK
- mbind(2) with the mode MPOL_DEFAULT should succeed
#263/4 set_mempolicy/MPOL_DEFAULT_with_lsm:OK
- Summary
#263 set_mempolicy:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yafang Shao <[email protected]>
Pull request for series with
subject: selftests/bpf: Improve by-name subtest selection logic in prog_tests
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=629294