Home
last modified time | relevance | path

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

/Linux-v5.15/security/selinux/include/
Dsecurity.h352 u32 oldsid, u32 newsid, u32 tasksid,
356 u32 oldsid, u32 newsid, u32 tasksid,
360 u32 oldsid, u32 newsid);
/Linux-v5.15/security/selinux/
Dhooks.c1841 u32 sid, newsid; in may_create() local
1861 &newsid); in may_create()
1866 sid, newsid, tclass, FILE__CREATE, &ad); in may_create()
1871 newsid, sbsec->sid, in may_create()
2954 u32 newsid; in selinux_dentry_init_security() local
2960 &newsid); in selinux_dentry_init_security()
2964 return security_sid_to_context(&selinux_state, newsid, (char **)ctx, in selinux_dentry_init_security()
2973 u32 newsid; in selinux_dentry_create_files_as() local
2980 &newsid); in selinux_dentry_create_files_as()
2985 tsec->create_sid = newsid; in selinux_dentry_create_files_as()
[all …]
Dselinuxfs.c965 u32 ssid, tsid, newsid; in sel_write_create() local
1038 objname, &newsid); in sel_write_create()
1042 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_create()
1068 u32 ssid, tsid, newsid; in sel_write_relabel() local
1103 length = security_change_sid(state, ssid, tsid, tclass, &newsid); in sel_write_relabel()
1107 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_relabel()
1194 u32 ssid, tsid, newsid; in sel_write_member() local
1229 length = security_member_sid(state, ssid, tsid, tclass, &newsid); in sel_write_member()
1233 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_member()
/Linux-v5.15/security/selinux/ss/
Dservices.c757 u32 oldsid, u32 newsid, u32 tasksid, in security_compute_validatetrans() argument
800 nentry = sidtab_search_entry(sidtab, newsid); in security_compute_validatetrans()
803 __func__, newsid); in security_compute_validatetrans()
841 u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition_user() argument
844 return security_compute_validatetrans(state, oldsid, newsid, tasksid, in security_validate_transition_user()
849 u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition() argument
852 return security_compute_validatetrans(state, oldsid, newsid, tasksid, in security_validate_transition()