Hi Cyril, > > In file included from tst_fd.c:22:0: > > ../include/lapi/bpf.h:188:12: note: 'map_flags' declared here > > uint32_t map_flags; /* BPF_MAP_CREATE related > > ^ > > make[1]: *** [tst_fd.o] Error 1 > > ../include/mk/rules.mk:15: recipe for target 'tst_fd.o' failed > Uff, do we still support distros with these header failures? Unfortunately yes (SLES 12-SP2, somehow covered in CI by openSUSE Leap 42.2). > I especailly used the lapi/ headers where possible in order to avoid any > compilation failures, if lapi/bpf.h fails it's lapi/bpf.h that is broken > though. ... > > > +static void open_eventfd(struct tst_fd *fd) > > > +{ > > > + fd->fd = eventfd(0, 0); > > > + > > > + if (fd->fd < 0) { > > > + tst_res(TCONF | TERRNO, > > > + "Skipping %s", tst_fd_desc(fd)); > > Why there is sometimes TCONF? Permissions? I would expect some check which would > > determine whether TCONF or TBROK. Again, I suppose you'll be able to check, when > > TST_EXP_FAIL() merged, right? > The TCONF branch is added to the calls that can be disabled in kernel. > The CONFIG_EVENTFD can turn off the eventfd() syscall so we can't TBROK > here on a failure. OK, thx for info! Kind regards, Petr