1 comment:
File src/security/vboot/common.c:
Patch Set #3, Line 44: static uint8_t use_cbmem CAR_GLOBAL;
We could also just simplify and get rid of the global altogether: […]
if vb2_wd is a local variable it's value is undefined. It'd need to be marked static. That's the equivalent of a compilation unit global -- just scoped to be accessed only within the function. In both cases the object would be placed in .bss w/o decoration or .car.global with CAR_GLOBAL decoration.
To view, visit change 31329. To unsubscribe, or for help writing mail filters, visit settings.