Thread (42 messages) flat view 42 messages, 4 authors, 2014-09-17

Re: [PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite

From: Daniel Borkmann <hidden>
Date: 2014-09-11 19:54:51
Also in: lkml, netdev

On 09/10/2014 10:21 PM, Alexei Starovoitov wrote:
...
quoted
quoted
               char bpf_log_buf[LOG_BUF_SIZE];
What happens if the size isn't LOG_BUF_SIZE?
would do you mean?
LOG_BUF_SIZE is just a user defined macro.
Can be anything.
I believe, Andy means, what would happen if log_level > 0 but
the log_size is not big enough so that the human-readable error
text string from the verifier will fit into it? I presume that
will be truncated then ... hm.
it's passed along with pointer:
                        .log_buf = bpf_log_buf,
                        .log_size = LOG_BUF_SIZE,
                        .log_level = 1,
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help