static int user_duplicate(struct key *key, const struct key *source) 
int user_duplicate(struct key *key, const struct key *source) 
static int user_duplicate(struct key *key, const struct key *source){	struct user_key_payload *upayload, *spayload;	int ret;	/* just copy the payload */	ret = -ENOMEM;	upayload = kmalloc(sizeof(*upayload) + source->datalen, GFP_KERNEL);	if (upayload) {		spayload = rcu_dereference(source->payload.data);		BUG_ON(source->datalen != spayload->datalen);		upayload->datalen = key->datalen = spayload->datalen;		memcpy(upayload->data, spayload->data, key->datalen);		key->payload.data = upayload;		ret = 0;	}	return ret;} /* end user_duplicate() */
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/2aa349f6e37ce030060c994d3aebbff4ab703565/user_defined.c/clean/security/keys/user_defined.c