> If we want a more clean change in libbpf, it is more about how to offer clean API to > pass "prog_flags" when load file/obj/raw_insn, I followed this path a little bit further: - naturally allow specify prog_flags through *_attr structure. - set high 32-bit randomization prog_flags through macro direct. Now, the global variable in libbpf removed, all tests in selftests are still enabled with hi32 randomization and the code changes on testsuites also is little. Not sure if the idea is good, changes included in v3. Regards, Jiong