Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108619280
D31298.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
D31298.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
@@ -630,9 +630,6 @@
LINUX_CTR4(rt_sendsig, "%p, %d, %p, %u",
catcher, sig, mask, code);
- /* Translate the signal. */
- sig = bsd_to_linux_signal(sig);
-
/* Save user context. */
bzero(&sf, sizeof(sf));
bsd_to_linux_sigset(mask, &sf.sf_sc.uc_sigmask);
@@ -676,6 +673,9 @@
/* Align to 16 bytes. */
sfp = (struct l_rt_sigframe *)((unsigned long)sp & ~0xFul);
+ /* Translate the signal. */
+ sig = bsd_to_linux_signal(sig);
+
/* Build the argument list for the signal handler. */
regs->tf_rdi = sig; /* arg 1 in %rdi */
regs->tf_rax = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 10:32 PM (8 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16217182
Default Alt Text
D31298.diff (717 B)
Attached To
Mode
D31298: linux: fix sigaltstack on amd64
Attached
Detach File
Event Timeline
Log In to Comment