ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] executable STACK in Cyrus-IMAP
Date: Fri, 10 Jul 2020 00:14:28 +0300
Message-ID: <20200709211427.GB27688@altlinux.org> (raw)
In-Reply-To: <20200702094731.GB5047@altlinux.org>

On Thu, Jul 02, 2020 at 12:47:32PM +0300, Dmitry V. Levin wrote:
> On Thu, Jul 02, 2020 at 01:45:55PM +0400, Sergey Afonin wrote:
> > On Thursday 02 July 2020, Sergey Y. Afonin wrote:
> > 
> > > > Это явно хак, и я подозреваю, что даже для хака есть другой
> > > > инструмент, кроме prelink.
> > 
> > > Это понятно. Так где копать-то? Откуда executable stack в принципе
> > > берётся? 
> >  
> > Нашёлся более универсальный хак: CFLAGS="-Wl,-z,noexecstack". Но
> > понимания, откуда этот executable STACK взялся, так и не возникло.
> 
> Обычно это ассемблер без соответствующей разметки.

Нет, это был не ассемблер:

lib/cyr_qsort_r.c:9:9: warning: trampoline generated for nested function 'compar_func' [-Wtrampolines]


-- 
ldv


  reply	other threads:[~2020-07-09 21:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01  6:09 [devel] Q: prelink, архитектуры, executable STACK, Cyrus-IMAP Sergey Y. Afonin
2020-07-01 17:51 ` Vitaly Lipatov
2020-07-01 23:43   ` Sergey Y. Afonin
2020-07-02  9:45     ` Sergey Afonin
2020-07-02  9:47       ` Dmitry V. Levin
2020-07-09 21:14         ` Dmitry V. Levin [this message]
2020-07-10  4:57           ` [devel] executable STACK in Cyrus-IMAP Alexey V. Vissarionov
2020-07-10  8:18           ` Sergey Afonin

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=20200709211427.GB27688@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git