Displaying 2 results from an estimated 2 matches for "mnl_socket_get_fd".
2018 Feb 05
0
[Bug 1223] New: libmnl does not compile with #undef HAVE_VISIBILITY_HIDDEN
..."
#ifdef HAVE_VISIBILITY_HIDDEN
# define __visible __attribute__((visibility("default")))
# define EXPORT_SYMBOL(x) typeof(x) (x) __visible
#else
# define EXPORT_SYMBOL
#endif
This causes compilation problems when EXPORT_SYMBOL is used, e.g. in socket.c:
EXPORT_SYMBOL(mnl_socket_get_fd);
int mnl_socket_get_fd(const struct mnl_socket *nl)
{
return nl->fd;
}
So I think EXPORT_SYMBOL should be defined as
...
#else
# define EXPORT_SYMBOL(x)
#endif
?
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTM...
2018 Jan 14
2
[Bug 1215] New: nft -c "" segfaults
...;
Error: syntax error, unexpected junk
\;
^
but:
> nft -c ";"
fish: “nft -c ";"” terminated by signal SIGSEGV (Address boundary error)
and basically for any other valid input including the empty string.
Journalctl shows:
Stack trace of thread 7337:
#0 0x00007fd0f2abef10 mnl_socket_get_fd (libmnl.so.0)
#1 0x0000557b554d78a3 n/a (nft)
#2 0x0000557b554b68b8 n/a (nft)
#3 0x0000557b554b62c5 n/a (nft)
#4 0x00007fd0f201bf4a __libc_start_main (libc.so.6)
#5 0x0000557b554b654a n/a (nft)
# nft --version
nftables v0.8 (Joe Btfsplk)
# ldd (which nft)
linux-vdso.so.1 (0x00007ffccf0dc...