Home
last modified time | relevance | path

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

/linux-6.6.21/security/selinux/include/
Dsecurity.h294 int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid,
297 int security_validate_transition_user(u32 oldsid, u32 newsid, u32 tasksid,
300 int security_bounded_transition(u32 oldsid, u32 newsid);
/linux-6.6.21/security/selinux/
Dhooks.c1801 u32 sid, newsid; in may_create() local
1820 &newsid); in may_create()
1824 rc = avc_has_perm(sid, newsid, tclass, FILE__CREATE, &ad); in may_create()
1828 return avc_has_perm(newsid, sbsec->sid, in may_create()
2862 u32 newsid; in selinux_dentry_init_security() local
2868 &newsid); in selinux_dentry_init_security()
2875 return security_sid_to_context(newsid, (char **)ctx, in selinux_dentry_init_security()
2884 u32 newsid; in selinux_dentry_create_files_as() local
2891 &newsid); in selinux_dentry_create_files_as()
2896 tsec->create_sid = newsid; in selinux_dentry_create_files_as()
[all …]
Dselinuxfs.c917 u32 ssid, tsid, newsid; in sel_write_create() local
989 objname, &newsid); in sel_write_create()
993 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_create()
1017 u32 ssid, tsid, newsid; in sel_write_relabel() local
1051 length = security_change_sid(ssid, tsid, tclass, &newsid); in sel_write_relabel()
1055 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_relabel()
1137 u32 ssid, tsid, newsid; in sel_write_member() local
1171 length = security_member_sid(ssid, tsid, tclass, &newsid); in sel_write_member()
1175 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_member()
/linux-6.6.21/security/selinux/ss/
Dservices.c747 static int security_compute_validatetrans(u32 oldsid, u32 newsid, u32 tasksid, in security_compute_validatetrans() argument
790 nentry = sidtab_search_entry(sidtab, newsid); in security_compute_validatetrans()
793 __func__, newsid); in security_compute_validatetrans()
829 int security_validate_transition_user(u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition_user() argument
832 return security_compute_validatetrans(oldsid, newsid, tasksid, in security_validate_transition_user()
836 int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition() argument
839 return security_compute_validatetrans(oldsid, newsid, tasksid, in security_validate_transition()