Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dfilter.h659 u32 kern_flags; member
935 return ri->kern_flags & BPF_RI_F_RF_NO_DIRECT; in xdp_return_frame_no_direct()
942 ri->kern_flags |= BPF_RI_F_RF_NO_DIRECT; in xdp_set_return_frame_no_direct()
949 ri->kern_flags &= ~BPF_RI_F_RF_NO_DIRECT; in xdp_clear_return_frame_no_direct()
Dsecurity.h316 unsigned long kern_flags,
320 unsigned long kern_flags,
718 unsigned long kern_flags, in security_sb_set_mnt_opts() argument
726 unsigned long kern_flags, in security_sb_clone_mnt_opts() argument
Dlsm_hook_defs.h78 unsigned long kern_flags, unsigned long *set_kern_flags)
80 struct super_block *newsb, unsigned long kern_flags,
/linux-6.6.21/security/selinux/
Dhooks.c623 unsigned long kern_flags, in selinux_set_mnt_opts() argument
639 if (kern_flags && !set_kern_flags) in selinux_set_mnt_opts()
649 if (kern_flags & SECURITY_LSM_NATIVE_LABELS) { in selinux_set_mnt_opts()
802 } else if (kern_flags & SECURITY_LSM_NATIVE_LABELS && !context_sid) { in selinux_set_mnt_opts()
901 unsigned long kern_flags, in selinux_sb_clone_mnt_opts() argument
917 if (kern_flags && !set_kern_flags) in selinux_sb_clone_mnt_opts()
927 if (kern_flags & SECURITY_LSM_NATIVE_LABELS) { in selinux_sb_clone_mnt_opts()
940 if ((kern_flags & SECURITY_LSM_NATIVE_LABELS) && !set_context) in selinux_sb_clone_mnt_opts()
952 !(kern_flags & SECURITY_LSM_NATIVE_LABELS) && !set_context) { in selinux_sb_clone_mnt_opts()
958 if (kern_flags & SECURITY_LSM_NATIVE_LABELS && !set_context) { in selinux_sb_clone_mnt_opts()
/linux-6.6.21/security/
Dsecurity.c1420 unsigned long kern_flags, in security_sb_set_mnt_opts() argument
1425 mnt_opts, kern_flags, set_kern_flags); in security_sb_set_mnt_opts()
1442 unsigned long kern_flags, in security_sb_clone_mnt_opts() argument
1446 kern_flags, set_kern_flags); in security_sb_clone_mnt_opts()
/linux-6.6.21/security/smack/
Dsmack_lsm.c797 unsigned long kern_flags, in smack_set_mnt_opts() argument