Home
last modified time | relevance | path

Searched refs:newsid (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/security/selinux/include/
Dsecurity.h298 u32 oldsid, u32 newsid, u32 tasksid,
302 u32 oldsid, u32 newsid, u32 tasksid,
306 u32 oldsid, u32 newsid);
/Linux-v5.4/security/selinux/
Dhooks.c1817 u32 sid, newsid; in may_create() local
1837 &dentry->d_name, tclass, &newsid); in may_create()
1842 sid, newsid, tclass, FILE__CREATE, &ad); in may_create()
1847 newsid, sbsec->sid, in may_create()
2863 u32 newsid; in selinux_dentry_init_security() local
2869 &newsid); in selinux_dentry_init_security()
2873 return security_sid_to_context(&selinux_state, newsid, (char **)ctx, in selinux_dentry_init_security()
2882 u32 newsid; in selinux_dentry_create_files_as() local
2889 &newsid); in selinux_dentry_create_files_as()
2894 tsec->create_sid = newsid; in selinux_dentry_create_files_as()
[all …]
Dselinuxfs.c869 u32 ssid, tsid, newsid; in sel_write_create() local
942 objname, &newsid); in sel_write_create()
946 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_create()
972 u32 ssid, tsid, newsid; in sel_write_relabel() local
1007 length = security_change_sid(state, ssid, tsid, tclass, &newsid); in sel_write_relabel()
1011 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_relabel()
1098 u32 ssid, tsid, newsid; in sel_write_member() local
1133 length = security_member_sid(state, ssid, tsid, tclass, &newsid); in sel_write_member()
1137 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_member()
/Linux-v5.4/security/selinux/ss/
Dservices.c749 u32 oldsid, u32 newsid, u32 tasksid, in security_compute_validatetrans() argument
790 ncontext = sidtab_search(sidtab, newsid); in security_compute_validatetrans()
793 __func__, newsid); in security_compute_validatetrans()
829 u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition_user() argument
832 return security_compute_validatetrans(state, oldsid, newsid, tasksid, in security_validate_transition_user()
837 u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition() argument
840 return security_compute_validatetrans(state, oldsid, newsid, tasksid, in security_validate_transition()