Lines Matching refs:ctx
32 struct ipe_eval_ctx ctx = IPE_EVAL_CTX_INIT; in ipe_bprm_check_security() local
34 ipe_build_eval_ctx(&ctx, bprm->file, IPE_OP_EXEC, IPE_HOOK_BPRM_CHECK); in ipe_bprm_check_security()
35 return ipe_evaluate_event(&ctx); in ipe_bprm_check_security()
56 struct ipe_eval_ctx ctx = IPE_EVAL_CTX_INIT; in ipe_mmap_file() local
59 ipe_build_eval_ctx(&ctx, f, IPE_OP_EXEC, IPE_HOOK_MMAP); in ipe_mmap_file()
60 return ipe_evaluate_event(&ctx); in ipe_mmap_file()
84 struct ipe_eval_ctx ctx = IPE_EVAL_CTX_INIT; in ipe_file_mprotect() local
91 ipe_build_eval_ctx(&ctx, vma->vm_file, IPE_OP_EXEC, IPE_HOOK_MPROTECT); in ipe_file_mprotect()
92 return ipe_evaluate_event(&ctx); in ipe_file_mprotect()
113 struct ipe_eval_ctx ctx = IPE_EVAL_CTX_INIT; in ipe_kernel_read_file() local
140 ipe_build_eval_ctx(&ctx, file, op, IPE_HOOK_KERNEL_READ); in ipe_kernel_read_file()
141 return ipe_evaluate_event(&ctx); in ipe_kernel_read_file()
158 struct ipe_eval_ctx ctx = IPE_EVAL_CTX_INIT; in ipe_kernel_load_data() local
185 ipe_build_eval_ctx(&ctx, NULL, op, IPE_HOOK_KERNEL_LOAD); in ipe_kernel_load_data()
186 return ipe_evaluate_event(&ctx); in ipe_kernel_load_data()