Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151239860
D44286.id135568.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
390 B
Referenced Files
None
Subscribers
None
D44286.id135568.diff
View Options
diff --git a/stand/kboot/kboot/hostfs.c b/stand/kboot/kboot/hostfs.c
--- a/stand/kboot/kboot/hostfs.c
+++ b/stand/kboot/kboot/hostfs.c
@@ -137,7 +137,7 @@
offl = res & 0xfffffffful;
offh = (res >> 32) & 0xfffffffful;
err = host_llseek(hf->hf_fd, offh, offl, &res, whence);
- if (err < 0)
+ if (err < 0 && err >= -511) /* Raw syscalll interface */
return (err);
return (res);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 1:36 AM (9 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31064086
Default Alt Text
D44286.id135568.diff (390 B)
Attached To
Mode
D44286: kboot: hostfs -- check for llseek failure correctly
Attached
Detach File
Event Timeline
Log In to Comment