summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-01-08 01:35:03 +0000
committerthorpej <thorpej@NetBSD.org>2001-01-08 01:35:03 +0000
commit4d4b2b5626be9c933616b757c0e60ce377f69e72 (patch)
treefa34b0341b0a2ade9acf513267fb850f3fedf0ab /sys/dev/raidframe
parent10fc746e6d1ae29561a46f026303c82becfde525 (diff)
Nevermind that it's silly to include PROT_EXEC even if a vnode
doesn't have the exec bit set, we need to have PROT_EXEC set in order for some expected mmap/mprotect behavior to work, so do the last bit slightly differently: if udv_attach() fails, and the protection (NOT maxprot) doens't include PROT_EXEC, then clear PROT_EXEC from maxprot and try udv_attach() again. Sigh, mmap really needs to be rototilled.
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions