return ipc_has_perm(ipcp, sclass, av); 
return ipc_has_perm(ipcp, av); 
static int selinux_ipc_permission(struct kern_ipc_perm *ipcp, short flag){	struct ipc_security_struct *isec = ipcp->security;	u16 sclass = SECCLASS_IPC;	u32 av = 0;	if (isec && isec->magic == SELINUX_MAGIC)		sclass = isec->sclass;	av = 0;	if (flag & S_IRUGO)		av |= IPC__UNIX_READ;	if (flag & S_IWUGO)		av |= IPC__UNIX_WRITE;	if (av == 0)		return 0;	return ipc_has_perm(ipcp, sclass, av);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6af963f1d6789ef20abca5696cd52a758b396e52/hooks.c/buggy/security/selinux/hooks.c