APPLIED [XBDE]: [X][B][D][E][F][SRU][PATCH 0/1] Fix for add_key05 test in LTP syscalls test
Kelsey Skunberg
kelsey.skunberg at canonical.com
Fri Apr 17 16:53:46 UTC 2020
On 2020-04-07 14:12:46 , Po-Hsu Lin wrote:
> == SRU Justification ==
> add_key05 test in LTP syscalls test is a regression test for the following
> commits:
> * a08bf91ce28e ("KEYS: allow reaching the keys quotas exactly")
> * 2e356101e72a ("KEYS: reaching the keys quotas correctly")
>
> This test case will fail with the following sub-test, which is for testing
> maximum length passed to the add_key syscall:
> add_key05.c:133: FAIL: add_key(test_max) failed unexpectedly: EDQUOT (122)
>
> == Fix ==
> * 2e356101e72a ("KEYS: reaching the keys quotas correctly")
>
> This patch can be cherry-picked into X/B/D/E/F.
>
> == Test ==
> Test kernels could be found here:
> https://people.canonical.com/~phlin/kernel/lp-1869644-add_key05/
>
> The test will pass with the patched kernel:
> add_key05.c:128: PASS: add_key(test_max) succeeded as expected
>
> == Regression Potential ==
> Low, small correction for length limit and with positive test results.
>
>
> Yang Xu (1):
> KEYS: reaching the keys quotas correctly
>
> security/keys/key.c | 2 +-
> security/keys/keyctl.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> --
> 2.7.4
>
>
Applied to master-next for xenial, bionic, disco, and eoan. Thank you!
-Kelsey
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list