ARCH_SHSTK_SHSTK
if (features & ARCH_SHSTK_SHSTK)
if (target->thread.features & ARCH_SHSTK_SHSTK)
if (features_enabled(ARCH_SHSTK_SHSTK))
features_set(ARCH_SHSTK_SHSTK);
if (!features_enabled(ARCH_SHSTK_SHSTK))
if (!features_enabled(ARCH_SHSTK_SHSTK))
if (!features_enabled(ARCH_SHSTK_SHSTK))
!features_enabled(ARCH_SHSTK_SHSTK))
!features_enabled(ARCH_SHSTK_SHSTK))
!features_enabled(ARCH_SHSTK_SHSTK))
if (!features_enabled(ARCH_SHSTK_SHSTK))
if (!features_enabled(ARCH_SHSTK_SHSTK))
features_clr(ARCH_SHSTK_SHSTK | ARCH_SHSTK_WRSS);
if (features & ARCH_SHSTK_SHSTK)
if (features & ARCH_SHSTK_SHSTK)
if (!features_enabled(ARCH_SHSTK_SHSTK))
return features_enabled(ARCH_SHSTK_SHSTK);
if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) {
ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK);
if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) {
if (ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK)) {
if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) {
if (ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK)) {
ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK);
ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK);
ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK);
if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK))
ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK);