From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] PIE Executables
Date: Thu, 22 May 2008 01:06:54 +0300
Message-ID: <200805220106.54871.ledest@gmail.com> (raw)
In-Reply-To: <20080521214917.GD32473@wo.int.altlinux.org>
Thursday, 22 May 2008 00:49:17 Dmitry V. Levin написав:
> On Wed, May 21, 2008 at 11:44:39PM +0300, Led wrote:
> > Wednesday, 21 May 2008 22:21:33 Kirill A. Shutemov написав:
> > > On Wed, May 21, 2008 at 09:02:42PM +0300, Led wrote:
> > > > Забавный случай:
> > > >
> > > > $ file ~/tmp/autofs-buildroot/usr/sbin/automount
> > > > automount: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
> > > > for GNU/Linux 2.6.9, stripped
> > > >
> > > > ?
> > > > Естественно, rpmbuild (fixup-libraries) делает ему "chmod 644" :(
> > >
> > > Нет, это не естественно.
> > > shared object -- это и shared library и position independed executable.
> > > В fixup-libraries есть эвристика для отделения мух от котлет. chmod, по
> > > идее, должен делаться только для shared library.
> >
> > Нет там такой эвристики.
>
> Я эту эвристику туда поместил. Если её оттуда не убрали, то она там есть.
> Если бы её не было, то ничего бы не работало.
>
> Маловероятно, но, возможно, эвристика дала сбой?
Я ведь не придумал. Я поставил "затычки" перед fixup-libraries и после него.
До fixup-libraries - 755, после 644. Да и на консоль выводит,
что /usr/sbin/automount "чмодит" в 644. Могу полный лог сборки прикрепить,
если в рассылку пропустят. Или возьмите autofs-5.0.3 и соберите.
Мне не сложно, я могу легко оторвать -pie - потому и спроисил здесь (может у
нас rpmbuild ещё не умеет такое пропускать)
--
Led
next prev parent reply other threads:[~2008-05-21 22:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 18:02 Led
2008-05-21 18:16 ` Led
2008-05-21 18:24 ` Andrey Rahmatullin
2008-05-21 19:21 ` Kirill A. Shutemov
2008-05-21 20:44 ` Led
2008-05-21 21:49 ` Dmitry V. Levin
2008-05-21 22:06 ` Led [this message]
2008-05-21 22:34 ` Led
2008-05-21 23:41 ` Dmitry V. Levin
2008-05-22 0:04 ` Led
2008-05-22 5:02 ` Kirill A. Shutemov
2008-05-22 6:50 ` Led
2008-05-22 7:14 ` Kirill A. Shutemov
2008-05-22 8:15 ` [devel] [JT] " Andrey Rahmatullin
2008-05-30 22:53 ` [devel] " Dmitry V. Levin
2008-05-31 8:54 ` Kirill A. Shutemov
2008-05-31 10:47 ` Dmitry V. Levin
2008-05-30 22:47 ` Dmitry V. Levin
2008-05-30 23:00 ` Led
2008-05-30 23:05 ` Dmitry V. Levin
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=200805220106.54871.ledest@gmail.com \
--to=ledest@gmail.com \
--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