Lines Matching refs:prog_def

204     optional<struct bpf_prog_def> prog_def;  member
524 cs_temp.prog_def = pd[i]; in readCodeSections()
934 if (!cs[i].prog_def.has_value()) { in loadCodeSections()
939 unsigned min_kver = cs[i].prog_def->min_kver; in loadCodeSections()
940 unsigned max_kver = cs[i].prog_def->max_kver; in loadCodeSections()
946 unsigned bpfMinVer = cs[i].prog_def->bpfloader_min_ver; in loadCodeSections()
947 unsigned bpfMaxVer = cs[i].prog_def->bpfloader_max_ver; in loadCodeSections()
948 domain selinux_context = getDomainFromSelinuxContext(cs[i].prog_def->selinux_context); in loadCodeSections()
949 domain pin_subdir = getDomainFromPinSubdir(cs[i].prog_def->pin_subdir); in loadCodeSections()
958 if ((cs[i].prog_def->ignore_on_eng && isEng()) || in loadCodeSections()
959 (cs[i].prog_def->ignore_on_user && isUser()) || in loadCodeSections()
960 (cs[i].prog_def->ignore_on_userdebug && isUserdebug())) { in loadCodeSections()
966 if ((isArm() && isKernel32Bit() && cs[i].prog_def->ignore_on_arm32) || in loadCodeSections()
967 (isArm() && isKernel64Bit() && cs[i].prog_def->ignore_on_aarch64) || in loadCodeSections()
968 (isX86() && isKernel32Bit() && cs[i].prog_def->ignore_on_x86_32) || in loadCodeSections()
969 (isX86() && isKernel64Bit() && cs[i].prog_def->ignore_on_x86_64) || in loadCodeSections()
970 (isRiscV() && cs[i].prog_def->ignore_on_riscv64)) { in loadCodeSections()
979 cs[i].prog_def->selinux_context, static_cast<int>(selinux_context), in loadCodeSections()
985 cs[i].prog_def->pin_subdir, static_cast<int>(pin_subdir), in loadCodeSections()
1032 if (cs[i].prog_def->optional) { in loadCodeSections()
1073 if (chown(progPinLoc.c_str(), (uid_t)cs[i].prog_def->uid, in loadCodeSections()
1074 (gid_t)cs[i].prog_def->gid)) { in loadCodeSections()
1076 ALOGE("chown %s %d %d -> [%d:%s]", progPinLoc.c_str(), cs[i].prog_def->uid, in loadCodeSections()
1077 cs[i].prog_def->gid, err, strerror(err)); in loadCodeSections()