Subject: Re: [PATCH iproute2] tc: fix bpf compilation with old glibc

From: Nicolas Dichtel <[email-masked]>
Date: Wed, 22 Jul 2015 15:18:53 +0200

Le 22/07/2015 15:05, Daniel Borkmann a écrit :
> On 07/22/2015 02:29 PM, 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
>>
>> CC: Daniel Borkmann <[email-masked]>
>> Fixes: 88eea5395483 ("tc: {f,m}_bpf: allow to retrieve uds path from env")
>> Signed-off-by: Nicolas Dichtel <[email-masked]>
>
> Thanks Nicolas! I am thinking we should probably just stick to getenv()
> and convert these two users.
As you want, I don't have a strong opinion on this. Stephen?

Regards,
Nicolas