[LTP] [PATCH 2/2] syscalls/keyctl: Make use of lapi/keyctl.h && Add existing test to runtest/cve
Cyril Hrubis
chrubis@suse.cz
Wed Aug 23 16:18:00 CEST 2017
Hi!
> - keyctl(KEYCTL_READ, key, buffer, 4);
> + tst_syscall(__NR_keyctl, KEYCTL_READ, key, buffer, 4);
What about we, instead of using raw syscall, defined fallback keyctl()
and add_key() in the lapi/keyctl.h that would call the syscall? That way
we would test the keyutils library if present but these tests will not
be disabled otherwise.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list