[LTP] [PATCH 03/10] Add landlock SAFE_* macros
Andrea Cervesato
andrea.cervesato@suse.com
Wed Jul 10 19:53:43 CEST 2024
Hi Petr,
this is already done in the v2 which has not been sent yet.
On 7/10/24 17:53, Petr Vorel wrote:
> Hi Andrea, Li,
>
> ...
>> +++ b/include/tst_safe_macros.h
>> @@ -14,6 +14,7 @@
>> #include <sys/stat.h>
>> #include <sys/vfs.h>
>> #include <sys/sysinfo.h>
>> +#include <linux/landlock.h>
> This will break build for more than half of the distros:
>
> https://github.com/pevik/ltp/actions/runs/9876952862
>
> It's mostly due missing <linux/landlock.h> on old distros, but there were also
> redefinition of 'landlock_net_port_attr' at least on Fedora.
>
> You even have some fixed version in your CI where only Leap 42 fails due
> different problem), please send it (or post a diff here).
> https://github.com/acerv/ltp/actions/runs/9778823237
>
> Kind regards,
> Petr
Andrea
More information about the ltp
mailing list