Searched refs:newsid (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/security/selinux/include/ |
D | security.h | 147 int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid, 150 int security_bounded_transition(u32 oldsid, u32 newsid);
|
/linux-2.6.39/security/selinux/ |
D | hooks.c | 1561 u32 sid, newsid; in may_create() local 1569 newsid = tsec->create_sid; in may_create() 1580 if (!newsid || !(sbsec->flags & SE_SBLABELSUPP)) { in may_create() 1582 &dentry->d_name, &newsid); in may_create() 1587 rc = avc_has_perm(sid, newsid, tclass, FILE__CREATE, &ad); in may_create() 1591 return avc_has_perm(newsid, sbsec->sid, in may_create() 2530 u32 sid, newsid, clen; in selinux_inode_init_security() local 2538 newsid = tsec->create_sid; in selinux_inode_init_security() 2542 newsid = sbsec->mntpoint_sid; in selinux_inode_init_security() 2543 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 788 length = security_transition_sid_user(ssid, tsid, tclass, &newsid); in sel_write_create() 792 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_create() 815 u32 ssid, tsid, newsid; in sel_write_relabel() local 847 length = security_change_sid(ssid, tsid, tclass, &newsid); in sel_write_relabel() 851 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_relabel() 931 u32 ssid, tsid, newsid; in sel_write_member() local 963 length = security_member_sid(ssid, tsid, tclass, &newsid); in sel_write_member() 967 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_member()
|
/linux-2.6.39/security/selinux/ss/ |
D | services.c | 745 int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition() argument 779 ncontext = sidtab_search(&sidtab, newsid); in security_validate_transition() 782 __func__, newsid); in security_validate_transition()
|