Home
last modified time | relevance | path

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

/security/selinux/ss/
Dmls.c239 u32 def_sid) in mls_context_to_sid() argument
252 if (oldc && def_sid == SECSID_NULL) in mls_context_to_sid()
264 if (def_sid == SECSID_NULL) in mls_context_to_sid()
267 defcon = sidtab_search(s, def_sid); in mls_context_to_sid()
Dmls.h43 u32 def_sid);
Dservices.c1444 u32 def_sid) in string_to_context_struct() argument
1503 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct()
1520 u32 *sid, u32 def_sid, gfp_t gfp_flags, in security_context_to_sid_core() argument
1568 &context, def_sid); in security_context_to_sid_core()
1643 u32 *sid, u32 def_sid, gfp_t gfp_flags) in security_context_to_sid_default() argument
1646 sid, def_sid, gfp_flags, 1); in security_context_to_sid_default()
/security/selinux/include/
Dobjsec.h65 u32 def_sid; /* default SID for labeling */ member
Dsecurity.h348 u32 *out_sid, u32 def_sid, gfp_t gfp_flags);
/security/selinux/
Dhooks.c722 if (bad_option(sbsec, DEFCONTEXT_MNT, sbsec->def_sid, in selinux_set_mnt_opts()
851 if (defcontext_sid != sbsec->def_sid) { in selinux_set_mnt_opts()
858 sbsec->def_sid = defcontext_sid; in selinux_set_mnt_opts()
888 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) in selinux_cmp_sb_context()
947 newsbsec->def_sid = oldsbsec->def_sid; in selinux_sb_clone_mnt_opts()
1133 rc = show_sid(m, sbsec->def_sid); in selinux_sb_show_options()
1380 u32 def_sid, u32 *sid) in inode_doinit_use_xattr() argument
1418 *sid = def_sid; in inode_doinit_use_xattr()
1423 def_sid, GFP_NOFS); in inode_doinit_use_xattr()
1483 sid = sbsec->def_sid; in inode_doinit_with_dentry()
[all …]