Home
last modified time | relevance | path

Searched refs:kern_flags (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
H A Dfilter.h763 /* flags for bpf_redirect_info kern_flags */
778 u32 kern_flags; member
794 bpf_net_ctx->ri.kern_flags = 0; in bpf_net_ctx_set()
815 if (!(bpf_net_ctx->ri.kern_flags & BPF_RI_F_RI_INIT)) { in bpf_net_ctx_get_ri()
817 bpf_net_ctx->ri.kern_flags |= BPF_RI_F_RI_INIT; in bpf_net_ctx_get_ri()
827 if (!(bpf_net_ctx->ri.kern_flags & BPF_RI_F_CPU_MAP_INIT)) { in bpf_net_ctx_get_cpu_map_flush_list()
829 bpf_net_ctx->ri.kern_flags |= BPF_RI_F_CPU_MAP_INIT; in bpf_net_ctx_get_cpu_map_flush_list()
839 if (!(bpf_net_ctx->ri.kern_flags & BPF_RI_F_DEV_MAP_INIT)) { in bpf_net_ctx_get_dev_flush_list()
841 bpf_net_ctx->ri.kern_flags |= BPF_RI_F_DEV_MAP_INIT; in bpf_net_ctx_get_dev_flush_list()
851 if (!(bpf_net_ctx->ri.kern_flags in bpf_net_ctx_get_xskmap_flush_list()
864 u32 kern_flags = bpf_net_ctx->ri.kern_flags; bpf_net_ctx_get_all_used_flush_lists() local
[all...]
H A Dsecurity.h382 unsigned long kern_flags,
386 unsigned long kern_flags,
830 unsigned long kern_flags, in security_sb_set_mnt_opts() argument
838 unsigned long kern_flags, in security_sb_clone_mnt_opts() argument
/linux/security/selinux/
H A Dhooks.c637 unsigned long kern_flags, in selinux_set_mnt_opts() argument
653 if (kern_flags && !set_kern_flags) in selinux_set_mnt_opts()
663 if (kern_flags & SECURITY_LSM_NATIVE_LABELS) { in selinux_set_mnt_opts()
816 } else if (kern_flags & SECURITY_LSM_NATIVE_LABELS && !context_sid) { in selinux_set_mnt_opts()
915 unsigned long kern_flags, in selinux_sb_clone_mnt_opts() argument
931 if (kern_flags && !set_kern_flags) in selinux_sb_clone_mnt_opts()
941 if (kern_flags & SECURITY_LSM_NATIVE_LABELS) { in selinux_sb_clone_mnt_opts()
954 if ((kern_flags & SECURITY_LSM_NATIVE_LABELS) && !set_context) in selinux_sb_clone_mnt_opts()
966 !(kern_flags & SECURITY_LSM_NATIVE_LABELS) && !set_context) { in selinux_sb_clone_mnt_opts()
972 if (kern_flags in selinux_sb_clone_mnt_opts()
[all...]
/linux/security/
H A Dsecurity.c1606 * @kern_flags: kernel flags (in)
1615 unsigned long kern_flags, in security_sb_set_mnt_opts() argument
1622 rc = scall->hl->hook.sb_set_mnt_opts(sb, mnt_opts, kern_flags, in security_sb_set_mnt_opts()
1635 * @kern_flags: kernel flags (in)
1644 unsigned long kern_flags, in security_sb_clone_mnt_opts() argument
1648 kern_flags, set_kern_flags); in security_sb_clone_mnt_opts()
/linux/security/smack/
H A Dsmack_lsm.c772 * @kern_flags: mount option from kernel space or user space
782 unsigned long kern_flags, in smack_set_mnt_opts() argument