[LTP] [PATCH v2 4/4] Add error coverage for landlock network support
Andrea Cervesato
andrea.cervesato@suse.com
Wed Nov 6 11:29:03 CET 2024
Hi Cyril,
On 11/5/24 16:39, Cyril Hrubis wrote:
>> - verify_landlock_is_enabled();
>> + abi_current = verify_landlock_is_enabled();
>>
>> ruleset_attr->handled_access_fs = LANDLOCK_ACCESS_FS_EXECUTE;
>>
>> ruleset_fd = TST_EXP_FD_SILENT(tst_syscall(__NR_landlock_create_ruleset,
>> - ruleset_attr, sizeof(struct tst_landlock_ruleset_attr_abi1), 0));
>> + ruleset_attr, sizeof(struct tst_landlock_ruleset_attr_abi4), 0));
> ^
> This should be abi_current otherwise we
> will fail on v1 only system.
>
>> }
>>
In what sense? abi4 is already the last one. At least the last supported
by LTP.
Andrea
More information about the ltp
mailing list