On Thu, Jul 23, 2015 at 11:50 PM, Alexei Starovoitov <[email protected]> wrote: > On Thu, Jul 23, 2015 at 09:17:41AM +0200, Nicolas Dichtel wrote: >> Error was: >> f_bpf.o: In function `bpf_parse_opt': >> f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' >> m_bpf.o: In function `parse_bpf': >> m_bpf.c:(.text+0x587): undefined reference to `secure_getenv' >> collect2: error: ld returned 1 exit status >> >> There is no special reason to use the secure version of getenv, thus let's >> simply use getenv(). >> >> CC: Daniel Borkmann <[email protected]> >> Fixes: 88eea5395483 ("tc: {f,m}_bpf: allow to retrieve uds path from env") >> Signed-off-by: Nicolas Dichtel <[email protected]> >> --- >> >> v2: rework the fix to use getenv() instead of secure_getenv() > > had the same workaround locally. > Acked-by: Alexei Starovoitov <[email protected]>
Tested-by: Yegor Yefremov <[email protected]> tested with uclibc, that has problems with secure_getenv() too. Yegor -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
