https://bugzilla.novell.com/show_bug.cgi?id=255763#c5
--- Comment #5 from Jeff Mahoney 2007-10-23 15:12:33 MST ---
Created an attachment (id=180117)
--> (https://bugzilla.novell.com/attachment.cgi?id=180117)
[PATCH] mmap: restore -ENODEV on missing f_op->mmap
Commit 80c5606c3b45e0176c32d3108ade1e1cb0b954f3 from Linus moved the
VM_MAYEXEC code further down, but in the process broke the mmap_23_1
test from the LTP suite.
Moving it further means that the test for FMODE_READ ends up above
the test for f_op->mmap. If the write side of the pipe is called for
mmap(), we end up returning -EACCES rather than -ENODEV (is this required?)
I'll submit this upstream if it turns out to be required by the spec.
Otherwise, I'm closing as WONTFIX.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.