Commit 71eb1779 authored by Brenden Blanco's avatar Brenden Blanco Committed by Sasha Goldshtein

Reduce the sslsniff data size slightly to pass verifier

Possibly due to local LLVM differences, this change was needed for
sslsniff code to pass the verifier.
Signed-off-by: default avatarBrenden Blanco <bblanco@gmail.com>
parent 04b05d5f
......@@ -50,7 +50,7 @@ struct probe_SSL_data_t {
u64 timestamp_ns;
u32 pid;
char comm[TASK_COMM_LEN];
char v0[472];
char v0[464];
u32 len;
};
......@@ -147,7 +147,7 @@ if args.gnutls:
# define output data structure in Python
TASK_COMM_LEN = 16 # linux/sched.h
MAX_BUF_SIZE = 472 # Limited by the BPF stack
MAX_BUF_SIZE = 464 # Limited by the BPF stack
# Max size of the whole struct: 512 bytes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment