/* Set the file creation context in a set of credentials to the same as the objective context of the specified inode  */
static int smack_kernel_create_files_as(struct cred *new, struct inode *inode)
/* Set the file creation context in a set of credentials to the same as the objective context of the specified inode  */
static int smack_kernel_create_files_as(struct cred *new, struct inode *inode)
{
	struct inode_smack *isp = inode->i_security;
	new->security = isp->smk_inode;
	return 0;
}