tools: bpf_jit_disasm: increase image buffer size
JITed seccomp filters can be quite large if they check a lot of syscalls Simply increase buffer size Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Acked-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
ed4afd451f
Коммит
9bb1a208fd
|
@ -171,7 +171,7 @@ int main(int argc, char **argv)
|
|||
{
|
||||
int len, klen, opcodes = 0;
|
||||
char *kbuff;
|
||||
uint8_t image[4096];
|
||||
static uint8_t image[32768];
|
||||
|
||||
if (argc > 1) {
|
||||
if (!strncmp("-o", argv[argc - 1], 2)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче