Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F114466735
D30903.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
644 B
Referenced Files
None
Subscribers
None
D30903.diff
View Options
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -1342,7 +1342,13 @@
ino = vat.va_fileid;
vput(vp);
} else if (SV_PROC_ABI(p) == SV_ABI_LINUX) {
- if (e_start == p->p_sysent->sv_shared_page_base)
+ /*
+ * sv_shared_page_base pointed out to the
+ * FreeBSD sharedpage, PAGE_SIZE is a size
+ * of it. The vDSO page is above.
+ */
+ if (e_start == p->p_sysent->sv_shared_page_base +
+ PAGE_SIZE)
name = vdso_str;
if (e_end == p->p_sysent->sv_usrstack)
name = stack_str;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 13, 8:39 PM (9 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17506015
Default Alt Text
D30903.diff (644 B)
Attached To
Mode
D30903: linprocfs: Fixup vDSO name in the procmaps.
Attached
Detach File
Event Timeline
Log In to Comment