Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150928504
D20595.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
417 B
Referenced Files
None
Subscribers
None
D20595.diff
View Options
Index: head/sys/vm/vm_mmap.c
===================================================================
--- head/sys/vm/vm_mmap.c
+++ head/sys/vm/vm_mmap.c
@@ -259,7 +259,7 @@
size = len + pageoff; /* low end... */
size = round_page(size); /* hi end */
/* Check for rounding up to zero. */
- if (len < size)
+ if (len > size)
return (ENOMEM);
/* Ensure alignment is at least a page and fits in a pointer. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 12:29 AM (22 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30925220
Default Alt Text
D20595.diff (417 B)
Attached To
Mode
D20595: Reverse comparison in mmap test
Attached
Detach File
Event Timeline
Log In to Comment