Displaying 1 result from an estimated 1 matches for "xtables_insmod".
2009 Nov 09
3
[Bug 619] New: If /proc/sys/kernel/modprobe is absent, errno is clobbered in get_modprobe
...bluecatnetworks.com
In do_command(), if iptc_init() fails, it's expected that errno will be set to
a useful value that is printed by xtables_error().
However, when iptc_init() fails for the first time, an attempt is made to load
the ip_tables module via xtables_load_ko(), which in turn calls
xtables_insmod(), which calls get_modprobe() to get the path of the binary from
the proc filesystem (if it wasn't explicitly specified with --modprobe). To
that end, get_modprobe() attempts to open() /proc/sys/kernel/modprobe, which
may be absent (eg. if LKM support is not enabled). In that case, the failed...