Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 49e97e0

Browse files
committed
core.sys.posix.ucontext: Add new ucontext_t field to save shadow stack (CET)
1 parent 246d15a commit 49e97e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/sys/posix/ucontext.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ version (CRuntime_Glibc)
135135
mcontext_t uc_mcontext;
136136
sigset_t uc_sigmask;
137137
_libc_fpstate __fpregs_mem;
138+
c_ulong[4] __ssp;
138139
}
139140
}
140141
else version (X86)
@@ -206,6 +207,7 @@ version (CRuntime_Glibc)
206207
mcontext_t uc_mcontext;
207208
sigset_t uc_sigmask;
208209
_libc_fpstate __fpregs_mem;
210+
c_ulong[4] __ssp;
209211
}
210212
}
211213
else version (HPPA)

0 commit comments

Comments
 (0)