Mailinglist Archive: opensuse-factory (368 mails)
| < Previous | Next > |
Re: [opensuse-factory] please fix non PIE setuid binaries
- From: Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>
- Date: Mon, 23 Jan 2012 11:54:33 -0300
- Message-id: <4F1D74A9.8070606@opensuse.org>
On 23/01/12 11:53, Frederic Crozat wrote:
No, -fpie or -fPIE in CFLAGS and -pie in LDFLAGS
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
Le lundi 23 janvier 2012 à 15:45 +0100, Vincent Untz a écrit :
Le lundi 23 janvier 2012, à 14:54 +0100, Ludwig Nussel a écrit :
Hi,
The following packages in Factory have setuid binaries that are not
compiled with position independent code according to rpmlint. I'd
like to make the check (non-position-independent-executable ) fatal
on March 1st. I'll also file bugs for the individual packages.
What's the right way to fix this? I was hoping there'd be a ./configure
option for this, but I don't see one...
Usually, compilation should be done by adding -fPIC to CFLAGS.
libtool handles this automatically. For other compilation environment,
try adding -fPIC to CFLAGS or CXXFLAGS.
No, -fpie or -fPIE in CFLAGS and -pie in LDFLAGS
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
| < Previous | Next > |