[LTP] [PATCH 0/4] keyctl: SLE12-SP5 build fix + libkeyutils cleanup

Petr Vorel pvorel@suse.cz
Tue Sep 22 18:09:07 CEST 2026


Hi,

first 2 commits are build fixes for SLE12-SP5 which should be merged
before release (we don't have this 4.12 in LTP CI).

3rd commit is simple cleanup.

And 4th commit the big libkeyutils removal can be postponed before release.

CI (to speedup):
* whole patchset
https://github.com/pevik/ltp/actions/runs/35749797392

* 1st, 2nd and 3rd commit
https://github.com/pevik/ltp/actions/runs/35749853642

* 1st and 2nd commit
https://github.com/pevik/ltp/actions/runs/35749868601

AFTER RELEASE:
And even further cleanup could be done after the release:
include/lapi/keyctl.h contains not only fallback structs and
definitions, but also functions, which should be moved into newly
created lib/tst_keyctl.c and include/tst_keyctl.h. We did not do it in
the past due libkeyutils dependency, which we did not want to have as
hard dependency (problem solved by 4th commit).

Kind regards,
Petr

Cyril Hrubis (1):
  lapi/keyctl.h: Remove <keyutils.h>

Petr Vorel (3):
  keyctl: Use struct keyctl_dh_params 'private' instead of 'priv'
  m4/ltp-keyutils.m4: Remove struct keyctl_dh_params.priv check
  Remove libkeyutils use

 configure.ac                                  |  5 ++++-
 include/lapi/keyctl.h                         | 22 +++++++++----------
 include/mk/config.mk.in                       |  1 -
 m4/ltp-keyutils.m4                            | 17 --------------
 testcases/cve/Makefile                        |  2 --
 testcases/kernel/syscalls/add_key/Makefile    |  2 --
 testcases/kernel/syscalls/keyctl/Makefile     |  1 -
 testcases/kernel/syscalls/keyctl/keyctl25.c   |  2 +-
 testcases/kernel/syscalls/keyctl/keyctl26.c   |  2 +-
 testcases/kernel/syscalls/keyctl/keyctl27.c   |  2 +-
 testcases/kernel/syscalls/keyctl/keyctl28.c   |  2 +-
 testcases/kernel/syscalls/landlock/Makefile   |  2 --
 .../kernel/syscalls/request_key/Makefile      |  2 --
 testcases/kernel/watchqueue/Makefile          |  2 --
 14 files changed, 18 insertions(+), 46 deletions(-)
 delete mode 100644 m4/ltp-keyutils.m4

-- 
2.55.0



More information about the ltp mailing list