DELTA 349880 0 217 SVNhapIUA}E>cnstatic int linux_mmap_check_fp(struct file *fp, int flags, int prot, int maxprot) { /* Linux mmap() just fails for O_WRONLY files */ if ((fp->f_flag & FREAD) == 0) return (EACCES); return (0); }_fpcheck, linux_mmap_check_fp); if (error == 0) goto out; } error = kern_mmap_fpcheck(td, addr, len, prot, bsd_flags, fd, pos, linux_mmap_check_fpENDREP DELTA 355723 703 67 SVN+D|Tyo