Skip to contentSkip to conversation

ltp: add tests for some recently-fixed keyrings bugs

PATCH Petr Vorel 1 participant 1 message Oct 13, 2017 Keys/keyrings

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

Hi Cyril,

Quoted 6 lines

Eric Biggers (4):
lapi/keyctl.h: add a few missing definitions syscalls/keyctl06: new test for keyring_read() buffer overrun syscalls/keyctl07: new test for oops when reading negative key syscalls/add_key03: new test for forging user keyrings

Quoted 7 lines
 include/lapi/keyctl.h                         | 20 ++++++
 runtest/cve                                   |  1 +
 runtest/syscalls                              |  3 +
 testcases/kernel/syscalls/.gitignore          |  3 +
 testcases/kernel/syscalls/add_key/add_key03.c | 98 +++++++++++++++++++++++++++
 testcases/kernel/syscalls/keyctl/keyctl06.c   | 68 +++++++++++++++++++
 testcases/kernel/syscalls/keyctl/keyctl07.c   | 89 ++++++++++++++++++++++++

...
This is going to create conflict with my patch-set v3 "Fix 32-bit cross compilation". If you accept this first, I can rebase my patch-set for you.
BTW my patch-set is in github, if it's easier for you.
https://github.com/pevik/ltp/tree/autotools/fix-32bit-build.v3

Kind regards,
Petr