struct key *key = key_ref_to_ptr(key_ref); key_perm_t kperm;  if (is_key_possessed(key_ref)) kperm = key->perm >> 24; else if (key->uid == current->fsuid) kperm = key->perm >> 16; else if (key->gid != -1 && key->perm & KEY_GRP_ALL && in_group_p(key->gid) ) kperm = key->perm >> 8; else kperm = key->perm;  kperm = kperm & perm & KEY_ALL;  return kperm == perm; 
return key_task_permission(key_ref, current, perm); 
static inline int key_permission(const key_ref_t key_ref, key_perm_t perm){	struct key *key = key_ref_to_ptr(key_ref);	key_perm_t kperm;	if (is_key_possessed(key_ref))		kperm = key->perm >> 24;	else if (key->uid == current->fsuid)		kperm = key->perm >> 16;	else if (key->gid != -1 &&		 key->perm & KEY_GRP_ALL &&		 in_group_p(key->gid)		 )		kperm = key->perm >> 8;	else		kperm = key->perm;	kperm = kperm & perm & KEY_ALL;	return kperm == perm;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/468ed2b0c85ec4310b429e60358213b6d077289e/key-ui.h/clean/include/linux/key-ui.h