[LTP] [PATCH v3 05/11] Add landlock01 test

Petr Vorel pvorel@suse.cz
Thu Jul 11 22:40:07 CEST 2024


Hi Andrea,

again, LGTM, 2 things:

First, this fails at least on various kernel versions (tested: Tumbleweed
6.10.0-rc7-3.g92abc10-default, and SLE15-SP4 5.14.21 with lsm=landlock and
Debian 6.6.15-amd64):

landlock01.c:49: TFAIL: Size is too small expected EINVAL: ENOMSG (42)

Is it a kernel bug or a test bug?

I'm not sure if Li's concern [1] was fully addressed:

	We still have to adjust the case if someone introduces one more new field
	similar to 'handled_access_net' to the structure in the future.

Kind regards,
Petr

[1] https://lore.kernel.org/ltp/CAEemH2dkKvthbx+za-rwfsmanraZuud-sq1O4FZK2zta5MBMSg@mail.gmail.com/


More information about the ltp mailing list