Searched refs:newsid (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/security/selinux/include/ |
D | security.h | 148 int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid, 151 int security_bounded_transition(u32 oldsid, u32 newsid);
|
/linux-3.4.99/security/selinux/ |
D | hooks.c | 1623 u32 sid, newsid; in may_create() local 1632 newsid = tsec->create_sid; in may_create() 1644 if (!newsid || !(sbsec->flags & SE_SBLABELSUPP)) { in may_create() 1646 &dentry->d_name, &newsid); in may_create() 1651 rc = avc_has_perm(sid, newsid, tclass, FILE__CREATE, &ad); in may_create() 1655 return avc_has_perm(newsid, sbsec->sid, in may_create() 2601 u32 sid, newsid, clen; in selinux_inode_init_security() local 2609 newsid = tsec->create_sid; in selinux_inode_init_security() 2613 newsid = sbsec->mntpoint_sid; in selinux_inode_init_security() 2614 else if (!newsid || !(sbsec->flags & SE_SBLABELSUPP)) { in selinux_inode_init_security() [all …]
|
D | selinuxfs.c | 756 u32 ssid, tsid, newsid; in sel_write_create() local 826 objname, &newsid); in sel_write_create() 830 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_create() 854 u32 ssid, tsid, newsid; in sel_write_relabel() local 886 length = security_change_sid(ssid, tsid, tclass, &newsid); in sel_write_relabel() 890 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_relabel() 970 u32 ssid, tsid, newsid; in sel_write_member() local 1002 length = security_member_sid(ssid, tsid, tclass, &newsid); in sel_write_member() 1006 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_member()
|
/linux-3.4.99/security/selinux/ss/ |
D | services.c | 743 int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition() argument 777 ncontext = sidtab_search(&sidtab, newsid); in security_validate_transition() 780 __func__, newsid); in security_validate_transition()
|