site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=GYPJkkmchza0jv0zxsdCD6hZHng22bJPP9sGnPencSw=; b=mIhR2LMiQoaGKeluGNXKRiEyQHq4WSf4YlWRDG4juwcbi/7XLVMHvpT7woSqcvNDVw KPlSbm9/3NeqMJS2uw9x13bx6nGZ//cLQTF9cDD/iHkovXTaSm1o9HTKNR92EtzBn/cC o2CSDbIdZAOttwxriMNb+KJQEE+zQUelJqljA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Xz12SqAPnUaIDEkSTIqcoUj9p8nyxZYvEzmc3Op4ec+WQK25M6RWY+Z7gghFtr85VV iaeIHP04aIDTG+l+a+KpV/iWXsuLbWC9jaA6/DmiYscIzVMUjX/JDsjax/tSwYgp09oQ fEUeJ3BnoeW+tc4xJ1WXYiu+Tk36C85kcQZVQ= 220 #if 3777787 221 /* 222 * Since the hardware currently does not support writing without 223 * read-before-write, or execution-without-read, if the request is 224 * for write or execute access, we must imply read access as well; 225 * otherwise programs expecting this to work will fail to operate. 226 */ 227 if (prot & (VM_PROT_EXECUTE | VM_PROT_WRITE)) 228 prot |= VM_PROT_READ; 229 #endif /* radar 3777787 */ 230 380 if (fp->f_fglob->fg_flag & FREAD) 381 maxprot |= VM_PROT_READ; 382 else if (prot & PROT_READ) { 383 (void)vnode_put(vp); 384 error = EACCES; 385 goto bad; 386 } _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com