Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102793266
D31286.id92742.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31286.id92742.diff
View Options
Index: sys/i386/linux/linux.h
===================================================================
--- sys/i386/linux/linux.h
+++ sys/i386/linux/linux.h
@@ -257,7 +257,7 @@
} l_sigaction_t;
typedef struct {
- void *ss_sp;
+ l_uintptr_t ss_sp;
l_int ss_flags;
l_size_t ss_size;
} l_stack_t;
Index: sys/i386/linux/linux_sysvec.c
===================================================================
--- sys/i386/linux/linux_sysvec.c
+++ sys/i386/linux/linux_sysvec.c
@@ -441,7 +441,7 @@
frame.sf_sc.uc_flags = 0; /* XXX ??? */
frame.sf_sc.uc_link = NULL; /* XXX ??? */
- frame.sf_sc.uc_stack.ss_sp = td->td_sigstk.ss_sp;
+ frame.sf_sc.uc_stack.ss_sp = PTROUT(td->td_sigstk.ss_sp);
frame.sf_sc.uc_stack.ss_size = td->td_sigstk.ss_size;
frame.sf_sc.uc_stack.ss_flags = (td->td_pflags & TDP_ALTSTACK)
? ((oonstack) ? LINUX_SS_ONSTACK : 0) : LINUX_SS_DISABLE;
@@ -751,7 +751,7 @@
/* Call sigaltstack & ignore results. */
lss = &uc.uc_stack;
- ss.ss_sp = lss->ss_sp;
+ ss.ss_sp = PTRIN(lss->ss_sp);
ss.ss_size = lss->ss_size;
ss.ss_flags = linux_to_bsd_sigaltstack(lss->ss_flags);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 6:53 AM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14691573
Default Alt Text
D31286.id92742.diff (1 KB)
Attached To
Mode
D31286: linux: implement sigaltstack(2) on arm64
Attached
Detach File
Event Timeline
Log In to Comment