All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Marc Strämke" <marc.straemke@eltropuls.de>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Hang/Reboot when using CONFIG_CC_STACKPROTECTOR_REGULAR
Date: Thu, 30 Apr 2015 17:14:42 +0200	[thread overview]
Message-ID: <20150430151442.GW1993@hermes.click-hack.org> (raw)
In-Reply-To: <2238179.hbnctTCPtY@eltrolinux48.eltroad.eltropuls>

On Thu, Apr 30, 2015 at 05:12:09PM +0200, Marc Strämke wrote:
> Am Donnerstag, 30. April 2015, 17:03:54 schrieb Marc Strämke:
> > Am Donnerstag, 30. April 2015, 16:53:52 schrieb Gilles Chanteperdrix:
> > > Is CONFIG_CC_STACKPROTECTOR enabled when you enable the *_REGULAR
> > > option ? The first thing to check is that the xnarch_switch_to
> > 
> > I can confirm that CONFIG_CC_STACKPROTECTOR gets set together with the
> > *_REGULAR option. I am inspecting the disassembly now...
> 
> I compared the disassembly of xnarch_switch_to with and without  the option 
> set. That does like fine to me (even though i do not fully understand each 
> line..). The CANARY_SWITCH gets inserted correctly in to the do_switch_threads 
> inline function.

I guess the next step is to look at what this *_REGULAR option adds
to CONFIG_CC_STACKPROTECTOR in the kernel code, and see if it does
not add something more to switch_to that we should add to
xnarch_switch_to.

-- 
					    Gilles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20150430/fd9e7886/attachment.sig>

  reply	other threads:[~2015-04-30 15:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30 14:33 [Xenomai] Hang/Reboot when using CONFIG_CC_STACKPROTECTOR_REGULAR Marc Strämke
2015-04-30 14:41 ` Gilles Chanteperdrix
2015-04-30 14:44   ` Marc Strämke
2015-04-30 14:53     ` Gilles Chanteperdrix
2015-04-30 15:03       ` Marc Strämke
2015-04-30 15:12         ` Marc Strämke
2015-04-30 15:14           ` Gilles Chanteperdrix [this message]
2015-04-30 15:17             ` Marc Strämke
2015-05-01  8:15               ` Jan Kiszka
2015-05-02 15:31                 ` Marc Strämke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150430151442.GW1993@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=marc.straemke@eltropuls.de \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.