 +
 +	.sb_umount		= rlsd_sb_umount,
 +
++	.mmap_file		= rlsd_mmap_file,
 +	.file_mprotect	= rlsd_file_mprotect,
 +
 +#ifndef CONFIG_SECURITY_NETWORK

+	return -EINVAL;
+}
+
+static int rlsd_file_mprotect(struct vm_area_struct *vma,
+                              unsigned long reqprot,
+                              unsigned long prot)

+		return 0;
+
+	tsk = current;
+	printk(KERN_ALERT "rlsd: denied PROT_EXEC re-mapping from %lu (%s)\n",
+	       (unsigned long) tsk->pid,
+	       get_task_comm(name, tsk));
+	return -EPERM;
