[LTP] [PATCH 2/4] landlock02: support landlock ABI v6

Cyril Hrubis chrubis@suse.cz
Thu Mar 27 18:00:22 CET 2025


Hi!
>  	attr_abi1->handled_access_fs =
> -		attr_abi4->handled_access_fs = LANDLOCK_ACCESS_FS_EXECUTE;
> +		attr_abi4->handled_access_fs =
> +		attr_abi6->handled_access_fs = LANDLOCK_ACCESS_FS_EXECUTE;

While this is perfectly valid C I would just intialize each of them
separately since that would be easier to read.


Other than that:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list