ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey V. Vissarionov" <gremlin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] executable STACK in Cyrus-IMAP
Date: Fri, 10 Jul 2020 07:57:47 +0300
Message-ID: <20200710045747.GK31002@altlinux.org> (raw)
In-Reply-To: <20200709211427.GB27688@altlinux.org>

On 2020-07-10 00:14:28 +0300, Dmitry V. Levin wrote:

 >>>> Это понятно. Так где копать-то? Откуда executable stack в принципе
 >>>> берётся?
 >>> Нашёлся более универсальный хак: CFLAGS="-Wl,-z,noexecstack". Но
 >>> понимания, откуда этот executable STACK взялся, так и не возникло.
 >> Обычно это ассемблер без соответствующей разметки.
 > Нет, это был не ассемблер:
 > lib/cyr_qsort_r.c:9:9: warning: trampoline generated
 > for nested function 'compar_func' [-Wtrampolines]

Еще один серьезный аргумент против вложенных функций...


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net


  reply	other threads:[~2020-07-10  4:57 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         ` [devel] executable STACK in Cyrus-IMAP Dmitry V. Levin
2020-07-10  4:57           ` Alexey V. Vissarionov [this message]
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=20200710045747.GK31002@altlinux.org \
    --to=gremlin@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