Lines Matching refs:newsid

1817 	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()
2905 u32 newsid, clen; in selinux_inode_init_security() local
2911 newsid = tsec->create_sid; in selinux_inode_init_security()
2916 &newsid); in selinux_inode_init_security()
2924 isec->sid = newsid; in selinux_inode_init_security()
2935 rc = security_sid_to_context_force(&selinux_state, newsid, in selinux_inode_init_security()
3134 u32 newsid, sid = current_sid(); in selinux_inode_setxattr() local
3164 rc = security_context_to_sid(&selinux_state, value, size, &newsid, in selinux_inode_setxattr()
3192 size, &newsid); in selinux_inode_setxattr()
3198 sid, newsid, isec->sclass, in selinux_inode_setxattr()
3203 rc = security_validate_transition(&selinux_state, isec->sid, newsid, in selinux_inode_setxattr()
3209 newsid, in selinux_inode_setxattr()
3222 u32 newsid; in selinux_inode_post_setxattr() local
3231 &newsid); in selinux_inode_post_setxattr()
3242 isec->sid = newsid; in selinux_inode_post_setxattr()
3373 u32 newsid; in selinux_inode_setsecurity() local
3385 rc = security_context_to_sid(&selinux_state, value, size, &newsid, in selinux_inode_setsecurity()
3392 isec->sid = newsid; in selinux_inode_setsecurity()
3453 u32 parent_sid, newsid, clen; in selinux_kernfs_init_security() local
3481 newsid = tsec->create_sid; in selinux_kernfs_init_security()
3491 &newsid); in selinux_kernfs_init_security()
3496 rc = security_sid_to_context_force(&selinux_state, newsid, in selinux_kernfs_init_security()
4490 u32 newsid; in selinux_socket_create() local
4498 rc = socket_sockcreate_sid(tsec, secclass, &newsid); in selinux_socket_create()
4503 tsec->sid, newsid, secclass, SOCKET__CREATE, NULL); in selinux_socket_create()