elastic / ebpf

Elastic's eBPF
Other
67 stars 11 forks source link

Disable stack protector for TcFilter #30

Closed fntlnz closed 3 years ago

fntlnz commented 3 years ago

Some distributions enable it by default, it is incompatible with the way how bpf programs need to be compiled because __stack_chk_fail is not available as builtin for the BPF target.

It leads to:

error: <unknown>:0:0: in function classifier i32 (%struct.__sk_buff*): A call to built-in function '__stack_chk_fail' is not supported.