Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/include/
Dsecurity.h363 u32 oldsid, u32 newsid, u32 tasksid,
367 u32 oldsid, u32 newsid, u32 tasksid,
371 u32 oldsid, u32 newsid);
/linux-6.1.9/security/selinux/
Dhooks.c1766 u32 sid, newsid; in may_create() local
1786 &newsid); in may_create()
1791 sid, newsid, tclass, FILE__CREATE, &ad); in may_create()
1796 newsid, sbsec->sid, in may_create()
2831 u32 newsid; in selinux_dentry_init_security() local
2837 &newsid); in selinux_dentry_init_security()
2844 return security_sid_to_context(&selinux_state, newsid, (char **)ctx, in selinux_dentry_init_security()
2853 u32 newsid; in selinux_dentry_create_files_as() local
2860 &newsid); in selinux_dentry_create_files_as()
2865 tsec->create_sid = newsid; in selinux_dentry_create_files_as()
[all …]
Dselinuxfs.c969 u32 ssid, tsid, newsid; in sel_write_create() local
1042 objname, &newsid); in sel_write_create()
1046 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_create()
1072 u32 ssid, tsid, newsid; in sel_write_relabel() local
1107 length = security_change_sid(state, ssid, tsid, tclass, &newsid); in sel_write_relabel()
1111 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_relabel()
1198 u32 ssid, tsid, newsid; in sel_write_member() local
1233 length = security_member_sid(state, ssid, tsid, tclass, &newsid); in sel_write_member()
1237 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_member()
/linux-6.1.9/security/selinux/ss/
Dservices.c755 u32 oldsid, u32 newsid, u32 tasksid, in security_compute_validatetrans() argument
798 nentry = sidtab_search_entry(sidtab, newsid); in security_compute_validatetrans()
801 __func__, newsid); in security_compute_validatetrans()
839 u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition_user() argument
842 return security_compute_validatetrans(state, oldsid, newsid, tasksid, in security_validate_transition_user()
847 u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition() argument
850 return security_compute_validatetrans(state, oldsid, newsid, tasksid, in security_validate_transition()