Home
last modified time | relevance | path

Searched refs:lwp_sigaltstack (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dsigaltstack.c51 if (lwp->lwp_sigaltstack.ss_flags & SS_ONSTACK) in sigaltstack()
62 if (copyout(&lwp->lwp_sigaltstack, in sigaltstack()
68 lwp->lwp_sigaltstack = ss; in sigaltstack()
86 if (lwp->lwp_sigaltstack.ss_flags & SS_ONSTACK) in sigaltstack32()
100 ss = &lwp->lwp_sigaltstack; in sigaltstack32()
110 ss = &lwp->lwp_sigaltstack; in sigaltstack32()
/illumos-gate/usr/src/uts/intel/os/
H A Dsendsig.c205 !(lwp->lwp_sigaltstack.ss_flags & (SS_ONSTACK|SS_DISABLE)); in sendsig()
208 fp = (caddr_t)(SA((uintptr_t)lwp->lwp_sigaltstack.ss_sp) + in sendsig()
209 SA(lwp->lwp_sigaltstack.ss_size) - STACK_ALIGN); in sendsig()
330 lwp->lwp_sigaltstack.ss_flags |= SS_ONSTACK; in sendsig()
332 copyout_noerr(&lwp->lwp_sigaltstack, in sendsig()
460 !(lwp->lwp_sigaltstack.ss_flags & (SS_ONSTACK|SS_DISABLE)); in sendsig32()
463 fp = (caddr_t)(SA32((uintptr_t)lwp->lwp_sigaltstack.ss_sp) + in sendsig32()
464 SA32(lwp->lwp_sigaltstack.ss_size) - STACK_ALIGN32); in sendsig32()
569 lwp->lwp_sigaltstack.ss_flags |= SS_ONSTACK; in sendsig32()
574 lwp->lwp_sigaltstack.ss_sp; in sendsig32()
[all …]
/illumos-gate/usr/src/uts/intel/syscall/
H A Dgetcontext.c150 if (lwp->lwp_sigaltstack.ss_flags == SS_ONSTACK) { in savecontext()
151 ucp->uc_stack = lwp->lwp_sigaltstack; in savecontext()
242 lwp->lwp_sigaltstack = ucp->uc_stack; in restorecontext()
244 lwp->lwp_sigaltstack.ss_flags &= ~SS_ONSTACK; in restorecontext()
449 if (lwp->lwp_sigaltstack.ss_flags == SS_ONSTACK) { in savecontext32()
451 (caddr32_t)(uintptr_t)lwp->lwp_sigaltstack.ss_sp; in savecontext32()
453 (size32_t)lwp->lwp_sigaltstack.ss_size; in savecontext32()
/illumos-gate/usr/src/uts/sparc/syscall/
H A Dgetcontext.c95 if (lwp->lwp_sigaltstack.ss_flags == SS_ONSTACK) { in savecontext()
96 ucp->uc_stack = lwp->lwp_sigaltstack; in savecontext()
136 lwp->lwp_sigaltstack = ucp->uc_stack; in restorecontext()
138 lwp->lwp_sigaltstack.ss_flags &= ~SS_ONSTACK; in restorecontext()
392 if (lwp->lwp_sigaltstack.ss_flags == SS_ONSTACK) { in savecontext32()
394 (caddr32_t)(uintptr_t)lwp->lwp_sigaltstack.ss_sp; in savecontext32()
396 (size32_t)lwp->lwp_sigaltstack.ss_size; in savecontext32()
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dv9dep.c972 !(lwp->lwp_sigaltstack.ss_flags & (SS_ONSTACK|SS_DISABLE))); in sendsig()
984 (SA((uintptr_t)lwp->lwp_sigaltstack.ss_sp) + in sendsig()
985 SA((int)lwp->lwp_sigaltstack.ss_size) - STACK_ALIGN - in sendsig()
995 !(lwp->lwp_sigaltstack.ss_flags & SS_ONSTACK)) in sendsig()
1143 lwp->lwp_sigaltstack.ss_flags |= SS_ONSTACK; in sendsig()
1146 copyout_noerr(&lwp->lwp_sigaltstack, in sendsig()
1301 !(lwp->lwp_sigaltstack.ss_flags & (SS_ONSTACK|SS_DISABLE))); in sendsig32()
1313 (SA32((uintptr_t)lwp->lwp_sigaltstack.ss_sp) + in sendsig32()
1314 SA32((int)lwp->lwp_sigaltstack.ss_size) - in sendsig32()
1325 !(lwp->lwp_sigaltstack.ss_flags & SS_ONSTACK)) in sendsig32()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dbrand.c596 lwp->lwp_sigaltstack.ss_sp = sp->ss_sp; in restoreexecenv()
597 lwp->lwp_sigaltstack.ss_size = sp->ss_size; in restoreexecenv()
598 lwp->lwp_sigaltstack.ss_flags = sp->ss_flags; in restoreexecenv()
671 orig_sigaltstack.ss_sp = lwp->lwp_sigaltstack.ss_sp; in brand_solaris_elfexec()
672 orig_sigaltstack.ss_size = lwp->lwp_sigaltstack.ss_size; in brand_solaris_elfexec()
673 orig_sigaltstack.ss_flags = lwp->lwp_sigaltstack.ss_flags; in brand_solaris_elfexec()
H A Dexec.c469 lwp->lwp_sigaltstack.ss_sp = 0; in exec_common()
470 lwp->lwp_sigaltstack.ss_size = 0; in exec_common()
471 lwp->lwp_sigaltstack.ss_flags = SS_DISABLE; in exec_common()
1475 lwp->lwp_sigaltstack.ss_sp = 0; in setexecenv()
1476 lwp->lwp_sigaltstack.ss_size = 0; in setexecenv()
1477 lwp->lwp_sigaltstack.ss_flags = SS_DISABLE; in setexecenv()
H A Dlwp.c264 lwp->lwp_sigaltstack.ss_flags = SS_DISABLE; in lwp_create()
/illumos-gate/usr/src/uts/common/sys/
H A Dklwp.h116 stack_t lwp_sigaltstack; /* alternate signal stack */ member
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h181 stack_t lwp_sigaltstack; member
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprioctl.c1383 (caddr32_t)(uintptr_t)lwp->lwp_sigaltstack.ss_sp; in oprgetstatus32()
1384 sp->pr_altstack.ss_size = (size32_t)lwp->lwp_sigaltstack.ss_size; in oprgetstatus32()
1385 sp->pr_altstack.ss_flags = (int32_t)lwp->lwp_sigaltstack.ss_flags; in oprgetstatus32()
3194 sp->pr_altstack = lwp->lwp_sigaltstack; in oprgetstatus()
H A Dprsubr.c1041 (caddr32_t)(uintptr_t)lwp->lwp_sigaltstack.ss_sp; in prgetlwpstatus32()
1042 sp->pr_altstack.ss_size = (size32_t)lwp->lwp_sigaltstack.ss_size; in prgetlwpstatus32()
1043 sp->pr_altstack.ss_flags = (int32_t)lwp->lwp_sigaltstack.ss_flags; in prgetlwpstatus32()
1271 sp->pr_altstack = lwp->lwp_sigaltstack; in prgetlwpstatus()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1254 sp->pr_altstack = lwp->lwp_sigaltstack; in gcore_prgetlwpstatus()