Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108692902
D40155.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
386 B
Referenced Files
None
Subscribers
None
D40155.diff
View Options
diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c
--- a/sys/amd64/linux/linux_sysvec.c
+++ b/sys/amd64/linux/linux_sysvec.c
@@ -169,6 +169,8 @@
/* Restore r10 earlier to avoid doing this multiply times. */
frame->tf_r10 = frame->tf_rcx;
+ /* Restore %rcx for machine context. */
+ frame->tf_rcx = frame->tf_rip;
td->td_retval[0] = 0;
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 8:48 AM (4 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16206697
Default Alt Text
D40155.diff (386 B)
Attached To
Mode
D40155: linux(4): Preserve %rcx (return address) like a Linux do
Attached
Detach File
Event Timeline
Log In to Comment