20: Latest CVE and build errors
Closed this issue · 1 comments
danielk43 commented
Seeing just one error in gs201 only after the recent update. No issues with redbull this time
../../../../../../kernel/google/gs201/private/gs-google/kernel/bpf/syscall.c:2927:3: error: use of undeclared identifier 'ptype'
ptype = attach_type_to_prog_type(attach_type);
^
../../../../../../kernel/google/gs201/private/gs-google/kernel/bpf/syscall.c:2927:11: error: implicit declaration of function 'attach_type_to_prog_type' [-Werror,-Wimplicit-func
tion-declaration]
ptype = attach_type_to_prog_type(attach_type);
^
../../../../../../kernel/google/gs201/private/gs-google/kernel/bpf/syscall.c:2928:21: error: use of undeclared identifier 'ptype'; did you mean '_ctype'?
if (prog->type != ptype)
^~~~~
_ctype
../../../../../../kernel/google/gs201/private/gs-google/include/linux/ctype.h:19:28: note: '_ctype' declared here
extern const unsigned char _ctype[];
^
../../../../../../kernel/google/gs201/private/gs-google/kernel/bpf/syscall.c:2940:1: error: static declaration of 'attach_type_to_prog_type' follows non-static declaration
attach_type_to_prog_type(enum bpf_attach_type attach_type)
^
../../../../../../kernel/google/gs201/private/gs-google/kernel/bpf/syscall.c:2927:11: note: previous implicit declaration is here
ptype = attach_type_to_prog_type(attach_type);
^
4 errors generated.
Also looks like this cherry-pick is empty now and no longer required.
Thanks again
SkewedZeppelin commented
Fixed, thanks!